{"uid":"cap_k0qipqQm1ktgN1nOjqi9c","slug":"toolshed-html-to-markdown-converter-ea51f0d2","name":"Toolshed HTML to Markdown Converter","description":"HTML to Markdown conversion","url":"https://toolshed.lemon-agent.dev/convert/html-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"string","maxLength":262144,"description":"the raw HTML file as the request body, up to 256 KB"},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"bodyType":{"type":"string","const":"text"}},"additionalProperties":false},"output":{"type":"object","required":["type","format"],"properties":{"type":{"type":"string","const":"text"},"format":{"type":"string","const":"text/markdown","description":"the converted Markdown file as the response body (text/markdown)"},"example":{"type":"string","description":"the sample request body above, converted — what a the converted Markdown file as the response body (text/markdown) looks like"}},"additionalProperties":false}}},"responseSchema":{"type":"text","format":"text/markdown","example":"# Title\n\nSome **bold** text."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_h9_7tlo2NIa7mpmOvRVxX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","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 or snippet into clean Markdown text via a simple HTTP POST call, billed per-use in USDC with no account required.","exampleAgentPrompt":"Convert this HTML snippet into clean Markdown for me: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph with a <a href=\"https://example.com\">link</a>.</p>'","exampleUseCases":[{"title":"Scrape-to-LLM pipeline cleanup","prompt":"I just scraped this HTML from a news article and need it converted to Markdown so I can pass it to the language model without all the noise: '<article><h2>Breaking News</h2><p>Today, officials announced...</p></article>'"},{"title":"HTML email to readable notes","prompt":"Take this HTML email body and turn it into plain Markdown so I can store it in my notes: '<div><p>Hi Sarah,</p><p>Please review the <strong>attached report</strong> by <em>Friday</em>.</p></div>'"},{"title":"CMS content migration","prompt":"I'm migrating content from a CMS — can you convert this HTML page content to Markdown so I can drop it into my new static site? Here's the HTML: '<h1>About Us</h1><ul><li>Founded in 2010</li><li>Team of 50</li></ul>'"}],"resultDescription":"A plain-text Markdown string equivalent of the submitted HTML. For example, an <h1> tag becomes a # heading, <strong> becomes bold (**text**), and <a href> links become [text](url). The response is returned as text/markdown content type.","failureModes":["Malformed or empty HTML input may result in an error or empty Markdown output","Very large HTML documents may time out or exceed payload limits","HTML with complex CSS-based layout will lose styling information as Markdown is purely semantic","Inline SVG or canvas elements will be stripped or not representable in Markdown","Payment failure or insufficient USDC balance will result in a 402 response blocking the call"],"whenToPreferThis":"Choose this endpoint when you need a fast, no-setup, per-call HTML-to-Markdown conversion without managing credentials or subscriptions. Ideal for agent pipelines that occasionally need to normalize scraped HTML into LLM-friendly Markdown, especially when volume is unpredictable and a pay-per-use micro-payment model (USDC via x402) is preferable to a monthly API key subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:38:46.997Z","isFirstParty":false}