I am looking to use a javascript obfuscator. What are some of the most popular and what impact do they have on performance?
Well, google brought up this as the first link:
http://www.javascriptobfuscator.com
But I wonder what good obfuscation of javascript does. Whatever it is you're doing in javascript that needs obfuscation should probably be done server-side anyway, right?
Yahoo has a pretty good one. It's technically a minifier, but it does a nice job of obfuscating in the process.
I've never used obfuscator in production, but I've tested JavaScript Utility and it seems pretty good.
As for the performance, obfuscated code must be unpacked on the fly each time the page is loaded. Might not be a problem for small scripts, but the unpacking time will be significant with bigger files. On the other hand, minified code is directly executable by the browser.
Some obfuscators might produce output that does not run in older or less common browsers. You should test very carefully with the browsers you plan to support.
I've always found the best way to obfuscate Javascript is to get your most clueless team member to write it. It's pretty much guaranteed that they'll write some unreadable mess.
You could also try the JavaScript Compressor written by Dean Edwards.
Or, you could just stop worrying about people "stealing" the source of your web page. If you really don't want it out there -- write it server side, or you don't at all. Especially as you've asked on the performance factor of obfuscated code. It makes it double pointless in my mind.
Why would you come to a web site that's all about helping people learn to code, to ask for help preventing people from learning from your code? Let others learn.
I'd have to say Hackvertor (disclaimed I wrote it) it's free and it supports tag based conversion. Check out the example:-