Paste a snippet, choose HTML, CSS or JavaScript and minify it to remove comments and unnecessary whitespace. The result shows the byte difference so you can judge the saving before shipping, and beautify mode expands cramped code back into something readable. It is a whitespace-and-comment stripper for snippets, not a compiler or bundler.
🔒 Your file is processed locally in your browser whenever supported. This tool runs entirely on your device — nothing you type or upload is sent to a server, logged, or stored.
No. It removes comments and collapses whitespace only. Variable renaming, dead-code removal and bundling are jobs for a real build tool such as esbuild, SWC or webpack.
Treat the output as a snippet helper, not a build step. Whitespace-sensitive JavaScript (for example certain ASI edge cases) or template literals can change behaviour, so run your tests before shipping minified output.
Expanding code adds indentation and line breaks on purpose. The bytes-saved figure goes negative when output is larger than input.
No. Processing is entirely local in your browser.
| Platform | Supported | Offline | Local | Server | Network |
|---|---|---|---|---|---|
| WEB | Yes | Yes | Yes | No | Not required |
| PWA | Yes | Yes | Yes | No | Not required |
| ANDROID | Yes | Yes | Yes | No | Not required |
| IOS | Yes | Yes | Yes | No | Not required |
Compress JSON by removing whitespace for smaller payloads.
Pretty-print and validate JSON with clear error messages.
Test a JavaScript regular expression against sample text.
Turn titles into URL-friendly slugs for blogs and SEO.
Advertisement