URL Parser
Parse any URL online and break it down into protocol, host, path, query string, hash and origin, with every query parameter listed as a name and value pair in a table.
FreeOnline Tool
Loading…
How to Use
- Paste a complete URL into the input box
- Click "Parse" to see the protocol, host, path, search, hash and origin fields below
- If the URL carries query parameters, an extra table lists each parameter name and its value
- Click "Load sample data" to see a full example with several query parameters
Features
- Breaks a URL into its six parts: protocol, host, path, search, hash and origin
- Parses every parameter in the query string and lists each name and value in a table
- Shows a clear error message when the URL is not valid
Use Cases
Debugging API and page links
Break a long URL apart to see exactly which query parameters it carries, when tracking down a redirect or request problem.
Checking marketing campaign links
Parse a promotional link with utm_source, utm_campaign and similar tracking parameters to confirm they are set correctly.
Teaching URL structure
Show visually how protocol, host, path, query parameters and hash relate to one another.
Pulling out a path or parameter value
Locate and copy the value of a specific query parameter from a long URL without counting characters by hand.
FAQ
Why does it say the URL is invalid?
The input does not match the standard URL format, usually because the protocol prefix such as https:// is missing or the address is incomplete. Check that the full URL was pasted and try again.
What is the difference between origin and host?
Host is the hostname plus port, such as example.com:8080, while origin combines protocol, host and port, such as https://example.com:8080. They serve different purposes but are often used together to identify where a resource came from.
What happens if the URL has no query parameters?
The search field shows "(none)" and the parameter table is omitted, while all the other fields are still parsed and displayed as usual.
Are the URLs I parse logged or uploaded?
No. All parsing happens locally in your browser, and nothing you enter is uploaded or recorded.