{"uid":"cap_s5Z27ul-OvnBwJOhNALj0","slug":"convert-bip-rep-com-html-to-markdown-85968b59","name":"convert.bip-rep.com HTML to Markdown","description":"Convert between common document and data formats in one API for content and data agents: Markdown to HTML, HTML to Markdown, HTML to clean plain text (scripts/styles stripped, entities decoded), CSV to JSON (with or without header row), JSON array to CSV, YAML to JSON, and JSON to YAML. Pure in-process conversion with no external calls and no shell access.","url":"https://convert.bip-rep.com/html2markdown","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":"object","required":["html"],"properties":{"html":{"type":"string","description":"HTML source to convert to Markdown"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"markdown":{"type":"string"},"latency_ms":{"type":"integer"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"html":"<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph with <em>formatting</em>.</p><ul><li>Item 1</li><li>Item 2</li></ul>"},"type":"http","method":"POST","bodyType":"json"}},"response":{"markdown":"# Hello World\n\nThis is a **test** paragraph with _formatting_.\n\n*   Item 1\n*   Item 2","latency_ms":24}},"exampleRequest":{"html":"<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph with <em>formatting</em>.</p><ul><li>Item 1</li><li>Item 2</li></ul>"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bDVW7UNA48O0nbFNOkffw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HTML string into clean Markdown format, preserving headings, bold, italic, lists, and other semantic structure.","exampleAgentPrompt":"Can you convert this HTML snippet into Markdown for me? The HTML is: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p><ul><li>Item 1</li><li>Item 2</li></ul>'","exampleUseCases":[{"title":"Blog post HTML to Markdown migration","prompt":"I have an HTML article I exported from WordPress and I need it as clean Markdown so I can put it in my GitHub repo — here's the HTML: '<h2>Getting Started</h2><p>Follow these <strong>three steps</strong> to set up your environment.</p><ol><li>Install Node</li><li>Clone the repo</li><li>Run npm install</li></ol>'"},{"title":"Email HTML to Markdown for agent notes","prompt":"Convert this HTML email body to Markdown so I can store it as a plain-text note: '<p>Hi team,</p><p>Please review the <em>attached proposal</em> by <strong>Friday</strong>.</p><p>Thanks,<br>Alice</p>'"},{"title":"CMS content to Markdown for documentation","prompt":"I'm pulling content from a CMS that gives me HTML and I need it in Markdown format for our docs site — please convert this: '<h1>API Reference</h1><p>Use the <code>GET /users</code> endpoint to retrieve user data.</p><ul><li>Requires auth token</li><li>Returns JSON array</li></ul>'"}],"resultDescription":"Returns a JSON object with a 'markdown' field containing the converted Markdown string, with HTML headings mapped to # syntax, bold/italic tags mapped to ** and _ delimiters, and lists mapped to Markdown list syntax. Response is typically delivered in under 50ms.","failureModes":["Malformed or empty HTML body may return an error or empty Markdown string","Extremely complex nested HTML tables may not convert perfectly to Markdown","Missing 'html' field in request body will likely result in a 400-level error","Very large HTML payloads may increase latency or hit size limits","HTML with unsupported or proprietary tag types may be silently dropped"],"whenToPreferThis":"Choose this endpoint when you need fast, in-process HTML-to-Markdown conversion without spinning up a headless browser or calling an LLM. It is ideal for pipelines that ingest HTML from web scraping, CMS exports, or email parsing and need clean Markdown for downstream storage, display, or LLM context injection. Prefer it over LLM-based conversion for deterministic, low-latency, cost-effective bulk transformations where semantic fidelity to standard HTML elements is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:41:17.879Z","isFirstParty":false}