This beautifier will reformat and reindent bookmarklets, ugly javascript, unpack scripts packed by the popular Dean Edward's packer, as well as deobfuscate scripts processed by javascriptobfuscator.com.
The source code for the latest version is always available on github, and you can download the beautifier for local use (zip, tar.gz) as well.
A stand-alone python version of the beautifier is being made as you read this. I should really sit down and finish this.
Until then, you can use provided beautify-cl.js script, using Rhino javascript engine, use .net version, or take a look around the github — there are various wrappers available.
The beautifier is — and always will be — completely free and open, so donating is a wonderful thing to do and it will probably make you feel good and warm inside.
If you find some problems with the generated javascript, adapt the script for your favorite editor, or want to say "hi", my email is einar@jsbeautifier.org.
Tom Rix has made this into an awesome javascript-beautifying Chrome extension. You can read more about it and install it here: https://github.com/rixth/jsbeautify-for-chrome
Sandro Padin has written an extension for the Safari browser. Visit its page and download the extension here: http://spadin.github.com/js-beautify-safari-extension
Dither converted this into an addon for Opera called "readable javascript" — you can install it from addons.opera.com, or visit its github project page.
This popular web debugging proxy for Windows has a Javascript Formatter addon (based on this beautifier) which can reformat javascript on the fly.
Fabio Nagao has written some tips for the gEdit users, among them he tells how to integrate the beautifier into this editor. Infocatcher wrote an extension for AkelPad, a small text editor for Windows.
Are you doing something neat using the beautifier? Tell me about that, and I'll include a link here!
If you're writing javascript code, JSLint is a really fine piece of software, too. You don't have to follow its recommendations blindly, but understanding what it says about your code can greatly improve your skills.