HTML to Markdown
Convert HTML source into Markdown in your browser. Input is treated as text and is not executed.
Convert Markdown to HTML source in your browser. Raw HTML is escaped and not executed.
A Markdown to HTML converter turns headings, lists, links and code into HTML source locally, without executing the input.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Turn common Markdown into HTML source: headings, emphasis, links, lists, code fences, and simple tables. Writers moving a README into a page use it when they need the tags, not a rendered view. Raw HTML in the Markdown is escaped, and the reverse direction is the HTML to Markdown converter.
# Notes becomes <h1>Notes</h1>. **bold** and *italic* become strong and em. Links keep only http, https, mailto, / and # targets.
Triple backticks wrap a pre/code block. The contents are escaped so <script> in a fence is text, not a script.
The converter supports common Markdown: headings, paragraphs, emphasis, links, lists, quotes, inline code, fenced blocks, horizontal rules and simple tables. Raw HTML in the Markdown is escaped. javascript: links are dropped. There is no HTML preview on the page.
Headings, emphasis, links, images, lists, quotes, code fences, rules, and simple tables are converted. Raw HTML in the Markdown is escaped, and a javascript: link is dropped. There is no rendered preview. More than 400,000 characters is refused.
See the disclaimer for what these tools do not cover.
Convert HTML source into Markdown in your browser. Input is treated as text and is not executed.
Encode or decode HTML entities in your browser. Input is treated as text, not executed.
Minify HTML in your browser with a conservative pass that keeps pre, textarea, script and style content.
Turn plain text into a multi-page PDF in your browser, with wrapping, margins and optional page numbers.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Guide
JSON is a text format for objects and arrays. See how to read it, why it fails to parse, and how to format it in the browser.
Read guideGuide
Replace <, >, &, and quotes with entities so markup is shown as text, or turn those entities back into characters.
Read guideOutput is HTML source as text. It is not executed on this page.
Raw HTML inside Markdown is escaped, not run. Links are limited to http, https, mailto, in-page hashes and site paths. There is no live HTML preview, so untrusted Markdown cannot execute scripts here.
Markdown is converted to HTML source in this tab. The text is not posted to a server.