Cookies This site keeps only what it needs to work. There is no analytics and no advertising on it today, and nothing here follows you to other sites. Read the privacy policy

Choose what to allow
+92 312 8299940Free Quote
EN – Language: English
Free tool, no account needed

URL Cleaner
Strip Tracking Tags From Any Link

This tool will remove all tracking codes from your URL and unwrap the redirect for you, giving you the direct URL. Just copy/paste the URL into the box above and you’ll get the cleaned-up version right away. What you enter is never sent anywhere.

  • FreePrice
  • TwoModes
  • NoneSign-up
  • NoneUploads

URL Cleaner

Strip campaign tags, ad click ids and redirect wrappers from any link

Which families come off
The clean address

—

What came off
—
Redirect layers
—
Parameters kept
—

Every parameter this tool removes is listed here by name, so you can see what left before you share the link.

Ready. Nothing you paste here leaves the page.

Your browser does all of the work here, in this tab. We upload nothing, store nothing and log nothing.
Add a link to this tool on your own site

Copy the code below and drop it into your page. It places a link to this free tool.

The short version

What A URL Cleaner Does For You

Links shared have baggage. A campaign tag, an advertising click ID and a reference stamp will be carried after the question mark; but no other tags are helpful for the individual receiving the link. So, a URL cleaner removes the tag tail and leaves only the URL.

The cleaner operates within your web browser, so, you do not have to download anything. As the site functions completely inside your web browser, you simply copy and paste a URL into the box, view the clean version of the webpage, and then shut down the tab.

Most tasks are handled in either of the two ways. In the first method, each task is processed individually. In the second, multiple tasks can be processed together. For example, if you want to send out a newsletter, or process a column of data from a spreadsheet, these will go through in one large group (or batch).

Nothing goes anywhere. The URL cleaner doesn’t open your link so no request goes to Google, the advertiser or this site.

What the URL Cleaner Does Step by Step

The cleaning splits into three separate passes. First, the tool unwraps any redirect so the real address comes forward. Then it reads the query string and drops the tags it recognises. Finally, it tidies the leftovers and prints the result.

Drawing of a long tracking link unwrapped, stripped of tags and tidied into a short clean address
Three passes, one short address.

Each of the passes remains on screen. This allows you to understand how the program was designed and works, rather than accepting a black box. The query behaves exactly like the WHATWG URL Standard.

The link will remain on the current page. As a result, the link cleaner has no way of knowing where the link leads, nor does it ask to work out that.

Strip UTM Parameters Out Of A Link

The five campaign tags that represent the complete scheme are known to the tool by name.

URL cleaner removing five utm parameters from a pasted address and listing each removed tag by name below the result
The five campaign tags, named as they come off.

Tracking parameter names always follow the same pattern. Because every one of them starts with utm and an underscore, a single rule catches the family, even when some other tool invents a sixth. Google lists the set in its campaign data help page.

The UTM Family, One Tag At A Time

Source refers to the website which brought the user to the site, whereas Medium refers to the channel used by the source. Campaign represents the promotional effort, Keyword carries the search term entered into a search engine, and Content distinguishes between two similar ads.

A sixth tag turns up sometimes. For example, utm_id links a row in an advertising report, and the Wikipedia entry on UTM parameters covers the rest.

Why Marketers Still Add Them

These tags do not contain any harmful software. An analytics report needs these tags to attribute credit to a particular channel, and so, the team who created the link had a valid purpose for doing so.

The stop is the click, but. Once the user clicks through to the site, the tag has completed its function and if you pass the tag to someone else, it will confuse your reports.

What The URL Cleaner Shows Before It Strips

The user will be able to see all of the removals on a list. You can tell that the utm_source was removed and the product ID was retained, instead of having to visually compare two long strings.

It is possible to put a tag back. When a tag is important to you, turn off the rule for that tag and the clean up process will ignore it.

Clean Tracking Links From Ads And Social

Advertising platforms use their own identification systems. Rather than having a readable name for each click, you get a randomly generated ID that is used to associate a specific click with a user’s account.

URL cleaner with campaign, ad click, social, mailing and analytics tags ticked, plus the keep list and switches
Every family on one row, each with its own switch.

The tool groups the items together into "families." This keeps the list legible and allows you to disable all of the items in a family at once.

Ad Network Click IDs

Google Ads uses gclid as well as gbraid or wbraid on occasion. Microsoft uses msclkid for its ads. Yandex utilizes yclid for its ads. The display network employs dclid.

None of them say what the page is about. Each of those only finds a click, so when you drop it, you don’t change anything about where the link goes.

Social Network Tags

Facebook adds "fbclid," Instagram adds "igshid," and TikTok adds "ttclid." Twitter adds "twclid," "ref_src," and "ref_url."

These stamps will also move from person to person. So, a link sent to someone else three times could potentially contain the click id of the person who originally clicked on the link.

Mail And Analytics Tags

Each mailing tool creates its own two-part ID. For example, MailChimp creates "mc_cid" and "mc_eid" and HubSpot creates "_hsenc" and "_hsmi".

Self-hosted analytics also join the mix. Matomo uses both "pk_" and "mtm_" prefixes while Piwik used "piwik_" before its name change; so, the cleaner considers all three as members of the same group.

Unwrap A Google Redirect Link

Some links are actually just "links" but rather "links" to a Google address which contains your target page as a parameter.

URL cleaner unwrapping a google.com/url address to the plain destination from its q parameter
The wrapper, and the address hiding inside it.

The cleaning process will find the actual address. First, it will find the outer envelope. Second, it will decode the inner data. Finally, it will also clean this data (address).

Search And Image Result Wrappers

A copied search result will usually be "wrapped." The URL begins with google.com/url, and the destination of the search result is within the q parameter after a large number of percent signs.

Image results use "imgurl," and YouTube has its own way of redirecting, so the program can recognize those forms too.

The Generic Wrapper Shape

Almost every website uses this format. Many websites include a complete URL within a parameter (such as ’url’, ’u’, ’target’ or ’dest’), and the software will find that format each time it appears.

A single rule keeps the link working. Because the inner value must itself parse as an http or https address, a plain word in a parameter called url stays untouched. The decoding follows the URL interface in your browser.

Nested Wrappers And Double Encoding

Wrappers often form stacks. A news letter contains a tracking code, which in turn contains a URL shortener, and the real URL you wish to visit is located three layers below the top.

The tool keeps unwrapping as many times as it can within a time limit. So, a program cannot continue indefinitely without being interrupted. But a standard two layer connection can be created cleanly.

The Keep List Protects Real Content

Not all parameters are useless; many of them represent pages. Removing a page parameter will destroy the link.

URL cleaner keep list keeping the video id, search query and page number while removing tracking tags
Kept on the left, removed on the right.

A "keep list" protects these files. The cleaner will remove files that appear to be tracking, but all other files will remain in their current location.

Parameters That Are The Page

A video id is the clearest case. On YouTube the v parameter chooses the video, so a cleaner that dropped it would send you to the home page instead.

Search results pages have the same principle. The search tool will store both q (the search query) and page (where you are on the list).

Per Site Rules You Switch On

A few shops hide tracking in the path. An Amazon address, for instance, can carry a long reference segment that adds nothing to the product page.

The rules are still not required. Because a path edit has a higher risk than a query edit, the cleaner does not apply these rules until you select the option yourself.

Handling Long Lists in Batch Mode

A single cleaning is too slow for all of your links. This is why the second box allows you to give a list of links (one per line) so that you can have all of them cleaned at once.

The count is included with every row. So, you will be able to tell that the fourth line had lost six tags and the fifth line did not lose any tags. After a list has been cleaned up, the bulk url opener can open up all of the rows in separate tabs.

Copy The Clean Links Or Save Them

A single button copies all of your results. Also, you may choose to download the list in a plain-text format that can be used to import into a spreadsheet.

Blank lines and random spaces are deleted first, which means that even if you take a list directly from an email, it will function properly.

What This URL Cleaner Cannot Do

The tool cannot use a URL shortening service. Since using a shortener needs a request, and that request tells the shortening service which person made the request, the tool deliberately does not allow the use of shorteners. If you wish to work out where a shortened link redirects to, please use the redirect chain checker.

Also, it cannot check a parameter that is unknown to it. So, an unknown parameter name will survive, which is a safer default.

Safe By Design

This entire job is contained within this single web page. This application does not make any network requests, create cookies, nor maintain records of the text you input.

Your clipboard remains your own too. The tool doesn’t send anything anywhere, so you can clean up a private link without any concerns.

Video guide

Watch the URL Cleaner in Use

This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.

How it works

Using The URL Cleaner, Step By Step

Four steps take a messy link down to its plain address.

  • Paste your link

    One address, or a whole list in the batch box.

  • Read the removals

    Every tag the cleaner dropped appears by name.

  • Adjust the rules

    Keep one tag, or switch a whole family back on.

  • Copy the result

    One button puts the clean address on your clipboard.

Why this one

What This URL Cleaner Does Differently

Visible removals, a real keep list, and not one network request.

  • It lists every removed part

    Every dropped tag appears by name, so nothing happens in secret.

  • Redirects come apart

    A wrapped Google address unwraps to the page you wanted.

  • Keep-list entries are honoured

    A video id or a search query survives, because those are the page.

  • Sorted into families of trackers, not one long list

    Switch off every ad click id at once instead of hunting names.

  • Batch mode included

    A whole column of links cleans in a single pass.

  • No request, ever

    The tool never opens your link, so nobody learns about it.

Good habits

Habits For Cleaning Links Well

A few habits keep a clean link both short and working.

  • Test the clean link once Open it in a new tab before you send it on.
  • Keep the tags your own report needs Strip a campaign tag only after the visit has landed.
  • Watch the path, not just the query Some shops hide a reference inside the path itself.
  • Leave unknown parameters alone If you cannot name it, then it may do real work.
  • Clean before you shorten A shortener would otherwise lock the tracking tail inside.
  • Mind a double question mark Two query strings usually mean a wrapper nobody unwrapped yet.
  • Check the fragment too Some trackers hide after the hash, where a server never sees them.
  • Build campaign links on purpose Use the UTM builder for tags, and this cleaner when you want none.
Worth avoiding

Common Mistakes With A URL Cleaner

Each of these turns a tidy link into a broken one.

  • Dropping the video id

    Remove v from a YouTube address and the link forgets the video.

  • Stripping a search query

    The q parameter holds the search itself on most result pages.

  • Cleaning the wrapper, not the target

    Unwrap first, otherwise you tidy an address nobody visits.

  • Assuming every long id is tracking

    A session token or an order number can look identical.

  • Forgetting the second question mark

    A nested address keeps its own query, and that one needs cleaning too.

  • Trusting a shortener to be clean

    The tracking tail may sit behind the redirect, out of sight.

Questions

URL Cleaner Questions People Ask

Does this URL cleaner cost anything?

Yes. No cost, no account required, no daily limits on usage. Since the software operates within your web browser, there are no hosting costs that would need to be passed along to users.

How can I strip UTM parameters from a link?

Paste the address and all five utm tags come off at once. The tool then lists each one it removed, so you can confirm the result.

Does my link leave my device?

No. The cleaner doesn’t use the URL, so there’s no way for anything to get to your website, Google, or the advertiser.

What is a gclid?

The Google Ads click identifier is a value that links each individual click to a specific advertising account. So, this value does not give any relevant info to the page being accessed.

What is fbclid?

Facebook will add this to your URL if you click on a link in any of their applications. This does not change anything about the page you are being redirected to.

Can a cleaned link stop working?

Rarely, but this is why there is a keep list. But before sending your clean copy out, take another look at the document.

Can it unwrap a Google search link?

Yes. When you use a Google search query and the URL begins with google.com/url, your destination will be carried in the "q" parameter of the URL, and this tool will find that destination.

Does it follow shortened links?

No. To resolve a short link required a request, and a request finds to the service which user made it. So, the tool refused to resolve the short link.

What happens to the fragment after the hash?

The cleaner will check it too. Some of the tracking tags are hidden inside the fragment, so they can be removed from the fragment just as other tags are.

Can I keep one tag and drop the rest?

Yes. If you turn off that name in the rules, the cleaner will leave it alone.

Does it work on a whole list?

Yes, the batch box takes one address per line, and reports how many tags were lost from each line.

Is a UTM tag harmful?

Not in the least. A channel needs to get credit for its contribution to a visit through an analytics report, but that is the end of the channel’s responsibility for the visit.

Why does my link still look long?

Because the path itself may be long. A clean address keeps every part that identifies the page.

How does this differ from a URL parser?

A parser shows you the parts, while this cleaner removes the ones that only track you. So use a parser to inspect, and this page to tidy.

Does it remove an affiliate tag?

Yes, it can. An affiliate ID sits in the query as with all other tags, and so the matching rule will remove it after you allow the family.

Can it clean a link inside a newsletter?

Yes, in many cases. The newsletter is generally wrapped around your destination using a parameter, and the tool recognizes that format.

Why did one parameter survive?

The reason for this is that the tool cannot recognize the name. Since a guess would cause problems with the page, an unknown parameter remains.

Is the domain ever altered?

No. Both the host name and the path will remain unchanged as they enter and exit, unless you have turned on the optional per-site path rule yourself.

What about tracking in the path?

There are a number of stores that place a reference segment in that area. But these rules remain optional since a path modification is much more risky than a query modification.

Is the result ready for a spreadsheet?

Yes. Copy the output of the batch process, or store it as plain text and each properly formatted address will be on a separate line.

Does it handle double encoding?

Yes. A wrapped address is often percent encoded two times, which means that the tool will continue decoding the address until it determines that there is a genuine HTTP address.

How many layers will it unwrap?

A fixed small value. This limit allows a loop to stop, but it will also clear a standard newsletter link.

Does the URL cleaner keep a copy of my links?

No. Nothing leaves the page, and the tool keeps no history between visits.

Will the URL cleaner work on my phone?

Yes. The layout works at phone width, and the clipboard button works there too.

Which tool builds campaign links?

The UTM link builder should be used for adding tags on purpose, and the clean version should be used for removing tags.

More free tools

Handy Companions For Link Work

A clean link is one step. These three help with the rest.

Want To Clean A Link Now?

Paste a link, read what came off, and copy the clean address. The URL cleaner is free, needs no account, and it never opens the link you gave it.

Prefer Denwix on GoogleReview Denwix on Google