JavaScript deobfuscator and unbundler
untwist turns obfuscated, minified or bundled JavaScript back into readable source. Paste code, drop a file or pick an example, then press Run.
Deobfuscate
Undoes javascript-obfuscator (obfuscator.io) output: decodes string arrays with their rotators and base64 or RC4 decoders, inlines proxy objects, unflattens control flow and strips self-defending and debug-protection code.
Unbundle
Splits webpack 4 and 5, Browserify, esbuild, Parcel and other bundles into one file per module and rewrites their require and import paths. Rollup and Vite output can be split too.
Make it readable
Unminifies, turns transpiler helpers back into native syntax, rebuilds JSX, names known libraries such as core-js and renames mangled identifiers on request.
Private
Runs locally in your browser as WebAssembly. Your code is never uploaded and never executed.
Command line: cargo install untwist-cli · Source on GitHub