Home » Developer » JavaScript Beautifier

JavaScript Beautifier

Take compressed JavaScript and reformat it with line breaks and indentation. A simple formatter for everyday scripts โ€” it does not change what the code does.

How to use

  1. Paste your JavaScript code.
  2. Click Beautify JavaScript.
  3. Copy the formatted code.

Related tools