URL Parser

How to use

Breaks any URL down into its parts, protocol, host, port, path, query parameters and hash, displayed in an easy-to-read table. Paste a URL to see everything it contains.

Web ToolsLocal only
Protocolhttps:
Hostwww.example.com
Port8080
Path/path/to/page
Hash#section-1
Originhttps://www.example.com:8080
KeyValue
foobar
bazqux
When to use this
  • Debugging a long tracking or campaign URL to see exactly what parameters it carries
  • Extracting a specific query parameter value from a shared link
  • Checking what an unfamiliar or suspicious-looking URL actually points to before clicking it
  • Inspecting a redirect URL's structure while debugging an integration

The parts of a URL, and which ones the server never sees

A URL decomposes into scheme, optional credentials, host, optional port, path, query and fragment, and each part has its own escaping rules. The single most common encoding bug follows from ignoring that: encoding an entire URL rather than one component escapes the separators that give it structure, turning a working address into one opaque string. Encode the component, then assemble: never the reverse.

The fragment, everything after the hash, is the part that never reaches the server. It is stripped by the browser before the request is sent, which is why single-page applications historically used it for routing and why putting anything sensitive there is both safer and less useful than it looks: server logs will not have it, but browser history and any JavaScript on the page will. Query parameters, by contrast, travel in the request line and appear in access logs, proxy logs and referrer headers, which is why access tokens do not belong in them.

Two structural details cause disproportionate trouble. Query strings have no specification for repeated keys, so whether ?a=1&a=2 yields the first value, the last, or an array depends entirely on the framework parsing it, and two services in the same system can disagree. And a plus sign means a space in form-encoded data but is a literal plus in a path segment, so the same character decodes differently depending on where it sits. Parsing a URL into its parts, rather than reading it as a string, is what makes both of these visible before they become bugs.

Free and private. Everything runs on your own device, with no account and no uploads.

Understanding exactly what a long, parameter-heavy URL is made of is much easier with a visual breakdown. This tool splits any URL into its protocol, host, port, path, query parameters and hash.

Yes, percent-encoded characters in query values are decoded for readability in the breakdown.

The tool is designed for full absolute URLs; relative paths without a host may not parse completely.

Anything after a "#" in the URL is shown as the fragment/hash, commonly used for in-page anchors or client-side routing.

How it works
  1. 1

    Paste a URL

    Enter the full URL you want to break down.

  2. 2

    View the parsed components

    See protocol, host, port, path, query parameters and hash in a readable table.

  3. 3

    Inspect query parameters

    Each query key and value is listed separately for easy reading.

Pro tips
  • ·Paste the full absolute URL, including protocol, relative paths without a host won't parse completely.
  • ·Use the decoded query parameter view to quickly spot exactly what data a link is carrying, like UTM tags or tokens.
  • ·Check the fragment/hash separately from query parameters, some apps store routing state there instead of in the query string.