URL Parser

Developer Tools

Split a URL into parts and query params

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →
About this tool

Reading a URL: protocol, host, path, query and fragment, part by part

A web address looks like one long string, but it is made of separate parts with different jobs. Knowing the parts helps you debug a broken link, read a tracking link, spot a suspicious one, or pull out a single parameter. Paste any address and this tool splits it for you and lists every query parameter on its own line.

The parts, with one real example

Take https://example.com:8080/blog/post?utm_source=news&id=42#comments. The tool shows:

PartValueWhat it means
Protocolhttps:How the browser talks to the server. https is the secure version of http.
Hostexample.comThe website’s name. This is the part that tells you who you are really talking to.
Port8080The “door” on the server. Shown as (default) when absent, because https uses 443 and http uses 80 automatically.
Path/blog/postWhich page or file on that website.
Query?utm_source=news&id=42Extra settings sent to the page, after the question mark.
Fragment#commentsA spot inside the page. It is handled by the browser and not sent to the server.
Originhttps://example.com:8080Protocol + host + port together. Browsers use this to decide what a website is allowed to access.

Query parameters, decoded for you

Everything after the ? is a list of name=value pairs joined by &. The tool lists them one per line and decodes them, so q=hello%20world appears as hello world and x=a+b appears as a b. If the same name appears twice, such as tag=a&tag=b, both are shown on separate lines.

The parameter count is shown as a number. This is the fastest way to read a long link from an email or an ad. You can see at once which part is the product ID, which is the discount code and which are only tracking tags.

Common parameters you will meet

ParameterUsually means
utm_source, utm_medium, utm_campaignMarketing tracking. They say where a visitor came from. Safe to remove when you share a link.
fbclid, gclidClick IDs added by Facebook and Google advertising.
ref, referrerWhich person or site sent you.
q, query, searchA search phrase.
page, pA page number in a list.
id, product_idThe item being shown.
token, session, keyPrivate values. Be careful about sharing a link that has these.

Good uses for this tool

  • Checking a link before you click. The host is what matters. In https://paytm.com.secure-login.example.net/, the real host is secure-login.example.net, not Paytm. Scammers rely on people reading from the left.
  • Cleaning a link for sharing. See which parameters are only tracking, and remove them from the address.
  • Debugging. When a page behaves strangely, see exactly which parameters were sent and whether one was cut off.
  • Developers and marketers. Check UTM tags on campaign links, or confirm a redirect URL is built correctly.
  • Learning. It is a clear way to explain to a student what an address is made of.

Two things that can surprise you

You can leave out the https://. If the address has no protocol, such as example.com/page, example.com:8080/path or localhost:3000, the tool adds https:// in front before splitting it. So a plain host with a port is read correctly. If you want to inspect an address that really uses another protocol (like http:// or ftp://), type it in full.

Non-English domain names are shown in a coded form. A domain written in Hindi letters is converted by the browser to a form starting with xn--. This is normal and is how such sites work on the internet. It is also why a look-alike domain that mixes letters from different alphabets can be spotted here.

A short check for suspicious links

  1. Paste the full link and look only at the Host.
  2. Read the host from the right. The last two parts (like example.com) are the real site. Everything to the left of that is just a prefix someone chose.
  3. Check the protocol, but do not trust it alone. Scam sites use https too.
  4. Look for long random parameters, unexpected redirect addresses inside the query, or a host with odd spelling or extra hyphens.
  5. When in doubt, do not click. Open the real website by typing its name yourself.

Privacy

The address is parsed in your browser. Nothing is fetched and nothing is sent anywhere, so the tool never visits the link. That makes it a safe way to inspect a link you do not trust yet.

URL Parser — at a glance

See every piece of a web address: protocol, domain, path, parameters and more.

URL
https://a.com/p?id=1
Run
Parts
Host: a.com
Path: /p
id = 1

How to use it — step by step

Any URL. If you forget https://, it is added for you.

1

Paste your input

Paste or type your content into the big input box.

2

Parse URL

Press the button. The result is created instantly on your device.

3

Copy the result

Check the output and press Copy to use it anywhere.

Pro tips

Small things that make the result better.

✦Great for checking UTM campaign parameters.
✦Values are decoded so %20 shows as a space.
✦The fragment (#…) is never sent to the server.

Quick facts

7 partsprotocol to fragment
Paramslisted one by one
Decodedreadable values
Privatelocal only

Frequently Asked Questions

What is URL Parser?+

Break any URL into protocol, host, port, path, query parameters and fragment. Perfect for debugging links, UTM tags and API requests.

How do I use URL Parser?+

Open URL Parser on this page, then: 1. Paste your input 2. Parse URL 3. Copy the result. Everything runs in your browser on a phone or computer.

Is URL Parser free to use?+

Yes. URL Parser on Toolcloak is free, needs no signup and has no hidden limits.

What is a query string?+

The part after ? that carries parameters such as ?id=42&page=2.

What is the fragment?+

The part after # that jumps to a section on the page.

Does it open the link?+

No. It only reads the text and never contacts the site.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Also searched as: url parser · parse url online · url query parameters · url components viewer · url parser no signup · url parser for mobile

More Free Tools