URL Parser
Paste any URL — see the protocol, host, port, path, query parameters (decoded), hash, and origin laid out.
Enter input above to see the result.
Enter input above to see the result.
What is this for?
A URL is a structured string with seven well-defined parts (scheme, authority, host, port, path, query, fragment) that you eyeball as one blob. When something is wrong — the wrong parameter, an unexpected port, an extra encoded character — it's much easier to spot in a parsed table than in the raw string. This tool uses the browser's native URL object so the parse exactly matches what JavaScript sees, then breaks each query parameter out so the decoded values are visible alongside the raw form.
When to use it
- Debugging an OAuth callback URL where the
stateorcodelooks wrong. - Inspecting a tracking URL (UTM tags, click-tokens) and seeing the actual values rather than the encoded blob.
- Confirming a webhook URL parses the way the receiving service expects — particularly the path and any query.
- Eyeballing why a deep link works in one app and not another (port? scheme? authority?).
Common gotchas
- Repeated query keys are real.
?a=1&a=2is two values fora; tools that read only the first miss data. The parser shows all values per key. - The fragment never reaches the server. Anything after
#stays in the browser. If your backend isn't seeing data you put in the URL, check whether it's actually in the fragment. - Encoding matters.
%20in a query value decodes to space;+in a query value also decodes to space (perapplication/x-www-form-urlencoded). The browser'sURL.searchParamshandles both. - Default ports don't appear in
port. A URL likehttps://example.com/hasportempty (the default 443 is implied). - Punycode hostnames.
example.中国is stored asxn--fiqs8sinternally;hostnamemay show the ASCII form depending on the browser. - Origin is sometimes "null". For
file://,data:, or sandboxed contexts, origin is opaque. - This is parsing, not validation. A URL can parse cleanly and still be wrong for your application (e.g. wrong host, missing path).