Here’s a list of tools and websites commonly used for deobfuscating, decoding, or decrypting JavaScript. These tools serve various purposes, including simplifying obfuscated code, reversing encoded strings, or analyzing minified JavaScript.
1. Beautification and Deobfuscation Tools
These tools help format and deobfuscate JavaScript.
- JSBeautifier
Beautifies and reformats obfuscated JavaScript code for better readability. - Prettier
A modern code formatter for JavaScript and other languages. - Unminify
Simplifies minified JavaScript by expanding it to readable form. - Online JavaScript Beautifier
Provides options for beautification and indentation customization. - Javascript Minifier
Offers unminifying capabilities in addition to minification.
2. String Decoding Tools
These tools help decode Base64, hex, or other encoded strings within JavaScript.
- CyberChef
A versatile tool for encoding, decoding, and deobfuscating strings. - DecodeBase64
Decodes Base64-encoded strings. - Dencode
Decodes and encodes strings in various formats like Base64 and URL encoding. - Web Toolkit Online Decoder
Features tools for Base64, URL, and HTML decoding. - Hex Decoder
Converts hex-encoded JavaScript to ASCII text.
3. Static Analysis Tools
Useful for reverse engineering and debugging.
- AST Explorer
Analyzes and visualizes JavaScript’s Abstract Syntax Tree (AST). - JStillery
An open-source JavaScript deobfuscation tool for static analysis. - JsNice
Enhances code readability and renames variables to meaningful names. - Esprima
A JavaScript parsing library and online tool for AST generation. - Octopus (Open Threat)
A tool for analyzing JavaScript behavior and deobfuscation.
4. Dynamic Analysis Tools
These tools execute and analyze JavaScript in runtime.
- Chrome Developer Tools
Debugs and deobfuscates JavaScript by stepping through execution. - Firefox Developer Tools
Similar to Chrome’s tools for dynamic JavaScript debugging. - JSDebugger
A cloud-based JavaScript debugging platform. - Node.js Inspector
Debugs server-side JavaScript with Node.js. - Replay.io
A browser debugging tool that records JavaScript execution for analysis.
5. Malware-Specific JavaScript Analysis Tools
These tools are tailored for malicious or suspicious JavaScript.
- Malzilla
A tool for analyzing and decoding obfuscated malicious scripts. - Any.run
A dynamic sandbox for executing suspicious JavaScript. - Hybrid Analysis
Provides insights into JavaScript behavior and indicators of compromise (IoC). - VirusTotal
Detects malicious JavaScript using various antivirus engines. - JS Detangler
A tool to analyze and untangle suspicious JavaScript files.
6. Obfuscation-Specific Reversal Tools
Dedicated to undoing popular JavaScript obfuscation techniques.
- De4JS
Decrypts common JavaScript obfuscation methods (e.g., eval, Array obfuscation). - Unpacker for Packer
Unpacks JavaScript obfuscated with Dean Edwards’ packer. - Obfuscator.io Decoder
Deobfuscates scripts generated with popular JavaScript obfuscators. - JScrambler Analysis Tool
Analyzes and helps reverse JScrambler-obfuscated JavaScript. - Fox-Dec
Decrypts obfuscated scripts found in malware.