URL Parser
Paste a URL to break it into protocol, host, port, path, hash, and a table of query parameters, using your browser's built-in URL engine.
| Key | Value |
|---|---|
| q | react |
| sort | asc |
| page | 2 |
How it works
Paste a full URL and the tool hands it to the URL parser built into your browser — the same engine the browser uses when you click a link. That means the split is done exactly the way the web platform defines it, not by a homegrown regex that gets edge cases wrong.
From the parsed result it pulls out the scheme, the host, the port (or notes that the default is in use), the path, and the fragment after the hash. Query parameters get their own table so repeated keys and empty values are easy to read, decoded from their percent-encoded form.
If the text isn't a valid absolute URL — say you forgot the https:// or typed something that isn't a URL at all — the tool catches the error and tells you plainly instead of showing garbage. Everything happens in the page, so the URLs you test never leave your machine.
Frequently asked questions
Why does it say my URL is invalid?
The parser needs an absolute URL, which means it must start with a scheme like https://. Bare hosts like example.com/path or relative paths won't parse. Add the scheme and it should read fine.
What shows up under port when I didn't set one?
It reads "(default)". The browser only reports an explicit port, so a plain https URL leaves the port field empty — which really means the standard port for that scheme, 443 for https or 80 for http.
Are query values decoded?
Yes. Percent-encoded characters in the values are decoded for the table, so %20 shows as a space and so on. That makes the parameters readable while still showing you exactly what each key carries.