{"uid":"cap_s4f0wMBxk_bbBeeU3BKjE","slug":"boring-api-convert-html-to-text-372862d6","name":"boring-api · convert: HTML to Text","description":"Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.","url":"https://convert.boring-api.com/html-to-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kzIh_Ej09_oB_O1U_3by3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML content to plain text by stripping markup and rendering readable text output","exampleAgentPrompt":"Strip all the HTML tags from this content and give me just the plain text: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>'","exampleUseCases":null,"resultDescription":"A JSON object containing the plain text extracted from the provided HTML, with all markup tags removed and readable text preserved","failureModes":["Invalid or malformed HTML may produce garbled or empty text output","Missing 'content' field in request body results in an error","Extremely large HTML documents may time out or exceed payload limits","Payment not included or insufficient USDC results in 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap ($0.001 USDC) API call to strip HTML markup from a string and get clean plain text back — ideal for preprocessing web-scraped content, cleaning email HTML, or extracting readable text before feeding it to an LLM","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:11.676Z","isFirstParty":false}