Free Tool
URL Parser
Paste any URL to instantly break it down into protocol, hostname, port, path, query parameters, and hash. Query params are shown as a decoded key-value table for easy inspection.
URL Parser
URL anatomy
A full URL has up to six parts: protocol (https), host (example.com), port (443), path (/api/users), query string (?id=1&sort=asc), and fragment (#section). This tool breaks each out individually.
Query parameters
Query parameters are key-value pairs appended after ? and separated by &. This tool lists each parameter separately so you can inspect or debug complex query strings.
Common debug uses
URL parsing is useful when debugging OAuth redirect URIs, API endpoint construction, webhook payloads, and link tracking parameters.
How to use
- Paste any URL into the input field.
- The tool breaks it into components — protocol, host, port, path, query parameters, and fragment — instantly.
- Copy individual components or the full parsed breakdown.
Frequently Asked Questions
- What does a URL parser do?
- A URL parser breaks a URL into its constituent parts: protocol (scheme), hostname, port, path, query string, and hash fragment. This is useful when debugging API calls, analysing redirects, or extracting specific query parameters.
- Does it URL-decode query parameter values?
- Yes. Percent-encoded values in query parameters (e.g. %20 for a space) are decoded and displayed in the parameters table.
- What if I enter a URL without a protocol?
- The tool automatically prepends https:// if no protocol is detected, so you can paste bare hostnames like example.com/path?q=1.