Javascript Beautifier or often abbreviated as JS Beautifier is a free online tool which used to beautify your web page js code. Its automatically formats or unminify or prettify your javascript code to be consistent, fancy and easy to read. It is a script programming language used to execute the code on the user’s device. It is one of the core technologies and has a colorful curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

Beautify JS Options:

Indent with

Open curly brace: End on own line

INPUT (Minified JS):
OUTPUT (Beautified JS):
Note:
  • Only one blank line between two rulesets
  • Closed curly brace is at its own line
  • There is no empty line between declarations inside a ruleset
  • No space between the property name and colon
  • One space between colon and the property value
  • Wrap lines that exceed N characters [0]
  • Space before conditional True
  • Comments are preserved