No. All minification and beautification runs entirely in your browser. Your code is never sent to, stored on, or logged by any server.
Minify JS and CSS instantly and watch the exact bytes you save — or beautify minified code back into readable form. Everything happens locally in your browser, so your production source code is never uploaded to any server.
Choose the language — the right minification rules apply automatically.
Paste the source you want to shrink, or a minified file you want to beautify.
One click — output appears alongside with exact byte savings.
Copy the output straight into your build or download-ready bundle.
Validate, format and minify JSON — or convert it to CSV and XML — with our JSON Formatter & Validator.
Open JSON Formatter →| Transform | Applies to |
|---|---|
| Comment removal | CSS & JS — all /* */ and // comments are stripped (string literals are preserved). |
| Whitespace collapse | CSS & JS — indentation, line breaks, and padding around punctuation are removed. |
| Trailing semicolons | CSS — the last ; before } is dropped. |
| Zero units | CSS — 0px, 0em etc. become 0. |
| Color shortening | CSS — #aabbcc becomes #abc; hex colors are lowercased. |
| Variable renaming | Not performed. Renaming local variables (like Terser does) requires a full JS parser — this tool's conservative JS mode keeps identifiers untouched, guaranteeing your code runs identically. |
| Dead code elimination | Not performed. For aggressive JS minification in production builds, use a build step (Terser/esbuild). This tool is for quick, private, browser-side shrinking. |
Aggressive JS minification (joining all lines, renaming variables) can silently break code that relies on automatic semicolon insertion. This tool strips comments, indentation, and blank lines while keeping every statement on its own line — typically saving 20–40% on commented, indented source with zero risk of changing behavior.
Ship minified CSS always. For JS, minify anything served to browsers, but keep the readable original in version control. Beautify mode is ideal for inspecting minified third-party scripts before you trust them.
No. All minification and beautification runs entirely in your browser. Your code is never sent to, stored on, or logged by any server.
CSS typically shrinks 25–40%; JavaScript 20–40% depending on comments and indentation. The tool shows exact before/after byte counts and the percentage saved.
No — that requires a full parser and can change behavior in edge cases. This tool uses a safe, conservative transform that never touches identifiers or statement structure, so the output is guaranteed to run identically.