URL Parser
Break a URL into protocol, host, path, query parameters and fragment.
To parse a URL, paste it above and every component is separated out — protocol, subdomain, root domain, port, path, each query parameter and the fragment. Percent-encoded parameter values are decoded so you see what the server actually receives.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
What is the difference between a fragment and a query string?
Why does my URL break with special characters?
How to use the url parser
- 1Enter or paste your url.
- 2The result appears immediately — copy or download it.
Embed this tool
Put the working url parser on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
URL Encoder & DecoderPercent-encode text for safe use in URLs, and decode encoded URLs back to readable text.Query String to JSON ConverterConvert URL query strings to JSON and build query strings from JSON objects.URL BuilderCompose a URL from its parts with correctly percent-encoded query parameters.Content Security Policy GeneratorBuild a CSP header from common presets, with each directive explained.HTTP Status Code ReferenceLook up what any HTTP status code means and when to use it.MIME Type LookupFind the correct MIME type for any file extension, and vice versa.
Last updated
More developer tools