Developer
Developer

Code Minifier

Make your code lighter for faster pages and see how many bytes you save.

Private by design

Your inputs stay on your device and are not sent to our servers. Optional usage analytics does not receive your files or tool inputs.

Preparing tool

How to use Code Minifier

  1. Pick JavaScript, CSS, HTML or JSON and paste your code.
  2. Choose options such as renaming variables or keeping licence comments.
  3. Copy or download the minified code. The size saved is shown.
Read the detailed guide →

What are the limits of Code Minifier?

Minifying changes the code's text, so test the result. Variable renaming only touches local names. JavaScript must be valid, modern syntax. Source maps are not made. Your code stays on your device.

YOUR BROWSER, YOUR CHOICE