About the URL Parser
URL Parser takes a full web address and shows each part on its own row: protocol, hostname, port, path, query string, fragment and any login details. Query parameters are listed separately and decoded, which makes long tracking links and API URLs much easier to read and debug.
How it works
The tool passes your input to the browser's standard URL constructor (the WHATWG URL API). If it has no scheme but looks like a domain, such as example.com/about, https:// is assumed; anything else that can't be parsed shows Invalid URL. It then reads the origin, protocol, hostname, port, pathname (also split into decoded path segments), search, hash, username and password, and displays a dash for any that are empty.
Query parameters come from the URL's searchParams, which splits the query on & and =, decodes percent-encoding and turns + into a space. Repeated keys appear as separate rows. Note that the URL standard normalizes some values: a default port such as :443 on https is dropped, hostnames are lowercased, and internationalized domains are shown in punycode.
How to use
- 1
Paste a URL into the URL field; https:// is assumed if you leave the scheme off.
- 2
Read the table of components: Protocol, Hostname, Port, Pathname, Search, Hash, Username and Password.
- 3
Scroll to Query parameters to see each key and its decoded value.
- 4
Click the copy icon next to any part or parameter, or Strip tracking params to remove utm_ tags, fbclid and gclid.
Worked examples
URL with every part
The default sample shows what each field means.
Campaign link
A marketer checks the tags on a newsletter link.
The + in the campaign value is decoded to a space, which is how analytics tools will record it.
Missing scheme
Someone pastes an address without https://.
Text that starts like a domain is treated as an https address.
Frequently asked questions
What's the difference between a path and a query parameter?+
The path identifies the resource, such as /products/shoes. Query parameters come after the ? and pass extra data like filters, search terms or tracking tags to that resource.
What is the fragment part of a URL?+
It's everything after the #. It usually points to a section of the page and is kept by the browser, not sent to the server.
Why does the Port show a dash even though the site uses port 443?+
When the port matches the scheme's default (80 for http, 443 for https), the URL standard treats it as empty, so the tool shows a dash.
Why do I get Invalid URL?+
The text couldn't be read as a URL. Relative paths like /page have no host, so add the full address, such as https://example.com/page.
Are query parameter values decoded?+
Yes. Percent-encoded characters like %20 are decoded and + is shown as a space, the same way most web servers read them.