URL Parser
Break a URL into its components.
No parameters.
Origin
https://example.com:8080
Host
example.com:8080
Rebuilt URL
https://example.com:8080/path/to/page
About
Paste any URL. Get the protocol, host, port, path, query parameters, and fragment broken out. Edit any part and rebuild the URL. Useful for debugging redirects or constructing API calls.
How to use
- Paste a URL.
- See its parts.
- Edit and copy the rebuilt URL.
FAQ
How does it handle encoded characters?+
Query params are decoded so you can read them. The path stays as-is. Toggle 'Decode' to see the raw form.
Does it validate URLs?+
Yes. Uses the browser's URL API, which follows the WHATWG URL standard. If your URL is invalid you'll see an error.