Home / Developer Tools / JavaScript Minifier

JavaScript Minifier

Minify JS with Terser - the real production minifier.

How to use

  1. Paste your JavaScript.
  2. Click minify.
  3. Copy the compressed code.

Frequently asked questions

Is it safe to minify with this?

Yes - Terser is the standard minifier used by real build tools; it understands the code, not just the text.

Related tools

  • SQL Formatter — Format SQL queries with uppercase keywords and clean indentation.
  • YAML Formatter — Re-indent and normalize YAML documents.
  • YAML Validator — Check YAML syntax - catch indentation errors fast.
  • YAML ↔ JSON — Convert YAML to JSON and JSON to YAML.
  • XML ↔ JSON — Convert XML to JSON and JSON back to XML.
  • CSV ↔ JSON — Convert CSV to a JSON array and JSON back to CSV.

See all developer tools