HTML to Markdown
Convert HTML source into Markdown in your browser. Input is treated as text and is not executed.
Minify HTML in your browser with a conservative pass that keeps pre, textarea, script and style content.
An HTML minifier removes comments and extra whitespace from HTML to reduce file size.
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.
Remove HTML comments and collapse spaces between tags. Use it when page source should be smaller before you publish. Text inside pre, textarea, script, and style is left alone, and more than 400,000 characters is refused.
Comments are removed and extra whitespace between tags is collapsed.
Content inside pre, textarea, script and style is left alone so formatting there is not destroyed.
This is a conservative minifier. It strips HTML comments and collapses whitespace outside preserved elements. Quoted attributes are kept. It does not rewrite the DOM, and it does not claim that every HTML document will behave identically after minification—especially pages that depend on formatting outside pre/textarea/script/style.
Comments are removed and spaces between tags are collapsed. Text inside pre, textarea, script, and style is left as it was. Markup that depends on spaces anywhere else can still change. 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.
Convert Markdown to HTML source in your browser. Raw HTML is escaped and not executed.
Minify CSS in your browser while preserving strings, URLs, comments and important spacing.
Encode or decode HTML entities in your browser. Input is treated as text, not executed.
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 guide