Developer Tools

URL Parser

Break any URL into its protocol, host, path, hash and query parameters.

Rate this tool

How to use the URL Parser

  1. Paste any URL.
  2. See each part broken out — including every query parameter.
  3. Copy the value you need.

About the URL Parser

A single URL packs a lot into one line: the protocol, hostname, port, path, fragment and a query string that may carry a dozen parameters. Paste one here and this parser splits it into labelled parts, then lists every query parameter on its own row so you can read or copy exactly the piece you need. Parameter values come back decoded, so %20 and friends appear as ordinary text, and a repeated parameter is shown once per occurrence rather than collapsed.

The work is done by the URL engine already built into your browser — the same parser your address bar uses — so the split matches how a browser or server would genuinely read the address. If you leave the protocol off, the tool retries with http:// in front so a bare example.com/page?a=1 still breaks apart. A missing port is reported as the protocol default, and a missing fragment as none.

It parses text and nothing more: it never requests the URL, so it cannot follow redirects, check whether a link works or reveal where a shortener points. It reports the hostname without the port, and does not break out any username or password embedded in the address. To escape or unescape a value once you have it, use URL encode or URL decode. Everything stays in your browser.

Frequently asked questions

Does it decode query values?

Yes. Parameter values are shown decoded, so percent-encoded characters and plus signs appear as the readable text they represent.

What if I leave off http://?

The parser first tries the address as typed, and if that fails it retries with http:// added so it can still break the address into parts. The protocol row will then show http even if the real site uses https.

Does it handle duplicate parameters?

Yes. Each occurrence of a repeated parameter gets its own row, so nothing is silently dropped when a key appears more than once.

Will it tell me where a shortened link goes?

No. The tool only reads the text you paste and never requests the URL, so it cannot follow redirects or resolve a shortener.

Is the URL I paste sent anywhere?

No. Parsing happens locally using your browser's own URL engine, so links with tokens or tracking parameters never leave your device.