Skip to content
Convertto

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?

The query string is sent to the server; the fragment after # never leaves the browser. That is why analytics cannot see fragments by default, and why putting a token in one is safer than putting it in a query.

Why does my URL break with special characters?

Because characters like space, &, # and + are structural. They must be percent-encoded in values, or the parser treats them as delimiters — a space in an unencoded query parameter truncates the URL at that point in many clients.

How to use the url parser

  1. 1Enter or paste your url.
  2. 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

Last updated

More developer tools