Start a project

Tool 234 of 425 · JavaScript

Import Map Author

Checks an import map and resolves each specifier through imports and scopes, showing the final URL or the TypeError the browser would throw.

Import Map Author

Your input

Result

SpecifierResolves toVia

    01

    What it does

    Checks an import map and resolves each specifier through imports and scopes, showing the final URL or the TypeError the browser would throw.

    • Exact and trailing-slash prefix matches
    • Scopes chosen by the referrer URL
    • Bad keys and addresses flagged
    • Unmapped bare specifiers shown as errors

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A resolution table and map checks, with a Copy and a Download button on every result.

    • Import maps
    • ES modules
    • JavaScript

    Why it matters

    Import maps let the browser understand import "react" without a bundler, by mapping bare names to URLs. A single typo means the module fails to load with an unhelpful TypeError.

    This tool resolves each specifier the way the HTML spec does, including the longest-prefix rule and scopes, so you can see where every import will go before you deploy.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Resolve. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Can I have more than one import map?

    Modern browsers merge multiple import maps, but older ones only accept one, which must come before any module script.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk