Toolerax logoToolerax

URL Parser

Split a URL into host, path, query & hash.

100% private — runs in your browser, nothing is uploaded.

Protocolhttps
Usernameuser
Passwordpass
Hostnamewww.example.com
Port8443
Path/path/to/page
Queryq=hello+world&lang=en&page=2
Fragment (hash)section-3
Originhttps://www.example.com:8443
KeyValue (decoded)
qhello world
langen
page2

How to use the URL Parser

  1. 1
    Paste a URL

    Drop any link into the input box.

  2. 2
    Read the components

    See the protocol, host, port, path, query and fragment, each labelled.

  3. 3
    Inspect the query

    Every query parameter is listed with its decoded value.

  4. 4
    Copy what you need

    Copy the decoded parameters to reuse elsewhere.

Examples

InputOutput
https://a.com:8443/p?x=1&y=2#tophost a.com · port 8443 · path /p · x=1, y=2 · hash top
example.com/search?q=hello+worldhost example.com · q = hello world

Free online URL parser

This URL parser takes any web address and splits it into its structural parts — protocol, host, port, path, query string and fragment — then lists every query parameter with its decoded value. It is the fastest way to see exactly what a long, messy link is really doing.

Read tracking and campaign links

Marketing and analytics links are stuffed with parameters like utm_source, fbclid and gclid. Paste one here and each key/value pair is broken out and decoded, so you can tell at a glance where a click is being attributed and what data is riding along in the query string.

Built on your browser's own URL engine

The tool uses the standard URL API that browsers use internally, so it parses edge cases — encoded characters, ports, userinfo, empty parameters — exactly the way a real client would. Nothing is uploaded; parsing happens entirely on your device.

Frequently Asked Questions

What does a URL parser do?

It breaks a URL down into its individual parts — protocol, host, port, path, query string and fragment — and lists every query parameter with its decoded value, so you can inspect exactly what a link contains.

What are the parts of a URL?

A URL is made of a scheme (https), an optional userinfo, a host and optional port, a path, an optional query string after the ?, and an optional fragment after the #. This tool labels each one for you.

Does it decode query parameters?

Yes. Percent-encoded and plus-encoded values are decoded, so q=hello+world is shown as 'hello world'. This makes it easy to read exactly what a tracking or search link is passing.

What if I paste a URL without https://?

The parser first tries the URL as-is, and if that fails it retries assuming an https:// scheme. So example.com/path still parses correctly.

Can it handle ports, usernames and fragments?

Yes. Any userinfo (user:pass@), an explicit port, and the #fragment are all extracted and shown when present, and hidden when they are empty.

Is anything sent to a server?

No. Parsing uses your browser's built-in URL engine, so the link you paste never leaves your device and the tool works offline.

From the blogThe Anatomy of a URLA clear breakdown of every part of a URL — scheme, host, port, path, query string and fragment — plus how query parameters and tracking tags work, with examples.Read the full guide

Related tools