Dev / Web

URL Parser.

Paste a URL and see it taken apart — protocol, host, port, path, query, and fragment — with every query parameter listed and percent-decoded. Handy for debugging redirects, tracking links, and OAuth callbacks. It all runs in your browser.

Protocol
Host
Hostname
Port
Path
Query string
Fragment
Username

Query parameters

Anatomy of a URL.

A URL packs several fields into one string: scheme://user@host:port/path?query#fragment. The host can carry a non-default port; the path addresses a resource on that host; the query (after ?) carries key–value parameters; and the fragment (after #) is a client-side anchor the server never sees.

Query values are percent-encoded — spaces become %20 or +, and reserved characters are escaped. This tool decodes them so you read the real value, not the wire format. Parsing uses the browser's own URL engine, so it matches exactly how a browser would interpret the address.

The fragment staying on the client is why analytics can't see it server-side and why single-page apps used to route with #. Everything here is parsed locally — the URL is never requested or sent anywhere.