URL Parser
Break down any URL into its component parts: protocol, host, path, query params, and more
mondaytool.com/tools/url-parser ·
Made with MondayTool · mondaytool.com/tools/url-parser
Last updated:
Break a URL into its parts
This URL parser splits a web address into its components so you can read each one on its own. Paste a link and see the protocol, hostname, port, path, query string and fragment, plus every query parameter listed as a key and value.
How to use it
- Paste or type a complete URL into the field, including the protocol such as
https://. - The breakdown appears as you type. There is no button to press.
- Check the Query Parameters table if the URL has a query string.
How it works
The tool passes your text to the browser's built-in URL parser and reads the standard parts from it. Query parameters are read with URLSearchParams, so they are decoded for you, for example %20 appears as a space.
What you see
| Row | Example for https://example.com:8080/a/b?x=1#top |
|---|---|
| Protocol | https: |
| Hostname | example.com |
| Port | 8080, or (default) when none is given |
| Pathname | /a/b |
| Search | ?x=1, or (none) |
| Hash | #top, or (none) |
The parameters table shows the count and appears only when the query string has at least one parameter.
Assumptions and limits
- The protocol is required. An address like
example.com/pageshows an error asking you to add one. - The tool does not fetch the page or check that it exists.
- Username and password parts of a URL are not shown as separate rows.
- The subdomain and domain are not split apart. They appear together in Hostname.
- The parsing runs in your browser.
Frequently asked questions
Why does it say Invalid URL?
Most often the protocol is missing. Add https:// or http:// in front of the address.
What does Port (default) mean?
The URL has no port written, so the browser uses the default for the protocol, such as 443 for https.
How are repeated parameters shown?
Each occurrence gets its own row, in the order it appears in the URL.
Related Network & API
Browse all tools from the same category.
URL Encoder / Decoder
Encode and decode URL components
Open toolHTTP Status Codes
Searchable HTTP status code reference
Open toolShowing 1-2 of 7