{"ok":true,"data":{"tool":{"slug":"html-minifier","name":"HTML Minifier","section":"tools","category":"Developer Tools","subcategory":"General Dev Utilities","url":"/tools/general-dev-utilities/html-minifier/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Reduce HTML size by removing comments and collapsing whitespace between tags while preserving preformatted content.","input_schema":{"type":"object","properties":{"html":{"type":"string","description":"Paste HTML markup to minify."},"remove_comments":{"type":"boolean","description":"Turn remove ordinary html comments on or off."},"collapse_text_whitespace":{"type":"boolean","description":"Turn collapse text whitespace on or off."}},"required":["html"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"minified_html":{"type":"string","description":"Minified HTML produced by the calculation."},"original_bytes":{"type":"number","description":"Original size in bytes produced by the calculation."},"minified_bytes":{"type":"number","description":"Minified size in bytes produced by the calculation."},"savings_percent":{"type":"number","description":"Size reduction produced by the calculation."}},"additionalProperties":false},"examples":[{"title":"HTML Minifier example","description":null,"input":{"html":"<main>\n  <!-- Intro -->\n  <h1>UtilityPages</h1>\n  <p>Fast browser tools.</p>\n</main>","remove_comments":true,"collapse_text_whitespace":true},"output":{"minified_html":"<main><h1>UtilityPages</h1><p>Fast browser tools.</p></main>","original_bytes":84,"minified_bytes":60,"savings_percent":28.57000000000000028421709430404007434844970703125}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"d4431030f5c96a91655521d1"}