Recover embedded Source Map sources
Recover actual sourcesContent text from a local v3 source map or an explicit inline data URI, with a complete availability index.
- 1Add input
- 2Review and run
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Restore source files that were embedded in a build's source map. Every source index stays distinct, including duplicate names and empty files. Null or missing sourcesContent is reported as unavailable; mappings are never used to invent source code.
How to use this tool
- Paste a v3 map or choose a local map/JS/CSS file.
- Recover and inspect which sources are present, null or unavailable.
- Download the available-source ZIP and full mapping reports.
Supported inputs and limits
One input up to 5 MiB, pasted text up to 1 MiB, 2,000 source records and 30 MiB recovered UTF-8 text. Reports are bounded to 20 MiB each.
Ordinary source-map v3 with sources, names and mappings; indexed sections are unsupported. JS/CSS input must end with one explicit inline application/json sourceMappingURL data URI. No code execution or remote requests. Recovered text is encoded as UTF-8, without claiming the original file's wire encoding. Safe ZIP names include source indices; source URLs have credentials/query/fragment removed from reports.
Worked example
Example input
A v3 map contains Unicode text, an empty file, null content and a second duplicate path.
Example options
{}Example output
3 actual text files recovered; 1 unavailable source reported; duplicate indices remain separate.
When something does not work
Provide an ordinary v3 map with valid paired arrays or a single final inline data URI. Fix duplicate JSON keys, malformed encodings or excessive payload; rerun with supported input.
Frequently asked questions
Can it reconstruct sources that were not embedded?
No. Absent or null sourcesContent is explicitly unavailable and no remote source is fetched.
Are duplicate source paths overwritten?
No. Every source index gets its own safe output path and appears in the mapping report.
Documentation & further reading
Related tools
QR code maker
Turn a link or a little text into a QR code.
UTM link builder
Add your campaign details without the guesswork.
Meta tags generator
Fill in page details and copy the resulting meta tags.
robots.txt generator
Build a robots.txt file from the crawl rules you choose.