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
- Paste or type the URL.
- Read the table of parts.
- Check the decoded path and the query parameter table.