JavaScript Encoder/Obfuscator

The JavaScript Encoder (its official name, ECMAScript Obfuscator) tool obfuscates JavaScript source code to make it difficult to understand or reverse engineer (example). This provides significant protection for source code intellectual property that must be shipped to a customer, as is common when shipping JavaScript-enabled web pages to browsers or when JavaScript is used as a scripting langauge to support other activities (XSLT, etc.). It is a member of SD's family of Source Code Obfuscators.

JavaScript Encoder/Obfuscator Features

Flash users: Ask about the Flash Obfuscator (ActionScript Obfuscator) beta.

Why the MicroSoft Script Encoder is a poor choice: To protect JavaScript in web pages, one might consider using the MS Script Encoder as an alternative. You can Google for MS Script Encoder, which will show you how to use it. But the MS Script Encoder doesn't provide much protection; the same Google search trivially shows you a link to a tool that can directly decode it. In contrast, comment removal and name scrambling done by our obfuscator can only be undone by hard, programmer-intensive guesswork. Of course, for a bit of added protection, you might apply the MS Script Encoder on top of our JavaScript Obfuscator, giving folks who do know how to decode it a bad surprise.




ECMAScript (JavaScript) Source
Code Obfuscator