Map Extract
Free tool

URL parser

Paste a link and see it taken apart: protocol, any username and password, host name, port, path, query string, fragment and origin, followed by each query parameter with its decoded value.

Runs in your browser. Nothing you enter is uploaded.

Taking a link apart

  1. Paste the address

    Any web address, including long tracking links. If you leave off https://, it is assumed, so oakfieldjoinery.example/contact works.

  2. Read the parts table

    Protocol, Username, Password, Host name, Port, Path, Query string, Fragment and Origin, with (none) or (default) where a part is absent.

  3. Read the parameters

    Below the main table, each query parameter gets its own row with the value decoded, so tracking tags and filters are easy to see.

  4. Fix and repeat

    Edit the link in the box and the tables update as you type, which is a quick way to check a link you are building.

Example: a link from a printed flyer

A kitchen fitter's flyer (fictional) points to a product page on a shop subdomain with a non-standard port, a campaign tag, a referral tag and a jump to the prices section. The parser separates each piece, which helps when deciding which part of the link a web developer needs to change.

Input
https://shop.oakfieldjoinery.example:8443/kitchens/oak-worktops?utm_source=flyer&ref=show#prices
Result
Protocol      https:
Host name     shop.oakfieldjoinery.example
Port          8443
Path          /kitchens/oak-worktops
Query string  ?utm_source=flyer&ref=show
Fragment      #prices
Origin        https://shop.oakfieldjoinery.example:8443

utm_source    flyer
ref           show

Parts of a URL

Protocol
The scheme, usually https: or http:.
Host name
The site's name, including any subdomain such as www or shop.
Port
Only shown when it is not the default for the protocol (443 for https, 80 for http).
Path
The page or file on the site, from the first slash after the host.
Query string
Everything from the ? to the #: parameters such as search terms or tracking tags.
Fragment
The part after #, which points to a section of the page and is never sent to the server.
Origin
Protocol, host and port together: what browsers use to decide which site a page belongs to.

Questions people ask

What are the parts of a URL?

A typical address has a protocol (https:), a host name (www.yourbusiness.example), an optional port, a path (/services/boilers), an optional query string starting with ? and an optional fragment starting with #. Some addresses also include a username and password before the host, which is rare and best avoided.

What is the difference between host name and domain?

The host name is the full name in the address, such as shop.oakfieldjoinery.example. The registered domain is the part bought from a registrar, oakfieldjoinery.example. A domain can have many host names, so www, shop and mail are usually all the same business.

Why is the username and password field there?

Addresses can technically carry login details in the form user:password@host. Browsers now warn about or block this because it was used in phishing links to disguise the real site. If a link you received has text before an @ in the host part, treat it with suspicion.

Does the parser check that the site exists?

No. It only reads the structure of the text you paste and does not visit the address. A link can be perfectly formed and still lead nowhere. To check that a domain is live, look up its DNS records.

Where your data goes

The link is parsed in your browser using its built-in URL reader. Nothing is fetched or opened, and the address is not sent to Map Extract or anywhere else.

Checked against the tool on

Top