Skip to main content
HandyWeb

JavaScript Formatter

Format minified or messy JavaScript with readable indentation. JSON works too.

Runs on your device.

Indent
Empty lines
0 characters0 bytes
0 characters0 bytes

How to Use It

  1. Paste the code.
  2. Choose the indent.
  3. Copy the output.

Good to Know

The tool only formats code. It does not check that the code is valid, so invalid code stays invalid. Minifying is not part of this tool.

Source code of this toolReport a problem on GitHub