Deobfuscate and decode obfuscated JavaScript code back to readable format. Supports beautifying, hex/unicode string decoding, expression simplification, and array reference restoration. 100% client-side processing β your code never leaves your device.
Zero Dependencies Β· Local Processingπ Paste Obfuscated Code
π€ Deobfuscated Result
π What is JS Deobfuscation?
JS Deobfuscation is the process of reversing obfuscated JavaScript code back to a human-readable format. Obfuscation is commonly used to protect intellectual property or reduce file size, but makes code difficult to read and debug.
Supported Obfuscation Patterns
- Code Minification: Remove whitespace and newlines, shorten variable names (e.g.
var a=1,b=2;) - Hex String Encoding: e.g.
"\\x48\\x65\\x6c\\x6c\\x6f"β"Hello" - Unicode Escapes: e.g.
"\\u0048\\u0065\\u006c\\u006c\\u006f"β"Hello" - Array Reference Obfuscation: Strings stored in arrays and referenced by index (e.g.
_0x1234("0x1")pattern) - Expression Simplification: e.g.
!![]βtrue,+[]β0
Common Use Cases
- Security Analysis: Analyze suspicious JavaScript for malicious behavior
- Reverse Engineering: Understand how third-party obfuscated code works
- Code Review: Restore minified dependencies to readable format for auditing
- Learning: Study obfuscation techniques and protection mechanisms
β FAQ
What's the difference between deobfuscation and beautifying?
Beautifying only restores indentation and formatting; deobfuscation also decodes escaped strings, restores variable names, simplifies expressions β getting code closer to its original form.
Is my code uploaded to a server?
No. Everything runs locally in your browser β your code never leaves your device. You can even use this tool offline.
Can it 100% restore the original code?
No. Heavily obfuscated code (from commercial obfuscators or obfuscator.io's strong mode) permanently loses original variable names and comments. This tool restores structure and readability but cannot recover deleted information.
Which obfuscators are supported?
This tool handles common techniques: UglifyJS/Terser minification, simple obfuscator.io output, hex/unicode string encoding, and partial JavaScript Obfuscator patterns.