Ready

Code Minifier & Pretty Printer

Minify or pretty-print HTML, CSS, or JS. Lightweight formatting that runs in your browser.

Presets
Loading...
Tip: This reads your clipboard only when you click.

Note: Lightweight formatter; may alter complex code. Consider full minifiers for production assets.

Output

Converted output will appear here.

Loading...

Snippet library

Saved locally in your browser

No snippets saved yet.

How to use

  1. Choose language (HTML/CSS/JS) and mode (Minify or Pretty), or pick a preset.
  2. Paste code or load a sample, adjust options (strip comments, normalize whitespace, indent style).
  3. Convert, then copy, share, or download the output; review the before/after + gzip stats.
  4. Enable batch mode for multiple files and download a ZIP.

FAQ & privacy

Local only? Yes. Everything runs in your browser; code is not uploaded.

Production use? This is a lightweight formatter; for production bundles, prefer full minifiers (terser/clean-css).

Large files? Inputs over ~200k chars show a warning; results may differ on complex code.