JS / CSS Minifier

Minify and beautify JavaScript and CSS instantly. Remove comments, whitespace, and dead code. Measure savings — 100% browser-based.

Ctrl/⌘ + , to toggle options
Saved
JS Input

0 bytes

Minified Output

◆ What it does

Compress JavaScript and CSS files to reduce load time. Alternatively, beautify minified code for debugging.

▸ How to use

  • Choose JS or CSS mode.
  • Paste your code into the input.
  • Select Minify or Beautify.
  • Click Process (or Ctrl+Enter) and copy the result.

▸ Why use this

  • Minified assets can be 30-70% smaller, improving page speed.
  • Beautify lets you read and debug third-party minified code.
  • Client-side — your code stays private.