Skip to content

Code Minifier

Minify HTML, CSS, JS and JSON safely, with sizes before and after gzip.

Ready In your browser

Result

Paste code to start

Language —
Saved —
Before
—
After
—
Gzipped
—
  1. Code
    —
    Pasted or opened
  2. Language
    —
    Detected or chosen
  3. Parsed
    —
    Read by the minifier
  4. Minified
    —
    With your options

Minified code

Options

Changes apply at once.

Output

Press Minify to see the result.

Where this tool works

Runs in your browser.What you type or add stays on your device. Nothing is sent to this site.

More Generators