Menu

JavaScript Deobfuscator

Decode escaped string literals and likely Base64 strings, rename hex-style identifiers, and format JavaScript. This browser tool performs static, best-effort transformations and does not execute your code.

JS DeobfuscatorBrowser
Ready
Browser tool = limited. Advanced obfuscation (such as RC4 string decoding, control-flow flattening, and self-defending wrappers) may need specialized AST-aware analysis. This tool does not execute pasted code. If this tool cannot decode a pattern, use deobfuscate.io or Synchrony — both are purpose-built for javascript-obfuscator output.
Obfuscated JS Input 0 chars
Deobfuscated JS 0 chars
JavaScript Deobfuscation — Reality Check

Why Browser Deobfuscation Is Limited

javascript-obfuscator (obfuscator.io) applies multiple transformation layers:

  • String arrays — all strings moved to an array, retrieved via a decoder function
  • Rotation — the array is rotated by a self-executing IIFE, so static index lookup fails
  • Base64 / RC4 encoding — strings are encrypted, decoded at runtime
  • Control-flow flattening — if/else and loops become a while(true){switch...} state machine
  • Self-defending — code breaks if reformatted or tampered with

Advanced recovery often benefits from AST parsing, carefully controlled analysis of decoder logic, and iterative simplification. This page uses static browser-side transformations and does not execute the pasted program.

What This Browser Tool Can Do

  • ✅ Decode common JavaScript string escapes such as \\xNN and \\uNNNN
  • ✅ Attempt to decode likely Base64 string literals containing readable text
  • ✅ Rename _0x... identifiers consistently to readable placeholders
  • ✅ Apply basic static formatting to improve readability
  • ❌ Does not automatically reverse arbitrary RC4-based string decoders
  • ❌ Does not unpack rotated string arrays or reverse control-flow flattening
  • ❌ Does not guarantee recovery of self-defending or tamper-detecting code

Recommended Tools for Complex Obfuscation

ToolBest ForLink
deobfuscate.iojavascript-obfuscator string arrays + proxy functionsdeobfuscate.io
Synchronyjavascript-obfuscator / obfuscator.io, automatic string decoderdeobfuscate.relative.im
Webcrackobfuscator.io + webpack/browserify unpacking, online playgroundwebcrack.netlify.app
de4jsP.A.C.K.E.R, JSFuck, JJEncode, basic obfuscator.iolelinhtinh.github.io/de4js
defuscatorCLI, handles RC4 + base64 + rotation, never executes codenpx defuscator file.js
javascript-deobfuscatorNode.js, handles RC4 + control-flow + self-defendingGitHub

Related Tools