URL Parser

Inputs

Results

Protocol
—
Username
—
Password
—
Host
—
Port
—
Path
—
Query string
—
Fragment
—
Origin
—

Query parameters

NameValue

A URL packs several things into one line: how to connect (https), where (the host and port), which resource (the path), extra data (the query string) and a place on the page (the fragment). This parser splits a link apart the way browsers do, decodes %-escapes and lists each query parameter, which helps when debugging links, tracking tags and redirects.

How to use it

  1. Paste a full URL, including https://.
  2. Read each part; percent-encoded text such as %C3%A9 is shown decoded (é).
  3. The table lists every query parameter, decoded, in order (repeated names appear once per value).

Example: https://shop.example.com:8080/search/caf%C3%A9?q=coffee+beans&sort=price&page=2#results has host shop.example.com, port 8080, path /search/café, query parameters q = coffee beans, sort = price and page = 2, and fragment #results.

Questions and answers

Why is + shown as a space?

In a query string, + traditionally means a space (form encoding). In the path, + stays a plus sign.

What's the difference between host and origin?

The origin is scheme + host + port (https://shop.example.com:8080). Browsers use it for security rules such as which sites can read each other’s data.

Is the fragment sent to the server?

No. Everything after # stays in the browser; servers never see it in requests.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
urlThe URL to split, URL-encoded.

Example: https://toolabelle.com/url-parser/#url=https%3A%2F%2Fexample.com%2Fa%2Fb%3Fx%3D1%26y%3Dtwo%23top

Related tools