Multitool

Minify / Beautify

Compress or format HTML, CSS, JS and SQL.

About the Minify / Beautify

Compress or reformat HTML, CSS, JavaScript and SQL in one place. Beautify adds line breaks and indentation so minified code can be read and diffed. Minify removes comments and unneeded whitespace to cut file size. For SQL, beautify also starts major clauses like SELECT, FROM and WHERE on their own lines.

Tip: This is a whitespace and comment minifier, not a full compiler, so it will not rename variables or remove dead code. For production JavaScript bundles, use your build tool, and use this for quick one-off snippets.

Minify / Beautify is free, needs no sign-up and runs entirely in your browser, so what you paste never leaves your device.

How to use it

  1. Paste or type your input, or press Ctrl+V anywhere on the page.
  2. Adjust the options. The result updates instantly.
  3. Copy the output with the Copy button or Ctrl+C.

Topics

  • minify
  • beautify
  • html
  • css
  • js
  • sql

Frequently asked questions

Is the Minify / Beautify free to use?

Yes. The Minify / Beautify is completely free, needs no account and has no usage limits.

Is my data uploaded when I use the Minify / Beautify?

No. Everything is processed locally in your browser, so what you paste never leaves your device. The last 3 snippets are kept on this device only and you can clear them with one click.

How do I use the Minify / Beautify?

Paste or type your input, or press Ctrl+V anywhere on the page. Results update instantly, then copy them with the Copy button or Ctrl+C.

More developer tools