FOR WEB DEVELOPERS

URL Parser

Split a URL into protocol, host, port, path, query parameters and fragment, with decoded values you can read and copy.

Code stays on your device

1 URL

Processed in your browser. Nothing is uploaded.
THREE SMALL STEPS

How to parse a URL

  1. 01

    Paste the URL

    Paste a full address, such as a tracking link, an API endpoint or a redirect URL.

  2. 02

    Read each part

    The protocol, host name, port, path and fragment appear as soon as the URL is complete.

  3. 03

    Check the parameters

    Every query parameter is listed with its decoded value, including repeated names in their original order.

BEFORE YOU START

Good to know

Parsed like a browser

The URL is read with the same rules browsers use, so the parts match what a web page would receive.

Passwords stay hidden

If the URL contains a password, the tool only tells you that one is present and does not display it.

Plus signs in queries

A + in the query string is read as a space, as HTML forms send it. Write %2B when you need a literal plus sign.

QUESTIONS

Frequently asked questions

Can I inspect repeated query parameters in a URL?

Yes. Paste the complete URL and read the query parameter list. Repeated parameter names are listed as separate entries. Decoded values make encoded spaces and symbols easier to inspect without opening the destination.

What is the difference between the host and the origin?

The host name is the domain alone. The origin combines the protocol, host name and port, and browsers use it to decide what a page may access.

Why is my URL rejected?

The parser needs a scheme. Add https:// in front of addresses like example.com/page.

What is the fragment of a URL used for?

The part after # points to a place inside the page. Browsers do not send it to the server.