How to Remove UTM Parameters from a URL
Shorten an ordinary link without losing the parts that make it useful—and know when to leave the original alone.
The short answer
For an ordinary link, remove the UTM name-and-value pairs from the query string, repair the separators, and keep the other fields and any fragment. The UTM Remover targets its supported UTM names while preserving unrelated query fields. The broader URL cleaner can remove other recognized tracking parameters too. Keep campaign, signed, access-sensitive, and other special-purpose links unchanged when their original form matters.
Find the campaign tags
In a typical web URL, the query follows ? and contains name-and-value pairs separated by &. A fragment, if present, begins with # and follows the query. A fragment can point to a particular section of a page, while other query fields may control things like a product option or a search filter. The destination decides what its fields mean; see MDN's query explanation and fragment reference.
UTM fields are campaign labels. According to Google's campaign URL guidance, utm_source identifies a referrer, utm_medium describes the marketing medium, and utm_campaign names the campaign or promotion. These labels can help analytics attribute traffic, so removing them may change campaign reporting for later visits using the edited link. For more names and their meanings, see the UTM parameters list.
Remove UTM parameters manually
- Keep a private copy of the original. Make sure the link is an ordinary page you are comfortable editing, not an invitation, sign-in, payment, signed download, affiliate, or other special-purpose link.
- Find the query between
?and#, if a fragment exists. Identify each UTM pair you intend to remove, including its value, such asutm_source=newsletter. The URL parser can display query entries and the fragment without opening the destination. - Delete the chosen pair and one adjacent
&. Keep a single?before any remaining entries and a single&between them. If no entries remain, remove the empty?. Repeat for the other UTM pairs you want to remove. - Leave unrelated entries, their order and encoding, and the fragment as they were. Compare the result with the original. Test it only when the destination is trusted and visiting it is safe; do not test one-time or action-triggering links.
These steps apply to ordinary query pairs, not text hidden inside an encoded value or a fragment. Do not treat an encoded %26 within a value as an & separator. If the address has nested URLs or its structure is unclear, preserve it rather than guessing.
Before and after: each query position
These fictional links show one removal at a time. In the shop examples, size and color are imagined product options, and #details is retained. Real sites may use these fields differently, so check the intended result.
First parameter
Before
https://shop.example.com/item?utm_source=newsletter&size=m&color=blue#detailsAfter
https://shop.example.com/item?size=m&color=blue#detailsRemove the UTM entry and the ampersand after it. Keep the question mark before the first remaining entry.
Middle parameter
Before
https://shop.example.com/item?size=m&utm_medium=email&color=blue#detailsAfter
https://shop.example.com/item?size=m&color=blue#detailsRemove the UTM entry and one neighboring ampersand, leaving one separator between the remaining entries.
Last parameter
Before
https://shop.example.com/item?size=m&color=blue&utm_campaign=spring#detailsAfter
https://shop.example.com/item?size=m&color=blue#detailsRemove the UTM entry and the ampersand immediately before it. Keep the fragment.
Only parameter
Before
https://news.example.com/story?utm_source=newsletter#summaryAfter
https://news.example.com/story#summaryWith no query entries left, remove the question mark as well; the fragment can still follow the path.
If a link has several UTM entries, apply the same rule to each one and check the final separators. Do not remove a useful field just because it appears beside a campaign tag.
Use the URL cleaner
- Open the URL cleaner and paste an ordinary URL into Single URL mode. The result appears automatically; Batch Mode accepts one URL per line.
- Read the cleaned address, the removed-parameter list, and any warning before copying. Check that the fields and fragment you need are still present. The optional “Remove Amazon affiliate tags” setting is off by default; turning it on can affect affiliate commissions.
- Copy the result only if the changes are appropriate for your link. If you need to keep other recognized tracking fields, use the UTM Remover instead or edit manually: the general cleaner is not limited to UTM fields.
The cleaner removes recognized names including UTM tags and identifiers such as gclid and fbclid, as well as certain domain-specific fields. It does not recognize every possible tracking parameter, open short links, or follow redirects. A later redirect can add parameters again.
Cleaning runs locally in your browser, but this website also uses analytics for visits and feature usage. Local processing is not a promise of zero analytics; see the privacy policy for details.
When to keep the original
- Campaign measurement: If you are distributing a campaign link, its tags may be needed for attribution. Keep them when that reporting matters. To create a tagged link instead, use the UTM builder.
- Affiliate or referral credit: Changes can affect credit or commissions. Preserve the original if the referral matters; for the specific trade-offs, read the guide to cleaning Amazon affiliate links.
- Signed or access-sensitive links: Do not edit password resets, invitations, payment links, or private downloads. Their validity can depend on exact URL details. For example, AWS explains how a presigned S3 URL uses query parameters in its signature.
When the cleaner detects certain signature or integrity clues, it leaves the entire original URL unchanged and shows a warning. It cannot detect every signed or protected link; no warning is not proof that a link is safe to change.
Troubleshooting after removal
- The page or selected option changed: Compare the original and edited URL for a missing field, separator, or fragment. Restore the original if the intended destination or behavior is different.
- The cleaner removed nothing: Check for a warning or invalid input. The cleaner accepts HTTP(S) addresses, rejects malformed percent escapes and spaces, and may leave unsupported names or parameters inside nested URLs untouched.
- A UTM tag came back: The destination or a redirect may have added it. Inspect the final address if safe, but avoid repeatedly changing a link that might rely on its parameters.
- You still see tracking: Removing UTM fields only stops those values from being passed in the edited URL. It does not delete cookies, prevent other forms of measurement, or erase information already collected before the edit.