BTC $64,505.00 −1.17% ETH $1,815.96 −0.77% USDT $0.9994 −0.02% BNB $590.51 −1.08% USDC $0.9997 −0.01% XRP $0.9557 −1.37% SOL $71.75 −0.99% TRX $0.3050 +0.39% FIGR_HELOC $1.04 — STETH $1,796.44 −1.86% HYPE $68.70 +2.84% ZEC $906.37 +0.33% XMR $493.53 −1.00% DOGE $0.0588 −1.13% BTC $64,505.00 −1.17% ETH $1,815.96 −0.77% USDT $0.9994 −0.02% BNB $590.51 −1.08% USDC $0.9997 −0.01% XRP $0.9557 −1.37% SOL $71.75 −0.99% TRX $0.3050 +0.39% FIGR_HELOC $1.04 — STETH $1,796.44 −1.86% HYPE $68.70 +2.84% ZEC $906.37 +0.33% XMR $493.53 −1.00% DOGE $0.0588 −1.13%

JavaScript Beautifier

Unpack one-line JavaScript into indented, readable code to study or debug it.

  • 100% Free
  • No sign-up
  • Runs in your browser

What is the JavaScript Beautifier?

Minified JavaScript is impossible to read. The beautifier restores line breaks and indentation so you can follow the logic, find a bug or understand what a script does.

Short variable names from minification stay short, since the original names are gone, but the structure becomes clear.

Features

Readable structure

Blocks, functions and objects laid out clearly.

Private

Code stays on your device.

How to use the JavaScript Beautifier

  1. 1

    Paste your JavaScript.

  2. 2

    Pick the indent.

  3. 3

    Copy the clean code.

Who it is for

Debugging

Read a third-party script.

Security checks

See what an unknown script does before you add it.

Tips for better results

  • If a site provides a source map, your browser's developer tools can show the original code instead.

Questions people ask

Can it bring back the original names?

No. Minification removes them for good.

Can it restore the original names?

No, names shortened by a minifier cannot be guessed back.

Trustpilot

What our customers say

4.8 / 5Trustpilot rating
FREE BITCOIN TOOLS

Stuck Bitcoin transaction?

Paste your TXID, see where it stands, and give it a free push. No signup, no wallet access.

Try the free accelerator
  • Free
  • No signup
  • Live status