{"uid":"cap_I5CJshS15FyC9YxoKAwpw","slug":"markdown-to-html-converter-5fa28dd2","name":"Markdown to HTML Converter","description":"Markdown to HTML — Render Markdown (GitHub-flavored) to safe HTML: raw HTML is escaped and only http, https, mailto and relative links survive. $0.01 per call.","url":"https://gardenpatch.xyz/api/v1/tools/markdown-to-html/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sq3UExIcEXL7kWt9Bxfgn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders GitHub-flavored Markdown to safe, sanitized HTML with escaped raw HTML and allowlisted link schemes.","exampleAgentPrompt":"Convert this GitHub-flavored Markdown to safe HTML for me — make sure any raw HTML is escaped and only standard http, https, mailto, and relative links survive: '# Hello World\\n\\nThis is **bold** and [click here](https://example.com).'","exampleUseCases":[{"title":"Rendering user-submitted Markdown safely","prompt":"I have user-submitted Markdown content from a comment form and I need to render it as safe HTML for display on the page — make sure any embedded raw HTML is escaped and only legitimate links pass through: '## Thanks for the product!\\n\\nReally **loved** it. Check out <script>alert(1)</script> this.'"},{"title":"Publishing blog post from Markdown source","prompt":"Take this blog post written in GitHub-flavored Markdown and convert it to clean HTML I can embed in my CMS: '# My Journey with Rust\\n\\n## Getting Started\\n\\nRust is a **systems programming language** focused on safety...'"},{"title":"Generating HTML email body from Markdown","prompt":"Convert this Markdown-formatted announcement into HTML so I can use it as the body of an email: '## Product Update\\n\\n- New dashboard\\n- Faster exports\\n- Bug fixes\\n\\n[Read more](https://example.com/updates)'"}],"resultDescription":"A sanitized HTML string rendered from the provided GitHub-flavored Markdown input, with raw HTML tags escaped and only http, https, mailto, and relative URLs preserved in links.","failureModes":["Empty or missing Markdown input returns an error","Malformed request body causes a 400-level error","Payment not included or insufficient results in a payment-required response","Very large Markdown payloads may be rejected or time out"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, secure Markdown-to-HTML conversion with built-in sanitization — especially when you cannot trust the Markdown source and want to ensure no raw HTML injection or unsafe links survive. Ideal for rendering user-generated content, blog posts, or documentation snippets safely in a web context without running a full server-side Markdown library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:37:33.041Z","isFirstParty":false,"canonicalSlug":"markdown-to-html-converter-5fa28dd2"}