{"uid":"cap_C2pA-jIOSOo7NENM9PhGc","slug":"html-to-plain-text-converter-4b08bf9a","name":"HTML to Plain Text Converter","description":"HTML to plain text: strips tags, scripts and styles, decodes entities, keeps paragraph and line breaks, and returns word count. Clean up scraped or generated HTML. $0.01 per call.","url":"https://intel.rallylive.ca/data/html-to-text","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aWF_b-5OgE1b8QtBpXoSp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Strips HTML tags, scripts, and styles from HTML content, decodes entities, preserves paragraph structure, and returns clean plain text with word count.","exampleAgentPrompt":"Can you strip all the HTML tags, scripts, and styles from this HTML snippet and give me just the readable plain text with the word count?","exampleUseCases":[{"title":"Clean scraped webpage content","prompt":"I scraped this product page HTML and it's full of tags and scripts — can you strip all the HTML and give me just the plain readable text so I can analyze it?"},{"title":"Word count from HTML email template","prompt":"I've got this HTML email template and need to know the plain text content and total word count — can you convert it to clean text for me?"},{"title":"Sanitize AI-generated HTML output","prompt":"My AI just generated some HTML-formatted content but I need the plain text version without any markup or encoded entities — can you clean it up and return just the readable text?"}],"resultDescription":"Returns clean plain text with all HTML tags, script blocks, and style elements removed, HTML entities decoded, paragraph and line breaks preserved, and a word count of the resulting text.","failureModes":["Missing or empty HTML input returns an error","Malformed or invalid HTML may produce partial or garbled text","Very large HTML documents may time out or be truncated","Non-HTML input passed as HTML may return unexpected output","Payment of $0.01 USDC required per call; unpaid requests are rejected"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML stripping service that also returns word count, without spinning up a full headless browser or HTML parser locally. Ideal for processing scraped or AI-generated HTML in agent pipelines where clean readable text is required downstream.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:12:58.874Z","isFirstParty":false}