URL Parser

Break a URL into its components.

Components

ComponentValue

Query parameters

KeyValue

Free online URL parser

This URL parser breaks any web address into its individual parts so you can see exactly how a browser reads it. Paste a link and it instantly separates the protocol, host, port, path, query string, and fragment, then lists every query parameter as its own key and value. It uses your browser's native URL engine, so the breakdown always matches real-world behaviour. It's ideal for debugging redirects, tracking links, API endpoints, and messy query strings.

How to parse a URL

  1. Type or paste a full URL into the box above.
  2. Read the Components table for the protocol, host, port, path, and more.
  3. Scan the Query parameters table to inspect each key and value.
  4. Click Copy breakdown to grab a plain-text summary of everything.

Understanding the components

Every absolute URL needs a scheme such as https://; without one the parser reports an error. The origin combines the protocol, hostname, and port, while the search holds the raw query string and the hash holds the fragment after #. If a parameter value looks scrambled, it is probably percent-encoded — decode it with the URL encoder and decoder.

Private and instant

Everything runs in your browser, so your links are never uploaded and it is safe to inspect URLs that carry access tokens. Working with authentication? Pair this with the JWT decoder to read the token inside a redirect. There's no sign-up and no limit — bookmark it for the next confusing link you meet.

Frequently asked questions

What does the URL parser show me?

It breaks a URL into every standard component defined by the WHATWG URL spec: the full href, the origin, the protocol (scheme), any username and password, the host and hostname, the port, the pathname, the query string, and the hash fragment. It also lists each query parameter as a separate key and value so you can read the search string at a glance.

How are the components calculated?

The tool uses your browser’s built-in URL constructor — the same parser the browser itself uses for links and navigation. That means the breakdown matches exactly how a real browser interprets the address, including how it normalises the path and decodes the origin.

Why do I get an error saying the URL is invalid?

The most common reason is a missing scheme. A bare address like www.example.com/path is not a valid absolute URL, so the parser cannot read it. Add a scheme such as https:// to the front and it will parse correctly.

How are duplicate query parameters handled?

Each occurrence is shown on its own row. A URL like ?tag=a&tag=b lists two rows, both with the key tag — one for a and one for b — so nothing is silently merged or lost.

Is my URL sent to a server?

No. Parsing happens entirely in your browser with JavaScript. The URL you type is never uploaded, logged, or stored, so it is safe to inspect links that contain tokens or other private query parameters.