Javascript Deobfuscator
Deobfuscate and beautify obfuscated JavaScript code to recover readable source in your browser.
Javascript Deobfuscator
Decode and beautify obfuscated JavaScript to make minified or protected code easier to read. This browser-based tool applies common cleanup steps such as hex and unicode escape decoding, string concatenation unwrapping, bracket notation simplification, and JS beautification. For standard formatting of readable code, see our Javascript Beautifier.
What this tool can recover
- Escaped string literals using \x and \u sequences.
- Simple chained string concatenation patterns.
- Bracket-style property access converted to dot notation.
- Re-indented output using js-beautify.
Limitations
Advanced obfuscators may rename variables, encrypt strings, or inject control-flow tricks that cannot be fully reversed automatically. Treat output as a readability aid, not guaranteed original source. Never execute deobfuscated code from untrusted origins. Pair with Javascript Obfuscator when testing how obfuscation affects your own scripts.
Frequently Asked Questions
Does this fully deobfuscate every script?
No. It handles common patterns but cannot guarantee full recovery from heavy commercial obfuscators.
Is it safe to deobfuscate unknown code?
Review output only. Do not run recovered code unless you trust the source.
Can I upload a .js file?
Yes. Use the file upload button on the input editor.
Is my code sent to a server?
No. All processing happens locally in your browser.