JavaScript Obfuscator

Make your JavaScript harder to read and reverse-engineer. Free, private, runs in your browser.

Ad

Obfuscation Options

Ctrl+Enter
Ad

Frequently Asked Questions

What is JavaScript obfuscation? +
JavaScript obfuscation transforms readable source code into a form that is difficult for humans to understand while remaining functionally equivalent. It renames variables, encodes strings, and restructures code.
Does obfuscation make my code completely secure? +
No. Obfuscation makes code harder to read and reverse-engineer, but a determined attacker can still deobfuscate it. It raises the effort required, but is not true encryption.
Will obfuscation break my code? +
This tool performs safe transformations: renaming local variables, encoding string literals, and inserting dead code. It should preserve functionality, but always test your obfuscated code.
What obfuscation options are available? +
Variable renaming (replaces variable names with random strings), string encoding (converts strings to hex escape sequences), dead code injection (adds non-functional code), and basic control flow changes.
Is my code sent to a server? +
No. All obfuscation happens in your browser. Your code is never uploaded or transmitted anywhere.
Ad