JS Beautifier / Minifier

Beautify minified or obfuscated JavaScript for debugging, or minify your script for production. All processing runs in your browser so your code is not sent to our servers for this tool.

Free · No limits · Runs in your browser

How to use

  1. 1Paste your JavaScript into the tool.
  2. 2Choose Beautify to format or Minify to compress.
  3. 3The code updates instantly.
  4. 4Copy the result.

Frequently asked questions

Does the minifier change variable names?
The minifier removes whitespace and comments. It does not mangle variable names.
Is it safe to paste backend or Node.js code?
Yes. The tool runs in your browser; your code stays in your browser during processing.
Can it handle large JS files?
Yes. Local processing handles large bundles; very big files may be slower on older devices.

Developer & Data Tools: Format, validate, encode, decode, and convert developer data.

Loading...