JavaScript Formatter

Make JavaScript readable with clean indentation.

How to use the JavaScript Formatter

  1. Paste your code

    Minified or messy.

  2. Pick the indent

    2 or 4 spaces or tabs.

  3. Copy the result

    Or download it.

Questions

Is it really free, with no sign-up?

Yes, completely. There's no sign-up, no login and no daily limit: just open the page and start. It works in your browser on any computer, phone or tablet with nothing to install, and your files are never uploaded. Everything happens on your device.

Is my data sent anywhere?

No. Everything runs in your browser, on your device, so nothing you paste or open is uploaded.