{"uid":"cap_Dfdis4rUVFmT5_ch_EroI","slug":"html-to-markdown-converter-9e42904a","name":"HTML to Markdown Converter","description":"Convert raw HTML into clean Markdown (scripts and styles stripped).","url":"https://agent-data-toolkit.onrender.com/markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["method"],"properties":{"body":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"string, raw HTML (required)"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","required":["ok","markdown"],"properties":{"ok":{"type":"boolean"},"markdown":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IjOZtJleYIRflwdvwpUeG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML into clean Markdown by stripping scripts and styles, leaving readable prose structure.","exampleAgentPrompt":"Can you convert this raw HTML into clean Markdown? Strip out all the scripts and styles and give me just the readable content: <html><body><h1>Hello</h1><p>World</p><script>alert('x')</script></body></html>","exampleUseCases":[{"title":"Clean scraped web content for LLM processing","prompt":"I just scraped a bunch of product pages from a website. Can you convert all that messy HTML into clean Markdown so I can feed it to an LLM without the JavaScript and styling getting in the way?"},{"title":"Convert email newsletters to readable text","prompt":"I've got an email in HTML format that's full of inline styles and tracking scripts. Can you strip all that out and turn it into clean Markdown so I can archive it as readable text?"},{"title":"Extract article content from web pages","prompt":"I'm building a research tool that archives web articles. Can you take the raw HTML from these news pages and convert them to Markdown, removing all the ads, scripts, and styling so I just get the article text?"}],"resultDescription":"A clean Markdown string derived from the input HTML, with all script tags, style tags, and their contents removed, and HTML structure converted to standard Markdown syntax (headings, bold, lists, links, etc.).","failureModes":["Malformed or empty HTML body returns an error or empty string","Extremely large HTML payloads may time out on the Render free tier","Non-HTML content passed as input may produce garbled Markdown","Missing or invalid Content-Type header may cause a 400 response","Payment not included or invalid x402 header returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.002 USDC) server-side HTML-to-Markdown conversion that explicitly strips scripts and styles — ideal for cleaning scraped web pages before feeding content to an LLM or storing readable text. Prefer this over client-side parsing when you need consistency across environments or when running in a headless/server context without DOM access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:46.533Z","isFirstParty":false}