Remove UTM parameters from a URL
Paste one link or a whole list, one per line. The URL cleaner removes every utm_ tag and well-known click IDs such as gclid and fbclid, and keeps every other parameter and the # part unchanged. Everything runs in your browser.
To check the tags on a link instead of removing them, use the UTM checker. To tag a clean link again, use the UTM builder.
UTM tags do their job on the landing page. Virling reads them when the visit starts and links the visit to the payment it led to, so a sale keeps its source without a click ID. 14 days free.
How the URL cleaner works
Each line is read as a link. The part between ? and # is split into parameters, and a parameter is removed when its name starts with utm_ or is in the first list below. Capitals in the name do not matter. The rest is put back in the same order and spelling, without re-encoding anything.
- The fragment stays. Everything from
#on is kept, including any tags someone put there by mistake. - Links inside links stay. If a parameter holds another encoded address, as in
?next=%2Fpricing%3Futm_source%3Dx, its value is kept as it is. - Bad lines are marked. A line that is not a full link is flagged in the results and left as pasted, in its place. Blank lines are skipped.
A worked example
Take the first example link above: https://example.com/pricing?plan=pro&utm_source=newsletter&utm_medium=email&gclid=EXAMPLE123&ref=partner#faq. The names and values are made up for the example.
utm_source,utm_mediumandgclidare removed.plan=pro,ref=partnerand#faqstay:https://example.com/pricing?plan=pro&ref=partner#faq.- With the box ticked,
refgoes too:https://example.com/pricing?plan=pro#faq.
Parameters that are always removed
| Parameter | Who sets it |
|---|---|
utm_source, utm_medium, utm_campaign, utm_term, utm_content | You or your marketing tools, as campaign tags. Any other name starting with utm_ goes too |
gclid, gclsrc | Google Ads and Search Ads 360, when auto-tagging is on |
gbraid, wbraid | Google Ads, for clicks between the web and apps |
gad_source, gad_campaignid | Google Ads, to name the ad source and the campaign |
dclid | Campaign Manager 360 and Display & Video 360 |
srsltid | Google Merchant Center auto-tagging, on product results. See what the srsltid parameter is |
msclkid | Microsoft Advertising |
fbclid | Meta, on links clicked on Facebook and Instagram |
igsh, igshid | Instagram, on links copied from the app or site |
ttclid | TikTok |
twclid | X (Twitter) |
li_fat_id | |
epik | |
ScCid | Snapchat |
rdt_cid | |
yclid | Yandex Direct |
mc_cid, mc_eid | Mailchimp: the campaign and the recipient |
_kx | Klaviyo, to identify the person who clicked in an email |
Parameters removed only when you tick the box
These names are used for tracking on some sites and for something else on others, so they stay unless you ask.
| Parameter | Who sets it |
|---|---|
ref, ref_src, referrer | Directories, newsletters, referral and affiliate programs, or the site itself. Removing it can drop a partner’s credit |
source, src, via | Hand-made campaign tags, or a setting the page needs |
campaign, cid | Campaign tags on some sites, a category or customer number on others |
si | Share links from some apps, such as YouTube, or a site’s own setting |
_gl | Google tags, to carry a visitor’s ID between two linked domains |
When tags disappear on their own
Links can also lose parameters without anyone cleaning them. Apple removes tracking information from some links but does not publish which parameters; see iOS Link Tracking Protection and UTM parameters. Redirects, link shorteners and login pages can drop the whole query string; see why UTM parameters are lost after a redirect.
Related tools and guides
- UTM checker: find mistakes in tagged links before they go out.
- Bulk UTM parser: save the tags from a list of links before you remove them.
- UTM builder: build a tagged link from a page URL.
- UTM parameters lost after a redirect: the causes, with a check and a fix for each.
- iOS Link Tracking Protection: what Apple documents and what it says about UTM tags.
URL cleaner FAQ
How do I remove UTM parameters from a URL?
Paste the link above and copy the clean one. By hand, delete every utm_ name and its value from the part after ?, together with the & that joins it to the next one. Keep the other parameters and everything from # on.
Will the link still work without its UTM tags?
Almost always. UTM tags and click IDs are there for measurement, and pages rarely need them to load. Other parameters, such as a product number or a search term, can change the page, so the cleaner keeps them. Open a clean link once before you share it widely.
What are gclid, fbclid and msclkid?
They are click IDs. Google Ads adds gclid, Meta adds fbclid and Microsoft Advertising adds msclkid to the link when someone clicks, so the platform can tie the visit back to that click.
Should I remove UTM tags from my own campaign links?
Not from links you place to measure a campaign: without the tags the visit falls back to its referrer, or to Direct when there is none. Clean a link when you copy it from the address bar to share it, so the next visitor is not counted under the old campaign.
Why is ref kept unless I tick the box?
ref means different things on different sites. It can be a campaign tag, an affiliate code that earns someone a commission, or a setting the page needs. Tick the box when you know it is safe to remove.
Are my links sent anywhere?
No. The cleaning runs in your browser and nothing you paste leaves the page.
See the revenue behind every tagged link
Tags tell you where a visit came from. Virling follows it to the payment, so you see the customers and revenue each channel brings from your real numbers. 14 days free.