Use this tool to test out different versions of UglifyJS2 (v2.4.5 and newer). Note that there is no support to use UglifyJS3 or uglify-es at this moment.

This tool has access to the latest versions of UglifyJS by typing in a version
in the bar on the top of the page and picks by default the latest stable version.

# How it works

Minified code will appear here after pressing the compile button

Shortcuts can be found on https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
A nicer looking one can be found on https://duckduckgo.com/?q=ace+editor+cheat+sheet&iax=1

You can jump around between many UglifyJS2 versions by typing the reference in
the adress bar above on the web page.

The editor will periodically (but not live) keep track of changes on the repo.
Making sure you have access to the latest version as well.

Once an update has been detected for the current branch or pull request,
it can be applied by pushing the 'Change version' button.

For those who can't wait for updates: Updates can be forced by using the
dropdown menu after the 'Change version' button.

Parse




Mangle






Mangle properties



Compress




























Beautify and codegen