Should I minify before or after editing markup?
Minify a copy after editing. Keep the readable source and preview the result, especially when the layout depends on whitespace between inline elements.
Runs in your browser. No file uploads for processing. Privacy details
Minify HTML and CSS snippets quickly in your browser.
Loading tool...
Minify HTML and CSS snippets quickly in your browser.
Add the requested input or choose the options you want to use.
Verify results in the environment that will consume them.
The tool processes inputs in your browser. File processing and site analytics are separate.
<div> Hello </div>
<div> Hello </div>
Minify a copy after editing. Keep the readable source and preview the result, especially when the layout depends on whitespace between inline elements.
Your browser processes your inputs on your device.
Text input limit: 1,000,000 characters.