Online Tool Store Online Tool Store

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.

No file loaded — using pasted text. 0 characters

Deobfuscation options

How it works

  1. Paste obfuscated or minified JavaScript.
  2. Hex and unicode string escapes are decoded back to readable text.
  3. 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.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.