Source Map Explorer

Source Map Explorer

Trace an error position in a bundle through Source Map v3 VLQ segments. Split a selected generated-code range into original file/line/column assignments and unmapped regions, then inspect embedded source text.

Regular Source Map v3 only. Map 512KB, generated code 256KB, embedded text 300,000 UTF-16 units, 100 sources, 20,000 segments, and at most 50 lines/500 spans per query. Index-map sections and external source retrieval are unsupported.

Source map and generated code

Lines start at 1; UTF-16 columns start at 0. The end is exclusive. Without generated code, the final segment's actual end is unknown.

Generated error range [start, end)

Example loaded.

Map, generated code and embedded original text stay in browser memory. The report omits generated code and sourcesContent, but includes file labels and coordinates.

Comments & questions

Source Map Explorer

Trace an error position in a bundle through Source Map v3 VLQ segments. Split a selected generated-code range into original file/line/column assignments and unmapped regions, then inspect embedded source text.

Key features

  • Validate signed Base64 VLQ and 1-, 4-, and 5-field segments
  • Map generated error ranges and identify explicit or initial gaps
  • Inspect source files, symbol names and ignoreList
  • Preview and download embedded sourcesContent around mapped lines
  • Analyze locally and download a JSON report without source contents

How to use

  1. Paste Source Map v3 JSON or select a .map file.
  2. Paste or import generated code to determine exact line boundaries.
  3. Enter generated start and end line/UTF-16 column; the end is exclusive.
  4. Select a mapped interval to inspect embedded original code.
  5. Optionally download a JSON report without source contents.

Use cases

  • Trace a minified JavaScript error to its original file
  • Find unmapped intervals in a bundle
  • Compare a debugger's original location with a local map
  • Inspect embedded source text in a deployment map

Frequently asked questions

Does this fetch source file URLs?

No. The map and optional generated code stay in your browser. sourceRoot and sources are labels only; no original file is fetched.

Can I omit generated code?

You can inspect a range on one line. The final segment then has an unknown real end and is marked open-ended. Multiline ranges require generated code.

Does the span show the exact original token length?

No. It shows the map assignment until the next segment, not a proven token boundary or the cause of a runtime error.

Are index maps with sections supported?

This bounded tool handles regular Source Map v3 documents only and rejects sections index maps explicitly.

How are lines and columns counted?

Displayed generated and original lines start at 1, while columns start at 0. JavaScript/CSS columns count UTF-16 code units.

Privacy

Map, generated code and embedded original text stay in browser memory. The report omits generated code and sourcesContent, but includes file labels and coordinates.

References

Related Tools

JavaScript MinifierJSON FormatterPatch Review WorkbenchWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →