JavaScript tidy

Navigation

Skip navigation.

Site search

Site navigation

This script

Description

Tidies JavaScript to put in the correct indents, linebreaks, and semi-colons.

Browser support

Trident / EdgeHTML / Tasman (Internet Explorer 4+, Edge 44-)Code cannot be tidied
Opera 7-12Script works as expected in 9.2- but not 9.5+
Gecko engine browsers (Mozilla, Firefox, Netscape 6+, etc)Nested functions are not tidied (so most scripts remain unreadable) in Firefox 2- and equivalent, and fails completely in later versions
KHTML / WebKit / Chromium / Blink / QT WebEngine / QTWebKit / WebKitGTK (Chrome, Vivaldi, Opera 15+, Edge 79+, Safari, Konqueror, OmniWeb 4.5+, iCab 4+, NetFront Chromium / WebKit)Works in Konqueror 3 and Safari 3- or equivalent, but not at all in Chrome
iCab 3-Code cannot be tidied
Rhino + W3C DOM (ICEbrowser)Script works as expected
Rhino + layers / W3C DOM (Escape / Evo, iBrow)Code cannot be tidied
NetFront 3+ NetFront engineCode cannot be tidied
Opera 5 and 6 Elektra engineCode is corrupted
Netscape 4Browser does not suppot try...catch, used by the script
OmniWeb 4.2-Code cannot be tidied
Rhino + pDOM (Clue browser)Script does not run
WebTVBrowser does not suppot try...catch, used by the script
Tkhtml Hv3+Tidied code contains many syntax errors
Netgem NetBoxNot tested but it should work
OpenTVNot tested but it should work
iPanel MicroBrowserNot tested but it should work

Accessibility notes

Utility script - no accessibility notes.

License

Please see my terms and conditions page for terms and conditions of use.

This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.