URL Parser

Paste any URL to break it into its parts — protocol, host, port, path, fragment and a fully decoded table of query parameters. Free, instant and parsed entirely in your browser.

How to use the URL Parser

  1. Paste your URL. Drop any link into the box above. The tool parses it instantly as you type — no button required.
  2. Read the components. The first table splits the URL into protocol, host, port, path, query and fragment, with a copy button on every part.
  3. Inspect the parameters. The second table lists each query parameter with its value already URL-decoded, so hello+world shows as hello world.

About this tool

A URL packs a lot into one line: the scheme, an optional username and password, the host and port, a path, a query string of key–value pairs, and a fragment. This URL parser uses the browser's native URL and URLSearchParams engine — the same code that powers address bars — to split a link into every one of those pieces and decode the query values for you. It is handy for debugging API requests, reading tracking-heavy marketing links, checking redirects, or teaching how web addresses are structured.

Because it relies on the standard browser parser rather than a hand-written regular expression, it handles international domains, encoded characters, repeated parameters and unusual ports correctly. Everything runs locally in your browser, so the URLs you paste — which may contain tokens, session IDs or private query data — are never uploaded, logged or shared.

Frequently asked questions

What if my URL has no protocol like http or https?

If you paste something like example.com/page?x=1, the parser assumes https:// so it can still break the address apart, and shows a note telling you it did. Add an explicit scheme if you need exact parsing.

Why are the parameter values different from what I pasted?

Query values are percent-encoded on the wire. The tool decodes them for readability, turning %20 and + into spaces and %3D into =. The component table's raw query string keeps the original encoding.

Does it handle duplicate parameters?

Yes. If a name appears more than once (for example ?id=1&id=2), every occurrence is listed as its own row in the parameters table, in the order it appears in the URL.

Are the URLs I paste kept or uploaded anywhere?

No. Parsing happens entirely in your browser with no network requests. Nothing you paste is stored or sent to a server, so it is safe for links that contain access tokens or personal query data.