JavaScript Utilities

Source Map Helper for JavaScript

Upload a .map file and recover source entries from sources and sourcesContent. Browse recovered file tree, preview reconstructed code, and export restored sources as ZIP.

Source map input (.map JSON)

Load a .map file and run recovery to view reconstructed sources.

Recovered source 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.

Source Map Helper: recover source files from .map for faster root-cause analysis

Source Map Helper reads `sources` and `sourcesContent` entries to reconstruct near-original file structure from uploaded source maps.

Teams use this mode to investigate production crashes, reproduce stack traces, and inspect transpiled output against recovered sources.

Recovered files can be exported as ZIP, making collaboration easier when debugging incidents across frontend, QA, and DevOps teams.

Even partial source maps are useful: you can still extract available files and quickly identify missing artifacts in your build pipeline.

Use this page as a practical bridge between minified runtime code and maintainable developer-oriented source context.

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.