Beautifier & Minifier
CSS Preprocessors
Unit Converters
Common conversion
Code Validators
Html & Json
Web development
Encode Decode
Formula tools
Other Tools
sitemap
Convert tools
Beautify Tools
English
Deutsch
日本語
한국어
Français
Português
Italiano
Русский
Español
Türkçe
Nederlands
Svenska
Dansk
Polski
Norsk
Čeština
Free Online Tools For Developers
Home
Beautifier & Minifier
Javascript Beautifier
Javascript Beautifier
Browse
Beautify js
Minify js
Options
Editor Options
Download
Clear
×
Enter Url
×
Message
×
Editor Options
Themes
Font Size
6px
7px
8px
9px
10px
11px
12px
13px
14px
15px
16px
17px
18px
19px
20px
21px
22px
23px
24px
25px
26px
27px
28px
29px
30px
31px
32px
33px
34px
35px
36px
×
Beautify Options
Indent with a tab character
Indent with 2 spaces
Indent with 3 spaces
Indent with 4 spaces
Indent with 8 spaces
Remove all extra newlines
Allow 1 newline between tokens
Allow 2 newlines between tokens
Allow 5 newlines between tokens
Allow 10 newlines between tokens
Allow unlimited newlines between tokens
Do not wrap lines
Wrap lines near 40 characters
Wrap lines near 70 characters
Wrap lines near 80 characters
Wrap lines near 110 characters
Wrap lines near 120 characters
Wrap lines near 160 characters
Braces with control statement
Braces on own line
End braces on own line
Attempt to keep braces where they are
Keep indent level of the tag
Add one indent level
Separate indentation
End script and style with newline?
Use comma-first list style?
Detect packers and obfuscators?
Keep array indentation?
Break lines on chained methods?
Space before conditional: "if(x)" / "if (x)"
Unescape printable chars encoded as \xNN or \uNNNN?
Use JSLint-happy formatting tweaks?
Indent <head> and <body> sections?
Enter javascript here:
Results:
Beautifier & Minifier
› CSS Beautifier
› CSS Minifier
› HTML Beautifier
› HTML Minifier
› Javascript Beautifier
› Javascript Minifier
› JSON Beautifier
› JSON Minifier
› OPML Beautifier
› OPML Minifier
› PHP Beautifier
› XML Beautifier
› XML Minifier
› Online Code Editor