JavaScript DeObfuscator
Paste obfuscated or minified JavaScript to decode escaped string literals and reformat code for easier reading locally in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
JavaScript DeObfuscator
Static, in-browser deobfuscation
Your code is never sent anywhere and is never executed — only parsed and rewritten as text.
Deobfuscation options
How it works
- Paste obfuscated or minified JavaScript.
- Hex and unicode string escapes are decoded back to readable text.
- The result is reformatted with consistent indentation for reading.
Deobfuscation parses the source into tokens, decodes escaped string
literals (like \\x48\\x65\\x6c\\x6c\\x6f back to
"Hello"), and re-prints the code with normal spacing and
indentation — making a shrunk or lightly obfuscated bundle readable
again without executing any of it.
FAQ
Is my code uploaded anywhere?
No. Deobfuscation happens entirely in your browser — your JavaScript is never sent to a server.
What kinds of obfuscation does it undo?
Hex/unicode-escaped string literals are decoded back to readable text, and the code is reformatted with consistent indentation. It doesn't reverse control-flow flattening or restore original variable names.
Will it run or execute my code?
No — the code is only parsed and transformed as text/AST, never executed, so it's safe to paste untrusted snippets.
Does it work on minified code too?
Yes — minified and obfuscated code both benefit from the same re-indentation and string-decoding pass.
How we compare
| Feature | Online Tool Store | Browser DevTools "pretty print" | Dedicated deobfuscator apps |
|---|---|---|---|
| No file upload — runs in your browser | ✓ | ✓ | Some upload to a server |
| Decodes escaped string literals | ✓ | Reformats only, doesn't decode strings | ✓ |
| Free, no sign-up | ✓ | ✓ | Varies |
DevTools' pretty print only fixes indentation — the escaped strings stay unreadable. JavaScript DeObfuscator does both: decodes the strings and reformats the layout, in one paste.