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
- Find & Replace Text guide
Find text or regex matches and replace them with capture-group support.
- List Compare guide
Find shared, missing and unique entries across two lists.
- Text to Table guide
Convert delimited text or JSON into CSV, TSV, Markdown and JSON tables.
- Text Redactor guide
Mask contact details and custom terms, then review the redacted text.
Keep your original files and review the result. Found unclear instructions? Contact Team Edtoolkits.