{"uid":"cap_RPodJXeUbt8TXE-0lfIiW","slug":"machine-markdown-html-to-markdown-converter-bbf297a7","name":"Machine Markdown HTML-to-Markdown Converter","description":"Use when an agent already has raw HTML and needs readable article content converted into compact Markdown for an LLM, search index, or archive.","url":"https://machine-markdown.victoriousbush-c7c267a1.westus2.azurecontainerapps.io/html-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"HTML document or fragment to clean and convert to Markdown. Maximum request body: 1 MiB."},"sourceUrl":{"type":"string","description":"Optional HTTP(S) source URL used only as document context; the service does not fetch it."}}},"responseSchema":null,"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_xyUsyjMuW49VFoeNuSiQH","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 raw HTML documents or fragments into clean, compact Markdown suitable for LLM consumption, search indexing, or archiving.","exampleAgentPrompt":"I've got the raw HTML from a news article — can you convert it into clean, compact Markdown so I can feed it to my LLM? Here's the HTML: <html>...</html>","exampleUseCases":[{"title":"LLM summarization pipeline","prompt":"I've scraped the HTML of this blog post and need it converted to clean Markdown before I pass it to my summarizer — here's the full HTML content."},{"title":"Search index ingestion","prompt":"Take this raw HTML page content and convert it to compact Markdown so I can index the readable article text in our search engine."},{"title":"Web archive preprocessing","prompt":"I'm archiving articles from our old CMS — can you convert this raw HTML document into Markdown so it's stored in a lightweight, readable format?"}],"resultDescription":"A Markdown-formatted string containing the cleaned, readable content extracted from the submitted HTML, with navigation, scripts, ads, and other non-article clutter stripped away, ready for LLM ingestion, indexing, or storage.","failureModes":["HTML payload exceeds 1 MiB limit — request rejected","Malformed or unparseable HTML — may return empty or degraded Markdown","Completely non-article HTML (e.g. login walls, blank pages) — output may be minimal or empty","Network timeout for very large documents","Invalid request body format — missing required 'html' field"],"whenToPreferThis":"Choose this endpoint when an agent already holds raw HTML and needs a fast, cheap ($0.001/call) server-side conversion to Markdown without fetching any URLs itself. It is ideal for pipeline steps where upstream scraping has already occurred and clean, LLM-ready text is needed immediately. Prefer this over client-side parsing libraries when running in a serverless or constrained environment, or when consistent cross-platform Markdown output is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:43.527Z","isFirstParty":false}