I Need JavaScript Obfuscator Recommendations
Can anyone recommend a decent JavaScript obfuscator? I don’t really care about free vs. payware as I’ll gladly pay for a quality product, so don’t limit yourselves to free products only. My only real requirement is that is must , must , must run from the command line on both Windows and Linux. It can be Java or C or Python or Ruby or anything else that is cross-platform. I have found a few, but they all seemed to run as a GUI, which violates my one requirement.
Why is the command line so important? I need to be able to have this program run as a part of my Ant build script, so no GUI’s allowed. I did actually find one obfuscator that was written in Java and ran dandily from the command line, but I didn’t find its obfuscation compelling. IOW, I didn’t think it did that much to make the scripts hard(er) to decipher. I’m currently using JSMin which, while not an obfuscator (it’s an uglifier), was better than the obfuscator I mentioned.
Anyway, leave a comment or send me email if you have a suggestion.
Legacy Comments
John Smith — October 11, 2005 at 10:14 PM
Take a look at http://brentlysoftware.com/jscloaker/
Ira Baxter — December 10, 2005 at 11:35 PM
Our JavaScript obfuscator has a command line option. Although it is technically a Windows program, it runs fine under Wine, so you can get it to run under Linux, too. – IDB
Stunnix Company — July 3, 2006 at 2:03 PM
Our very advanced tool is written entirely in Perl, and has equally capable GUI (!) and commandline interfaces. Works on Windows, Mac OSX, Linux and any Unix.
jason — September 28, 2006 at 7:53 AM
This one is free and it’s the best I found. http://javascriptobfuscator.com/default.aspx
Roman — October 9, 2006 at 10:13 AM
You can find nice JS Obfuscators review here: www.ajaxpath.com/javascript-obfuscators/
Walter — January 8, 2007 at 2:00 PM
http://www.JavaScript-Obfuscator.com Online JavaScript Obfuscator is the integrated solution for confusing javascript source code