{"uid":"cap_oKVbodCKLHEzd04ehZHVf","slug":"uos-genesis-html-to-markdown-converter-0d8944b0","name":"UOS Genesis HTML to Markdown Converter","description":"UOS Genesis machine utility: html_to_markdown","url":"https://genesis.palsus2023.workers.dev/v1/html_to_markdown","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"HTML document or fragment to transform into Markdown."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KAD1g8Tc_huc_M-HKmOhx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML content into clean, readable Markdown format","exampleAgentPrompt":"Take this HTML I grabbed from the page — `<h1>Welcome</h1><p>This is a <strong>test</strong> paragraph.</p>` — and convert it to clean Markdown for me.","exampleUseCases":[{"title":"Clean scraped web content for LLM ingestion","prompt":"I scraped this HTML from a product page and need it as clean Markdown so I can feed it into my summarizer — can you convert it? Here's the HTML: `<article><h2>Product Details</h2><ul><li>Color: Red</li><li>Weight: 2kg</li></ul></article>`"},{"title":"Convert email HTML to readable notes","prompt":"This newsletter came in as raw HTML and I want to save it as Markdown in my notes. Can you convert this HTML for me: `<h1>Weekly Digest</h1><p>Top stories this week include <a href='#'>AI advances</a> and more.</p>`"},{"title":"Prepare HTML documentation as Markdown","prompt":"I have some API documentation in HTML format and I need it converted to Markdown so I can put it in our README file — here's the HTML: `<h2>Authentication</h2><p>Pass your API key in the <code>Authorization</code> header.</p><ul><li>GET /users</li><li>POST /users</li></ul>`"}],"resultDescription":"A Markdown-formatted string equivalent of the submitted HTML content, with HTML tags converted to appropriate Markdown syntax (headings, bold, links, lists, code blocks, etc.) and unnecessary markup stripped away.","failureModes":["Malformed or unparseable HTML may produce garbled or incomplete Markdown output","Deeply nested or non-standard HTML structures may not convert cleanly","Very large HTML documents may time out or be rejected","Missing or empty request body returns an error","Unsupported HTML elements may be silently dropped or passed through as raw text"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML-to-Markdown conversion without setting up a local library or managing infrastructure. Ideal for agent pipelines that scrape web content and need to normalize it into Markdown for LLM consumption, note-taking, or documentation. Prefer it over general-purpose text strippers when you want to preserve semantic structure (headings, lists, links, emphasis) rather than just extracting plain text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:58.584Z","isFirstParty":false}