{"uid":"cap_7fK3Qjo6Lh1K_ji7OzyB0","slug":"html-to-markdown-converter-8d7d3159","name":"HTML to Markdown Converter","description":"Convert HTML to clean Markdown — turn scraped web pages into LLM-ready text. Handles headings, lists, tables, links, code blocks. Deterministic, no LLM.","url":"https://toolbelt402.tpoborne.workers.dev/html/to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"HTML to convert (max 256 KB)"},"options":{"type":"object","properties":{"bulletMarker":{"enum":["-","*"],"type":"string"},"linkReferences":{"type":"boolean"}}}}},"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_eAAQB-0pM0IiLfqfNZK1C","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 raw HTML into clean, LLM-ready Markdown, preserving headings, lists, tables, links, and code blocks deterministically without an LLM.","exampleAgentPrompt":"Take this raw HTML I scraped from a product page and convert it to clean Markdown — I need it formatted with proper headings, lists, tables, and links so I can feed it into an LLM without all the HTML noise.","exampleUseCases":[{"title":"LLM context from scraped pages","prompt":"I scraped this article HTML from a news site — can you convert it to clean Markdown so I can pass it as context to my language model without the HTML tags getting in the way?"},{"title":"Documentation site to readable Markdown","prompt":"Here's the raw HTML from a documentation page I fetched. Turn it into well-structured Markdown, keeping the headings, code blocks, and any tables intact."},{"title":"Web research pipeline cleanup","prompt":"I have a bunch of HTML from web search results and I need each one converted to clean Markdown text — strip all the tags and give me something readable with proper lists and links preserved."}],"resultDescription":"A clean Markdown string converted from the input HTML, with headings, bullet lists, numbered lists, tables, hyperlinks, and code blocks faithfully represented using standard Markdown syntax. The output is deterministic and contains no LLM-generated content.","failureModes":["Malformed or empty HTML input returns an error","Extremely large HTML payloads may be rejected or time out","Deeply nested or non-standard HTML structures may produce imperfect Markdown","Binary or non-HTML content passed as input will fail parsing"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, zero-hallucination conversion of HTML to Markdown — especially for LLM context preparation, web scraping pipelines, or documentation processing. Prefer it over LLM-based cleaning when consistency and reproducibility matter, or when cost per call must be kept low and no semantic rewriting is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:44.030Z","isFirstParty":false}