JavaScript Utilities

JS Bundle Unpack Tool

Upload a bundled JavaScript file and extract module structure into readable files. Inspect module tree, preview module code, and export all modules as ZIP for audit and reverse engineering workflows.

Minified input

Run unpack to detect webpack modules and show file tree.

Module preview

Why use this tool

File or paste workflow

Upload a minified script from your project or paste a snippet directly to inspect it in seconds.

Readable formatting

Transforms compressed JavaScript into structured code with normal indentation and line breaks.

Identifier expansion

Optionally renames very short symbols like a, b, c into clearer contextual variable names.

Diff-friendly output

Generated code is easier to review in pull requests and debugging sessions.

In-browser privacy

Processing runs locally in your browser without sending code to external servers.

Instant export

Copy the formatted result, export unpacked modules as ZIP, or download recovered files from source maps.

JS Bundle Unpack: extract module tree from bundled JavaScript files

Unpack Bundle mode parses webpack-style runtime chunks and reconstructs module files into a navigable tree for technical analysis.

This is useful for dependency audits, license checks, bundle debugging, and migration planning when only compiled artifact files are available.

Preview modules instantly, inspect suspicious sections, and download individual modules or a full ZIP package for deeper offline review.

For large enterprise bundles, module separation helps teams map ownership boundaries and identify where regressions are introduced.

Combined with decompression and trace modes, unpacking creates a complete workflow for understanding opaque JavaScript delivery artifacts.

JS Decompressor FAQ

Does this restore the exact original source code?

No. It restores readable formatting and can improve naming, but minification is not fully reversible to the exact original source.

Can I use it for obfuscated JavaScript too?

It can improve readability for partially obfuscated code, but heavy obfuscation may still require manual analysis.

Is the code sent to your server?

No. Decompression runs in the browser, so your code stays on your machine.

Can I download the result?

Yes. After decompression, download the output as a .js file or copy it directly to clipboard.