URL Parser

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free URL parser. Break any web address into protocol, domain, port, path, query parameters and fragment, spot tracking parameters and remove them in one click.

Protocol
0
Domain
0
Port
0
Path
0
Fragment
0
Clean URL (tracking parameters removed)

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the URL parser

Paste any web address into the box. The URL parser instantly splits it into its parts:

  • Protocol, such as https.
  • Domain (the host name), such as crumbco.com.
  • Port, shown as the default for the protocol when the address doesn't name one.
  • Path, the part after the domain, such as /menu/rye-bread.
  • Fragment, the part after #, if there is one.
  • Query parameters, listed in a table with each name and value decoded, so %20 shows as a space and %C3%A9 as é.

The tool also flags tracking parameters, repeated parameters and suspicious tricks, and gives you a clean copy of the link with the tracking removed. It works in your browser; nothing you paste is sent anywhere.

The parts of a URL

Take this address:

https://shop.crumbco.com:8443/menu/rye-bread?size=large&utm_source=instagram#order

Part Value What it is
Protocol (scheme) https How to connect. https is encrypted; http isn't.
Host shop.crumbco.com The server's name. "shop" is a subdomain of crumbco.com.
Port 8443 Which "door" on the server. Normally hidden: 443 for https, 80 for http.
Path /menu/rye-bread Which page or file on the site.
Query ?size=large&utm_source=instagram Extra information for the page, as name=value pairs joined by &.
Fragment #order A place within the page. It's never sent to the server.

Before the host, a URL can also contain a username and password (https://user:[email protected]). Browsers mostly ignore or block these now, and the URL parser warns you if it sees one, because they're often used to disguise where a link goes.

Query parameters explained

The query string is everything after the ?. Each parameter is a name and a value joined by =, and parameters are separated by &. Websites use them for:

  • Search and filters: ?q=sourdough&sort=price
  • Product options: ?size=large&color=red
  • Pagination: ?page=3
  • Tracking campaigns: ?utm_source=newsletter&utm_campaign=spring
  • Sessions and click IDs: ?gclid=… or ?fbclid=…

Special characters in values are "percent-encoded": a space becomes %20 (or + in many forms), & becomes %26, and accented letters become several % codes. The URL parser shows the decoded values so you can read them. To encode or decode text yourself, use the URL encoder and decoder.

When you copy a link from an email, a social app or an ad, it often carries tracking parameters that tell the website where the visit came from. The URL parser recognises the common ones:

  • utm_source, utm_medium, utm_campaign, utm_term, utm_content and other utm_ tags, used by Google Analytics and most marketing tools.
  • gclid (Google Ads), fbclid (Facebook), msclkid (Microsoft Ads), ttclid (TikTok), yclid (Yandex) and igshid (Instagram).
  • mc_cid and mc_eid (Mailchimp) and _ga (Google Analytics cross-domain).

The clean URL below the table is the same address with those removed and everything else kept. Use it when you share a link in a message or a document: it's shorter, more private, and doesn't pass your campaign data on to other people's visits.

Going the other way, if you're the one running a campaign, the UTM builder adds tracking tags to your own links correctly.

Repeated parameters

Sometimes a parameter appears twice: ?size=small&size=large. Websites handle that differently: some use the first value, some the last, and some read both as a list. The URL parser marks repeated parameters so you can check that your links behave as you intended, which matters for filtered category pages and tracked campaign links.

Phishing links are built to look trustworthy at a glance. The parser helps you see what's really there:

  • The real domain is the part right before the first single /. In https://paypal.com.account-check.net/login, the domain is account-check.net, not paypal.com.
  • A username before @ in https://[email protected]/ sends you to evil.example. The tool flags this.
  • http instead of https means the connection isn't encrypted; the tool warns you.
  • International domains are shown in their encoded "punycode" form, starting with xn--. Letters from other alphabets can look identical to Latin ones, so the tool flags these to make you look twice.

The URL parser only reads the text of the link; it never opens it. That makes it a safe way to inspect a link you're unsure about.

URLs and SEO

Clean, readable URLs help both people and search engines:

  • Short, descriptive paths such as /menu/rye-bread tell visitors and Google what a page is about. The slug generator turns titles into clean paths.
  • Avoid tracking parameters in internal links. Linking from one page of your site to another with utm_ tags can split your analytics and create duplicate URLs.
  • Use a canonical tag on pages that can be reached with different parameters, so search engines know which version to index. The canonical tag generator writes it.
  • Redirect old URLs when you change a path. The redirect generator writes the rules for common servers.

For developers

The URL parser uses the browser's standard URL class, the same one your JavaScript code uses, so it splits addresses exactly as browsers do. A few behaviours to know:

  • Addresses without a protocol are read as https, so crumbco.com/menu works.
  • Host names are lowercased and international names converted to punycode.
  • The default port for the protocol is hidden in the href but shown in the table as "443 (default)" or "80 (default)".
  • Paths are shown decoded for reading. When tracking parameters are removed, the rest of the query is written out again in the standard form, so a space in a value may appear as + instead of %20; both mean the same thing.

If you're pulling links out of a large block of text first, the URL extractor finds every link in it.

Absolute and relative URLs

A full URL with a protocol and a domain, like https://crumbco.com/menu, is called absolute. Inside a website, links are often relative: /menu (from the root of the site), menu (from the current folder) or ../menu (from the folder above). Browsers turn relative links into absolute ones based on the page they're on.

The URL parser works with absolute addresses. If you paste one without a protocol, such as crumbco.com/menu, it assumes https, which is right for almost every website today.

Common URL mistakes

  • Spaces in links. A space should be encoded as %20. Many apps do it automatically, but a raw space can break a link in emails and documents.
  • A second question mark. Only the first ? starts the query; later ones become part of a value. Use & to add more parameters.
  • Unencoded & in values. ?name=Bread & Butter splits into two parameters. Encode it as %26.
  • Mixed http and https. Links to http pages on an https site can trigger warnings or be blocked.
  • Trailing slashes. /menu and /menu/ can be different pages. Pick one and redirect the other.

Pasting a link into the URL parser shows exactly how browsers read it, which makes these mistakes easy to spot.

A worked example

A bakery's marketing manager is checking links before a newsletter goes out. One link, copied from the bakery's own Instagram bio, looks like this:

https://crumbco.com/menu/rye-bread?utm_source=instagram&utm_medium=social&size=large&fbclid=IwAR2xY#order

She pastes it into the URL parser. The protocol is https, the domain crumbco.com, the path /menu/rye-bread and the fragment #order. The table shows four parameters: utm_source and utm_medium marked Tracking, size = large, and fbclid marked Tracking. The warning says "3 tracking parameters (utm_source, utm_medium, fbclid)".

The clean URL is https://crumbco.com/menu/rye-bread?size=large#order. That's the address she wants as a base, so she copies it and then adds the newsletter's own tags with the UTM builder: utm_source=newsletter&utm_medium=email&utm_campaign=autumn. Now the newsletter's clicks will be credited to the newsletter, not to Instagram.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Frequently asked questions

What is a URL parser?

A URL parser splits a web address into its parts: protocol, domain, port, path, query parameters and fragment. This one also decodes the parameters and flags tracking tags.

How do I remove tracking from a link?

Paste the link into the URL parser. It lists the tracking parameters it found and gives you a clean URL with them removed, ready to copy.

What is a query string?

The part of a URL after the ?. It holds name=value pairs separated by &, used for searches, filters, options and tracking.

What is the fragment in a URL?

The part after #. It points to a place within the page and is handled by the browser; it's never sent to the server.

Is it safe to paste a suspicious link here?

Yes. The URL parser only reads the text; it never visits the address. It also warns about common tricks such as a username before @ and lookalike international domains.

Is the URL parser free?

Yes. It's free, needs no sign-up, and runs in your browser.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep