MINCode Minifier
Minify JavaScript, CSS, and HTML to reduce file size
Code Minifier Guide
Code Minifier shrinks JavaScript, CSS, and HTML by stripping whitespace, comments, and unnecessary characters. Essential for production deployments to improve load times and reduce bandwidth — all processing happens locally in your browser, so even proprietary code stays private.
Supported Languages
- JavaScript: Terser-powered with compression + mangling, up to 80% smaller
- CSS: Removes comments, collapses whitespace, trims around delimiters
- HTML: Strips comments and whitespace while preserving
pre,textarea,script,styleblocks
How to Use
- Pick JavaScript, CSS, or HTML from the dropdown.
- Paste your source code into the left input panel.
- Click Minify to see the compressed output on the right.
- Review the savings percentage, then copy or download the result.
Use Cases
- Final JS/CSS compression before deploying a static site
- Inlining minified HTML in email templates
- Shrinking embeddable widget snippets
- Optimizing ad creatives and landing pages
💡 Tip: Terser is a heavyweight library and the first run may pause briefly while it loads. Subsequent runs are instant.
🔗Related Tools💻 Regex / Code
CRN
Cron Expression
Parse and explain cron expressions
±
Diff Compare
Compare two texts and highlight differences
MD
Markdown Preview
Preview Markdown with live rendering
RX?
Regex Cheatsheet
Searchable regex reference: metacharacters, quantifiers, groups, flags, and common patterns (email, URL, phone, IP, UUID)