← All tools
EDTOOLKITS GUIDES

Code Minifier in your browser

By Team Edtoolkits · Developer

Minify JavaScript, CSS, HTML and JSON in your browser and see the bytes saved, before and after gzip. Options for renaming variables, comments and whitespace.

Use the guide alongside the working tool.

Open Code Minifier →

Get started

Pick JavaScript, CSS, HTML or JSON and paste your code.

Adjust and explore

Choose options such as renaming variables or keeping licence comments.

Save and share

Copy or download the minified code. The size saved is shown.

Privacy and limits

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.

Ready to apply this workflow?

Try Code Minifier →

Explore a related workflow

All practical guides →

Keep your original files and review the result. Found unclear instructions? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE