{"$schema":"https://toolsly.tools/schemas/tool-manifest-v1.json","generated":"2026-05-20T20:47:38.318Z","discovery":{"catalog":"https://toolsly.tools/tools.json","llmsTxt":"https://toolsly.tools/llms.txt","sitemap":"https://toolsly.tools/sitemap.xml"},"relatedTools":[{"slug":"url-parser","name":"URL Parser","url":"https://toolsly.tools/url-parser"},{"slug":"user-agent-parser","name":"User-Agent Parser","url":"https://toolsly.tools/user-agent-parser"},{"slug":"http-status-code","name":"HTTP Status Code Lookup","url":"https://toolsly.tools/http-status-code"},{"slug":"mime-type-lookup","name":"MIME Type Lookup","url":"https://toolsly.tools/mime-type-lookup"},{"slug":"subnet-calculator","name":"IPv4 Subnet Calculator","url":"https://toolsly.tools/subnet-calculator"},{"slug":"css-minifier","name":"CSS Minifier","url":"https://toolsly.tools/css-minifier"},{"slug":"css-beautifier","name":"CSS Beautifier","url":"https://toolsly.tools/css-beautifier"},{"slug":"html-beautifier","name":"HTML Beautifier","url":"https://toolsly.tools/html-beautifier"}],"kind":"utility","slug":"html-minifier","name":"HTML Minifier","description":"Minify HTML — collapse whitespace, drop comments and optionally compress inline JS and CSS.","longDescription":"Paste any HTML markup and get a tightly-packed, production-ready version. Whitespace between tags is collapsed, comments and DOCTYPE are normalised, and you can optionally minify embedded <script> and <style> blocks. Content inside <pre>, <textarea>, and <code> is preserved verbatim. Conservative — never rewrites identifiers in scripts. Runs entirely in your browser — your markup never leaves this page.","category":"dev","categoryName":"Dev","keywords":["html minifier","html minifier online","minify html","minify html online","compress html","html compressor","html optimizer","shrink html","html minify free","online html minifier","html minify tool","reduce html size"],"badge":"Minifier","url":"https://toolsly.tools/html-minifier","inputs":[{"type":"text","key":"html","label":"HTML","placeholder":"<!DOCTYPE html>\n<html>\n  <body>...</body>\n</html>","multiline":true,"monospace":true},{"type":"boolean","key":"minifyJs","label":"Minify embedded JavaScript","defaultValue":true},{"type":"boolean","key":"minifyCss","label":"Minify embedded CSS","defaultValue":true}],"outputs":[{"key":"minified","label":"Minified HTML","multiline":true},{"key":"originalSize","label":"Original size (chars)"},{"key":"minifiedSize","label":"Minified size (chars)"},{"key":"savings","label":"Saved"}],"invocation":{"webUi":"https://toolsly.tools/html-minifier","api":null,"notes":"Currently invoked via the web UI at `webUi`. Inputs are form fields; outputs are structured text values. A remote MCP/REST API is planned."}}