URL Parser

Break a URL into protocol, host, path, query parameters and more.

Your input

Protocol
https
Username
user
Password
•••• (hidden)
Host
www.example.com
Port
8080
Path
/a/b%20c/index.html
Path, decoded
/a/b c/index.html
Query string
?x=1&y=two&x=3
Fragment
#section
Origin
https://www.example.com:8080
Clean URL
https://user:pass@www.example.com:8080/a/b%20c/index.html?x=1&y=two&x=3#section

Query parameters (decoded)

#NameValue
1x1
2ytwo
3x3

What are the parts of a URL?

A URL is more than a web address. It has a protocol (such as https), an optional username and password, a host (the domain name), an optional port, a path, a query string that starts with a question mark, and a fragment that starts with a hash sign.

In the sample address, which uses the https protocol with a user name and password, the host is the example domain, the port is 8080, the path is /a/b%20c/index.html, the query is x=1&y=two&x=3 and the fragment is section. This tool takes a URL apart the same way a browser does, decodes percent-escapes such as %20 and lists each query parameter.

How to use the URL Parser

  1. Paste or type the URL.
  2. Read the table of parts.
  3. Check the decoded path and the query parameter table.

Real situations

When people use the URL Parser

  • 1

    Understand a long link

    Break a tracking or redirect link into parts to see which parameters it carries.

  • 2

    Debug a broken URL

    Check the host, port and path your code is really building, and whether it needs encoding.

  • 3

    Read query parameters

    See every name and value in a table, including names that repeat.

  • 4

    Check where a link goes

    Look at the real host before you click or trust a link, noting any username in front of it.

FAQ

URL Parser: questions answered

What is the difference between path, query and fragment?

The path locates the page on the server. The query, after ?, passes extra data such as search terms. The fragment, after #, points to a place within the page and is never sent to the server.

What happens if I leave out the protocol?

The tool assumes https and tells you so. For example, example.com/path?a=1 is read as https with host example.com, port 443 (default) and path /path.

Why does the password show as dots?

URLs can carry a username and password before the host, but putting passwords in links is unsafe. The tool hides the password and shows only dots so you do not copy it by accident.

How are repeated parameters shown?

Each appears as its own row in the query table, in order. In the sample, x appears twice with the values 1 and 3, and y is two.

What is the default port?

80 for http, 443 for https, 21 for ftp and the same as http or https for ws and wss. If a URL names no port, the tool shows the default for its protocol.

Does it work like a browser?

Yes. It uses the same URL parser that browsers use, so what it shows is what a browser would do with the address. Non-ASCII domain names appear in their ASCII xn-- form.

Is this URL Parser free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way