Tools for Everyone
EN
Vibecoders Blog — click here

JavaScript Formatter

Make minified JavaScript readable and evenly indented.

Runs on Prettier · author: James Long and contributors · license: MIT · source code

Runs on Terser · author: Mihai Bazon and contributors · license: BSD-2-Clause · source code

Licenses

Private

Everything runs right in your browser: your files and text are never uploaded, never stored by us and never seen by anyone but you.

About this tool

The JavaScript formatter makes minified or untidy code readable by fixing indentation, braces and line breaks. The Minify mode shrinks code with Terser.

How to use it

  1. 1Paste JavaScript or JSX.
  2. 2Press “Format” or “Minify”.
  3. 3Copy or download a .js file.

FAQ

Can it restore original variable names?

No. Formatting restores layout, but names shortened by a minifier cannot be recovered.

Is the JavaScript Formatter free?

Yes, completely free with no sign-up and no usage limits.

Are my files or text uploaded anywhere?

No. Everything runs right in your browser: your files and text are never uploaded, never stored by us and never seen by anyone but you.

Does it work on a phone?

Yes, it works in any modern browser on phones, tablets and computers.

Related tools