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.
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. Account features and usage 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.
Tool inputs are processed in your browser, not uploaded to a Baabaa Sheep conversion server.
Text input limit: 1,000,000 characters.