Colors: Light | Dark
Welcome! (login)

UglifyJS online demo

Oct
16
2012

UglifyJS online demo

The UglifyJS2 API documentation pages are more or less complete. I also worked on an online demo which allows you to minify scripts from your browser; the intended use case is just to demonstrate features of UglifyJS like compressor/beautifier options and source maps. You can minify a script and click some token in the minified output and the editor will move to the original position of that token in the initial code. You can easily see all the warnings that UglifyJS dumps, and click them to go to the original location and fix them.

It's only tested with Chrome and Firefox. Should work with Safari too, but I'm pretty sure it won't work in Opera or IE. Try it out! If it doesn't appear to work and you visited this website recently, please clear the cache. If you have any comments or suggestions I'd love to know about it!

4 comments. This is HOT!

Add your comment

# anonymous
2013-01-24 03:44
I didn't have any problem using this demo with Opera.
# Mishoo
2013-01-24 12:42
Indeed, it should be fine for the most part, but you won't be able to edit code in Ymacs (the fancy editor that shows up on the left side after you press Uglify). It works somewhat with Opera/IE, but it's buggy.
# Deniz Aktas
2013-08-18 23:08
This is fairly incredible tool. I'm typing this because i just want to thank.
# Henkie
2014-03-27 17:37
Opera has Webkit these days so it will work just fine there now!