URL Parser splits a web address into its parts: protocol, host, hostname, port, origin, pathname, query string and fragment. Query parameters are listed separately as name and value pairs, decoded so you can read them.
Each part has its own copy button. Parsing uses the same URL implementation as the browser, so what you see is exactly how a browser would interpret the address. The URL must include its protocol, such as https://, to be parsed.
Advertisement
How to use URL Parser
1
Paste a URL
Include the protocol.
2
Read the components
Each part is shown on its own row.
3
Copy a part
Use the copy button beside it.
Use Cases
- Reading tracking parameters on a long link
- Debugging a redirect URL
- Extracting the origin for a CORS setting
Frequently Asked Questions
Host includes the port when one is specified; hostname never does.
No. Everything after # stays in the browser.
It is probably missing the protocol. Add https:// at the start.
Yes, URL Parser is 100% free with no usage limits, no watermarks, and no hidden charges. The platform is supported by non-intrusive advertising so all tools stay free for everyone.
Yes. URL Parser runs entirely in your browser using client-side JavaScript. Your files and data never leave your device and are never transmitted to our servers.