Nifty / Tools / Web

JavaScript Beautifier

Make minified or cramped JavaScript readable again.

js-beautifier
JavaScriptDrop a file here
Beautified
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the JavaScript Beautifier

  1. Paste JavaScript on the left.
  2. Choose the indentation.
  3. Copy the result.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Can it restore original variable names?

No. Beautifying adds indentation and line breaks. Names shortened by a minifier can't be recovered.

Related tools