Beautifier & Minifier
Csv Converters
Tsv Converters
Pdf Converters
Excel Converters
Html & CSS Tools
Sql & Json Tools
Xml & Yaml Tools
Utilities Tools
Generators Tools
Image & Color Tools
String Utilities
Unit Converters
Escape Unescape
Code Editor Tester
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
×
Enter Url
×
Message
×
Editor Settings
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
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
Indent with a tab character
Indent with 2 spaces
Indent with 3 spaces
Indent with 4 spaces
Indent with 8 spaces
Braces with control statement
Braces on own line
End braces on own line
Attempt to keep braces where they are
HTML <style>, <script> formatting:
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
Keep indent level of the tag
Add one indent level
Separate indentation
Use comma-first list style?
End script and style with newline?
Detect packers and obfuscators?
Break lines on chained methods?
Keep array indentation?
Space before conditional: "if(x)" / "if (x)"
Use JSLint-happy formatting tweaks?
Unescape printable chars encoded as \xNN or \uNNNN?
Indent <head> and <body> sections?
Enter javascript here:
Load from file
Beautify js
Minify js
Options
Wrap Mode
Download
Clear
Results:
Beautifier & Minifier
› CSS Minifier
› CSS Beautifier
› HTML Beautifier
› HTML Minifier
› Javascript Beautifier
› Javascript Minifier
› Javascript Obfuscator
› JSON Beautifier
› JSON Minifier
› XML Beautifier
› XML Minifier
› OPML Beautifier
› OPML Minifier
› SQL Beautifier
› SQL Minifier