Skip to content

URL Cleaner

Remove common tracking parameters from a URL and keep the rest. A link with utm_source and id keeps id. The page does not open the link.

Result

Enter a URL

How to Use

  1. 1 Paste a URL that starts with http:// or https://.
  2. 2 Choose Clean the URL.
  3. 3 Copy the result. The page does not visit it.

Example Output

  • https://example.com/page?id=2&utm_source=news becomes https://example.com/page?id=2.

About This Tool

Parameters whose names start with utm_ are removed, along with fbclid, gclid, mc_eid, igshid, and si. Other parameters stay.

Using the URL Cleaner

This page removes selected query names from a URL and keeps the rest of the address. The names it removes are every query name that starts with utm_, plus the exact names fbclid, gclid, mc_eid, igshid, and si. Other parameters stay. https://example.com/page?id=2&utm_source=news becomes https://example.com/page?id=2. The name utm_source starts with utm_, so it is removed. The name id does not, so id=2 stays. The page does not open the link.

The value must start with http:// or https://. The sample starts with https://. A string that does not start with one of those schemes is rejected. The cleaner reads the query string, drops the tracking names, and rebuilds the URL with the parameters that remain. If every query name was a tracking name, the rebuilt address has no query string. The host, the path, and a fragment, when one was present, are part of the rebuild. The page does not visit the host to see what the address returns.

The sample removes one parameter, utm_source. A URL can lose more than one when several names match. utm_medium and utm_campaign start with utm_ as well, so those names are removed when they appear. fbclid is removed because it is one of the exact names, not because of a prefix. A parameter that is neither a utm_ name nor one of those exact names stays, which is why id=2 survives in the sample. Order among the kept parameters follows the rebuild. The values you care about should be checked by name.

Nothing is fetched. Cleaning https://example.com/page?id=2&utm_source=news does not request that page, and it does not tell you whether id 2 exists. The result is the cleaned URL and a count of parameters removed. Copy it if you want to use it. The original string remains only if you kept it yourself.

What the Cleaner Removes

The cleaner removes query names that start with utm_ and the exact names fbclid, gclid, mc_eid, igshid, and si. In the sample, utm_source is removed and id is kept, so https://example.com/page?id=2&utm_source=news becomes https://example.com/page?id=2. The headline counts the removals. One matching name is one parameter removed. The result lines show that count and the cleaned URL. The path /page stays. The scheme and the host stay. The page does not open the link to confirm them.

A query name is matched as a name, not as a value. The value news is dropped because it belonged to utm_source, not because the word news is on a list. The value 2 stays because it belonged to id. If a kept parameter and a removed parameter sit in the same URL, only the removed name disappears. The exact names are fbclid, gclid, mc_eid, igshid, and si. A different spelling is not those names, and a name that does not start with utm_ is not removed by the prefix rule. The sample is the check for that split: utm_source goes, id=2 stays, and the cleaned address is https://example.com/page?id=2. The page does not open either the original or the cleaned URL. One removal is the count for that single utm_ name.

How the Sample Keeps id

Paste https://example.com/page?id=2&utm_source=news. The scheme is https, so the value is accepted. The query has two names. id does not start with utm_ and is not fbclid, gclid, mc_eid, igshid, or si, so id=2 stays. utm_source starts with utm_, so it is removed. The rebuilt URL is https://example.com/page?id=2. The count of parameters removed is 1. Run the same string again. The cleaned URL matches. A value that does not start with http:// or https:// is rejected. The page does not open the link on either path. Run the sample twice and the cleaned URL should match both times, with id=2 kept and utm_source gone. The count of parameters removed should stay 1 for that original string. A second tracking name would raise the count, and id would still stay if you left it in the query.

A watch link with a start time is a different builder. The YouTube Timestamp Link builds a YouTube watch link that starts at a time you enter. A video id of abcdefghijk at 1 minute and 30 seconds is https://www.youtube.com/watch?v=abcdefghijk&t=90s. That page does not open YouTube, and it does not strip utm_source from an address you already have. Use it when you want a timestamp link. Use this page when you want tracking names removed.

What the Page Does Not Open

The page does not open the link. The cleaned sample, https://example.com/page?id=2, is text. It is not a request, and the original with utm_source=news is not a request either. The page cannot tell you that the host answered, that the path exists, or that id 2 is a real record. Those questions stay outside this tool. What the tool does tell you is which query names it dropped and what the rebuilt URL is. For the sample, the dropped name is utm_source and the rebuilt URL is https://example.com/page?id=2. The path /page is still there because the cleaner does not rewrite paths. The host example.com is still there because the cleaner does not rewrite hosts.

The cleaner also does not rewrite the path or the host to chase a redirect. example.com stays example.com. /page stays /page. A fragment after a hash stays on the rebuilt URL. The work is in the query string: drop names that start with utm_, drop fbclid, gclid, mc_eid, igshid, and si, and keep every other parameter. If you needed a different path, that edit is yours, made before or after the cleaning, and it should be labeled as your edit.

The Sample With id and utm_source

Enter https://example.com/page?id=2&utm_source=news. Confirm the cleaned URL is https://example.com/page?id=2 and that one parameter was removed. Confirm id=2 is still present and utm_source=news is not. Enter a URL whose only query name is utm_source. The cleaned URL should have no query string, because no other parameter stayed. Enter a URL that includes fbclid and id. fbclid should be removed because it is one of the exact names, and id should stay. Enter example.com/page without a scheme and confirm the rejection. The value must start with http:// or https://. The page does not open any of these links. Compare the sample by eye: the original query holds id and utm_source, and the cleaned query holds id only. If you add gclid next to id, gclid leaves because it is an exact name, and id remains. The scheme on every accepted try is still http:// or https://.

A chat link is a different builder. The WhatsApp Link Generator builds a wa.me link from a phone number and an optional message. 15551234567 and Hello becomes https://wa.me/15551234567?text=Hello. The page does not send the message, and it does not remove utm_ names from a URL you paste. Use it when you want that wa.me link. Use this page when you want the tracking names stripped.

Schemes and Names the Cleaner Uses

The URL must start with http:// or https://. Anything else is rejected. Inside an accepted URL, the removable names are fixed. Every query name that starts with utm_ is removed. The exact names fbclid, gclid, mc_eid, igshid, and si are removed. Other parameters stay. The sample keeps id and drops utm_source. The page does not take a list of extra names to remove, and it does not take a list of exceptions. If a parameter should stay even though its name starts with utm_, this page will still remove it. If a parameter should go and its name is not on that list, this page will keep it.

The page does not open the link, so a very long query is still only text to be parsed and rebuilt. The result is the cleaned URL and the number of parameters removed. Zero removals means none of the names matched, and the kept parameters are the ones that were already there. Several removals mean several names matched. The path and the host are not counted as parameters. In the sample the path is /page and the host is example.com, and both survive while utm_source does not. A fragment is not a query name either, so it is not one of the parameters the count is describing. The count is only names dropped from the query.

Mistakes That Leave a Tracking Name

The usual miss is to expect every unfamiliar query name to disappear. Only names that start with utm_, and the exact names fbclid, gclid, mc_eid, igshid, and si, are removed. id stays in the sample on purpose. Another miss is to drop the scheme. The cleaner rejects a value that does not start with http:// or https://, so the sample has to be pasted with https://. A third miss is to think the page opened the link because the result looks like an address. The page does not open the link. A fourth miss is to look for utm_source in the path. The rules apply to query names. The path /page is kept as part of the URL, not tested against the utm_ prefix. The sample would be a different tool if /page disappeared and only the query remained. What changes is the query: utm_ names and the exact names leave, and id stays. The page does not open the result to prove the path.

An email link is a different string. The Mailto Link Generator builds a mailto link from an email address and an optional subject. user@example.com and Hello becomes mailto:user@example.com?subject=Hello. The page does not send the mail, and it does not strip fbclid from an https URL. Use it when you want a mailto link. Use this page when you want tracking query names removed.

Keeping the Clean Address

Copy the cleaned URL and the count of parameters removed, and keep the original beside them until you have checked the names. For the sample, the original is https://example.com/page?id=2&utm_source=news, the cleaned URL is https://example.com/page?id=2, and the count is 1. Confirm that every name you still need, such as id, is in the cleaned URL, and that utm_source is gone. If the original also had fbclid, gclid, mc_eid, igshid, or si, confirm those exact names are gone too. If it had another utm_ name, confirm that name is gone because it starts with utm_. Write the removal count next to the cleaned URL. The sample count is 1. A note that says only https://example.com/page?id=2 can be this clean, or a URL that never had a tracking name. The original query is what shows the name was removed rather than never present.

Cleaning the Sample Again

Enter https://example.com/page?id=2&utm_source=news. Confirm the cleaned URL is https://example.com/page?id=2 and that 1 parameter was removed. Run it again and confirm the same URL. Add another utm_ name to a copy of the sample and confirm that name is removed while id stays. Add fbclid and confirm that exact name is removed. Remove the scheme and confirm the value is rejected because it does not start with http:// or https://. The page does not open the sample while you do this. The host in the result should still be example.com, and the path should still be /page. The cleaned query should be id=2 and nothing else for the original sample. Add si, which is one of the exact names, and confirm si is removed while id remains. The page still does not open example.com.

Language alternate tags are a different kind of link markup. The Hreflang Generator builds alternate hreflang link tags from a page URL, a language, and one alternate per line. It does not strip utm_source from a query string, and it does not return the cleaned sample. Use it when you want those tags. Use this page when you want tracking names removed from a URL.

What Remains in the Query

What remains is every query parameter whose name does not start with utm_ and is not exactly fbclid, gclid, mc_eid, igshid, or si. In the sample, that remaining parameter is id=2, and the cleaned URL is https://example.com/page?id=2. The scheme, the host, and the path remain as well. A fragment remains when the original had one. The page does not open the link, so remaining is a statement about the text, not about a response from the host. id=2 remains in the sample because the name id is not on the removal list. utm_source does not remain because the name starts with utm_. That is the whole decision the cleaner makes about those two names.

Checking a Cleaned URL Before You Use It

Start with the sample. https://example.com/page?id=2&utm_source=news should become https://example.com/page?id=2, with one parameter removed. id=2 should remain. Then try each exact name you rely on, fbclid, gclid, mc_eid, igshid, and si, and confirm that name is removed when it is present. Then try a name that should stay and confirm it stays. Then remove the scheme and confirm the rejection. The page does not open the link, so the check is the text of the result, not a loaded page. If utm_source is still in the cleaned URL, the prefix rule did not run on that name. If id is missing from https://example.com/page?id=2, a name that should have stayed was dropped. The sample is the pair to check first: one removal, id kept, utm_source gone, and the link never opened.

A character count of a post is a different reading of text. The Twitter Character Counter counts Unicode characters and compares the total with 280. Hello is 5 characters, with 275 remaining. A URL is counted by the characters you typed. That page does not shorten a link, and it does not remove utm_source. Use it when you want that count. Use this page when you want the tracking names taken out of the query.

Frequently Asked Questions

What does the sample URL become?

https://example.com/page?id=2&utm_source=news becomes https://example.com/page?id=2. One parameter is removed. The page does not open the link.

Why is utm_source removed?

Its name starts with utm_. Every query name that starts with utm_ is removed. The value news goes with that name.

Why does id stay?

id does not start with utm_, and it is not one of the exact names fbclid, gclid, mc_eid, igshid, and si. Other parameters stay.

Which exact names are removed?

fbclid, gclid, mc_eid, igshid, and si. They are removed as exact names, in addition to every name that starts with utm_.

What if the URL has no http scheme?

It is rejected. The value must start with http:// or https://. The page does not clean a string that fails that check.

Does the page open the link?

No. The cleaned URL is text. https://example.com/page?id=2 is not requested, and the original URL is not requested.

What if the only query name is utm_source?

That name is removed. The rebuilt URL has no query string, because no other parameter stayed. The host and the path remain.

Can I add a name to the removal list?

No. The page removes utm_ names and the exact names fbclid, gclid, mc_eid, igshid, and si. Any other parameter stays.

Does the path get checked against utm_?

No. The prefix and the exact names apply to query names. The path in the sample, /page, stays in the cleaned URL.

Will a second run of the sample differ?

No. The same URL becomes https://example.com/page?id=2 again, with utm_source removed and id kept. The page still does not open it.