JavaScript Beautify

Beautify JavaScript code.

Status: Implemented · Category: Developer Tools

How to use

  1. Paste JavaScript.
  2. Beautify it to re-indent braces and normalise operator spacing.
  3. Strings, templates, regexes and comments are preserved. It is token-level formatting, so rare ASI edge cases may still need a human check.

Related tools