Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

URL Parser

Paste any URL (absolute, or relative with a base) to see every component: scheme, credentials, host, port, origin, path (raw and decoded), each query parameter and the fragment. Repeated parameter keys are listed individually.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Optional base URL to resolve a relative input against.

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Every component at once

A URL is broken into its scheme, username and password, host, hostname, port, origin, pathname (raw and percent-decoded) and hash, and every query parameter is listed on its own row. Repeated parameter keys are each shown, because a key like id appearing twice carries two distinct values that a naive parse would silently overwrite.

Absolute and relative input

A bare absolute URL is parsed on its own. Paste a relative reference such as /a/b and the optional Base URL field resolves it against an origin, so the tool still reports a full protocol, host and path. Without a base, an absolute scheme is required and the tool says so if one is missing.

Where a row goes missing

The port row disappears for the default port of a scheme, because the URL standard returns an empty port string for https://host and http://host. That is the expected, standards-compliant behaviour rather than a parsing bug, and it is why a component can be absent without the URL being invalid.

Parsed on device

The URL is broken down with the browser URL parser in this page, so no address is sent to a server and nothing is logged. Even a URL that contains credentials is only ever inspected locally.

Questions

Why does the port row disappear for https://ex.com?

The URL API returns an empty port string when the URL uses the scheme’s default port (443 for https, 80 for http). That is the standards-compliant answer, not a parsing bug.

How are repeated query keys handled?

Each occurrence is listed separately, so tag=x&tag=y shows two rows for tag instead of collapsing them into an array. Both the raw and the percent-decoded value are available for every parameter.

Does the tool load the URL?

No. It parses the text you paste with the browser URL API and never opens a connection. Nothing is sent over the network, so you can inspect internal or staging URLs without a request.

See category