URL Cleaner
Strip utm_ tags, fbclid, gclid, igshid and other tracking parameters from links before you share them, and shorten Amazon product links.
Was this tool helpful?
Thanks for the feedback!
This tool strips tracking parameters such as utm_source, fbclid, gclid and igshid from links before you share them, and can shorten long Amazon product links to a clean /dp/ address. Paste one link or a whole message full of links; only the links change and the rest of your text is left as it is. It runs in your browser, so the links are not sent anywhere.
The options
| Option | Choices |
|---|---|
| Also remove these parameters, optional | Extra parameter names to strip, separated by commas or spaces, such as ref, source |
| Amazon links | Shorten to /dp/PRODUCT-ID, or Only remove tracking |
| Part after # | Keep it, or Remove it. The part after # usually jumps to a section of the page. |
What gets removed
The tool finds every address starting with http:// or https://. Punctuation stuck to the end, such as a closing bracket, full stop or comma, is treated as part of your sentence and kept outside the link. It then deletes any query parameter whose name is on its built-in list. Names are matched without regard to case, so UTM_Source is caught too. The list includes:
- all
utm_campaign tags, such asutm_source,utm_medium,utm_campaign,utm_termandutm_content - ad click IDs:
fbclid(Facebook),gclid,gbraid,wbraidanddclid(Google),msclkid(Microsoft),ttclid(TikTok),twclid,yclidandli_fat_id - share and analytics tags:
igshidandigsh(Instagram),si(YouTube and Spotify share links),_gaand_gl,srsltid - email marketing tags such as
mc_cidandmc_eid,mkt_tok, and HubSpot's_hsenc,_hsmiand__hstc
Click IDs are usually unique to a single click, which lets an ad platform connect your visit to an ad. Removing them does not change the page you land on.
For Amazon, if the address has /dp/ or /gp/product/ followed by a 10-character product ID, the Shorten option rebuilds it as the site address plus /dp/ and the ID. Everything else is dropped, including the product name in the path, the ref= segment, the query string and any part after #.
Worked examples
https://example.com/p?id=4&utm_source=newsletter&utm_medium=email&fbclid=IwAR0abc#reviews
becomes https://example.com/p?id=4#reviews, with Links cleaned 1 and Parameters removed 3. Set Part after # to Remove it and you get https://example.com/p?id=4.
https://www.amazon.in/Prestige-Pressure-Cooker/dp/B00ABCD123/ref=sr_1_3?keywords=cooker&qid=1700000000&sr=8-3
becomes https://www.amazon.in/dp/B00ABCD123, counting 3 parameters removed. A YouTube share link such as https://youtu.be/dQw4w9WgXcQ?si=AbC123&t=42 becomes https://youtu.be/dQw4w9WgXcQ?t=42. The si tag goes, but the t start time stays.
Parameters that do real work
Many parameters are part of how a site works. id, q, page, a YouTube v or t, a size or colour choice and a coupon code all change what you see. That is why the built-in list sticks to known tracking names, and why https://example.com/search?q=chai&page=2 comes out unchanged.
A few names are tracking on one site and useful on another. ref might only record where you clicked, or it might be a referral code that credits a friend or a creator. The tool leaves those alone unless you add them to the "Also remove" box. For example, adding ref turns (https://shop.example.in/item?id=9&ref=home&gclid=Cj0KC). into (https://shop.example.in/item?id=9). with both parameters gone and the bracket and full stop untouched.
The same thinking applies to Amazon affiliate links. Shortening drops the tag= parameter that pays the person sharing. If you are sharing your own affiliate link, choose "Only remove tracking". The tag, qid and sr parameters are not on the built-in list, so they stay unless you name them. If a cleaned link stops working, the site needed one of the removed parameters, and you can share the original.
Related tools
To see every parameter in a link before cleaning it, use the query string parser. To add your own campaign tags to links you publish, use the UTM link builder.
Frequently asked questions
What is fbclid in a link and can I remove it?
Is it safe to remove utm parameters from a URL?
How do I shorten a long Amazon product link?
What does si= mean in YouTube and Spotify links?
Will removing parameters break the link?
Can I clean several links at once?
Related guides
- Free Developer Tools That Replace a Dozen Browser Tabs Free developer tools grouped by job: format, convert, encode, generate and test. What each one does, which run on the server, and the limits to know f...
- How to Beautify CSS, HTML and XML (Online, VS Code, Prettier) Beautifying adds line breaks and indentation so minified CSS, HTML or XML is readable again. How the free formatters work, their limits, and VS Code a...
- How to Format JSON: Pretty-Print, Validate and Read Errors Paste JSON into a formatter to indent it and catch errors. The exact syntax rules, how to read an error position, and how to do it in VS Code, Python...