Input code
0 bytes
HTML/CSS/JS Minify & Unminify
Minify or beautify HTML, CSS and JavaScript directly in your browser. Your source code is not uploaded to the server.
Output
0 bytes
Ready
Paste code to begin
Processing happens locally in your browser. Input is limited to 2 MB.
Language—
Operation—
Input—
Output—
Browser-localYour source stays on your device. Only non-content usage metadata such as byte counts and processing time may be recorded.
Automatic language detectionConvertThings detects HTML, CSS or JavaScript before processing and warns you before a likely language mismatch can corrupt the result.
Conservative transformsQuoted strings and template literals are preserved. Comment removal is optional so source annotations can be retained when needed.
Minify HTML
Remove HTML comments and unnecessary whitespace between tags while preserving text content and raw-text elements.
Minify CSS
Collapse insignificant whitespace and comments around CSS punctuation while keeping quoted values intact.
Minify JavaScript
Compact common JavaScript safely with string-, template- and comment-aware processing, or beautify it for easier reading.
