{"uid":"cap_8oSMHLvUnIciieYamLGzL","slug":"chainverdict-xyz-html-to-markdown-converter-2488d619","name":"chainverdict.xyz HTML-to-Markdown Converter","description":"Convert an HTML document to clean Markdown for LLM ingestion: strips scripts, styles and navigation chrome, preserves headings, lists, tables and links. Deterministic for identical input.","url":"https://chainverdict.xyz/v1/doc/html-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","required":["html"],"properties":{"html":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_zcuTRYQBYHT5CzRsRItfa","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 an HTML document to clean, LLM-ready Markdown by stripping scripts, styles, and navigation chrome while preserving headings, lists, tables, and links.","exampleAgentPrompt":"Convert this HTML document to clean Markdown so I can feed it to an LLM — strip out all the scripts, styles, and nav menus but keep the headings, lists, tables, and links intact.","exampleUseCases":[{"title":"Preprocessing scraped web pages for RAG","prompt":"I just scraped a bunch of HTML pages from a documentation site. Can you convert this HTML to clean markdown so I can chunk it and load it into my vector database for RAG?"},{"title":"Cleaning newsletter HTML for summarization","prompt":"I have the raw HTML of an email newsletter. Strip out all the tracking scripts, header images, and footer nav, and give me clean markdown so I can summarize the actual content."},{"title":"Preparing HTML articles for LLM analysis","prompt":"Take this HTML article I pulled from a news site and convert it to clean markdown — remove all the ads and sidebars — so I can run sentiment analysis on just the article body."}],"resultDescription":"A clean Markdown string representation of the input HTML, with all scripts, stylesheets, and navigation chrome removed, while headings, lists, tables, and hyperlinks are preserved. Output is deterministic for identical input.","failureModes":["Invalid or malformed HTML may produce unexpected Markdown output","Empty or whitespace-only HTML body may return empty Markdown","Extremely large HTML documents may hit payload size limits","Missing required 'input' field returns a validation error","Incorrect bodyType or method returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, cheap ($0.002/call), server-side HTML-to-Markdown conversion that reliably strips boilerplate (scripts, styles, nav) while preserving semantic structure. Prefer it over client-side parsing when you want consistent, reproducible output suitable for LLM ingestion pipelines, RAG systems, or document analysis workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:42:54.054Z","isFirstParty":false}