{"uid":"cap_497HoOUWrtZXUAHQcBDK6","slug":"fittings-html-to-markdown-converter-9e2a0626","name":"fittings HTML-to-Markdown Converter","description":"Convert an HTML document supplied in the request body to clean Markdown, stripping scripts and styles.","url":"https://fittings.sh/v1/doc/html-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"HTML source, up to 2000000 bytes of UTF-8"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iuE-o1p7azoAGmD7ODUHJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HTML document into clean Markdown by stripping scripts and styles, returning readable structured text.","exampleAgentPrompt":"Take this HTML I scraped and convert it to clean Markdown, stripping out all the scripts and styles so I can feed it to my model.","exampleUseCases":[{"title":"Clean scraped webpage for LLM input","prompt":"I just scraped this product page HTML — can you convert it to clean Markdown so I can pass it to my summarization pipeline without all the script and style noise?"},{"title":"Convert HTML newsletter to Markdown","prompt":"Here's an HTML email newsletter I received — please strip out the scripts and styles and give me the content as readable Markdown."},{"title":"Archive article as plain Markdown","prompt":"I have the raw HTML of this news article — convert it to clean Markdown so I can save it to my notes in a readable format."}],"resultDescription":"A Markdown-formatted string representing the content of the submitted HTML document, with all script tags, style tags, and their contents removed, leaving clean human-readable text and structure.","failureModes":["HTML exceeds 2,000,000 byte limit — request rejected","Malformed or non-UTF-8 input may cause parsing errors","Empty or whitespace-only HTML returns empty or minimal Markdown","Payment not included or rejected — 402 response requiring x402 payment","Extremely deeply nested HTML may produce unexpected Markdown structure"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic HTML-to-Markdown conversion with script and style stripping — especially useful for preprocessing scraped web content or HTML documents before feeding them to LLMs. Prefer it over general-purpose scraping or parsing tools when you already have the raw HTML and just need a clean Markdown representation without running a full browser or writing custom parsing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:11.434Z","isFirstParty":false}