Online JavaScript beautifier

In Programming | Keywords | Thanks to...

Takes an ugly unformatted JavaScript string and insert adequate newlines and indentation

Input JavaScript


  • Indentation
  • How many tabs
  • How many whitespaces
  • Indentation string
  • Maximum amount of characters per line (not a hard limit)
  • Brace style

Beautiful JavaScript (highlighted)

Beautiful JavaScript

Beautify! Loading...

This website uses cookies to ensure you get the best experience here.

Got it! More info