JavaScript Utilities

JS Decompressor, Bundle Unpack and Source Map Helper

Paste minified JavaScript or upload a .js file and convert it into readable formatted code. The tool restores indentation, expands compressed syntax, and can rename short identifiers into clearer names for faster analysis.

Minified input

Readable output

Batch Mode

Process multiple files or chunks and export all decompressed outputs as ZIP.

No files yet. Add files or push current editor content as chunk.

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 Decompressor: make minified JavaScript readable for audits and debugging

The JS Decompressor mode reformats compressed code with line breaks, indentation, and normalized structure, so your team can review runtime logic faster.

Use this page when production issues appear in minified bundles and you need a readable version for quick incident response and code tracing.

Safe Rename 2.0 additionally improves short identifier names based on usage patterns, making function and variable intent easier to understand.

You can switch output format between JavaScript and TypeScript style representation to prepare results for different review workflows and tooling.

The entire transformation runs in-browser, keeping proprietary code local while still enabling fast reverse-analysis and export.

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.