{"uid":"cap_Y6_sQAXr6T0LE1aMVsr93","slug":"relaystation-html-to-text-converter-8e50d92d","name":"Relaystation HTML-to-Text Converter","description":"$0.0002/MB. Convert HTML to clean plain text — strip markup for LLM input or search. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/text/html-to-text","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"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":"registry","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_JvPvc8ukz0niQ42edwzZg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML into clean plain text by stripping all markup, suitable for LLM input preprocessing or search indexing.","exampleAgentPrompt":"Strip all the HTML tags from this web page markup and give me just the clean readable text — I need to feed it into an LLM without any of the angle brackets or attributes cluttering it up.","exampleUseCases":[{"title":"Preprocess scraped HTML for LLM","prompt":"I just scraped this product page HTML and I need you to strip all the markup so I can pass the clean text to my language model for summarization."},{"title":"Clean HTML emails for search index","prompt":"Take this HTML email newsletter and remove all the tags and styling so I can index just the plain text content in my search engine."},{"title":"Extract readable text from web article","prompt":"Here's the raw HTML from a news article — can you pull out just the readable text with no markup so I can run sentiment analysis on it?"}],"resultDescription":"Returns a plain text representation of the submitted HTML content, with all markup tags, attributes, and HTML entities stripped or decoded, leaving only the human-readable text content.","failureModes":["Malformed or non-HTML input may return unexpected or empty text","Very large HTML documents may be rate-limited or incur higher per-MB charges","Nested or JavaScript-rendered content is not executed — dynamic content will be absent from output","Encoding issues in unusual character sets may produce garbled output"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cost-effective way to strip HTML markup before feeding content to an LLM, search index, or NLP pipeline. It is ideal for preprocessing scraped web content, HTML emails, or CMS-generated HTML at scale, with pay-per-MB pricing that suits variable document sizes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:49:53.187Z","isFirstParty":false}