every link you share carries a tracker that points back to you. xclean shows you what it is, then gives you a clean link.
live: https://cranefomo.github.io/xclean
works with X, Instagram, Threads, YouTube, TikTok, Spotify, Facebook, Reddit, LinkedIn, Amazon, AliExpress, Google, and strips common trackers (utm_, fbclid, gclid...) from any other site.
runs entirely in your browser. nothing you paste is sent anywhere.
| platform | tracker | what it is |
|---|---|---|
| X | s= t= a= |
how you shared it (iPhone, Android, WhatsApp...) and a token tied to your account |
igsh= |
share id tied to your account | |
| YouTube | si= pp= |
share id that connects the click back to you |
| Spotify | si= |
share id tied to the sharer |
| TikTok | _t= _r= sender_device= |
who shared it and from what device |
fbclid= mibextid= |
click and share trackers | |
share_id= |
ties the link to whoever shared it | |
rcm= trk= |
trackers linked to your profile | |
| Amazon | ref= and search data |
trimmed to /dp/PRODUCT_ID |
| any site | utm_* fbclid gclid msclkid... |
marketing and ad trackers |
it keeps what the link needs: the YouTube video id and start time (v=, t=), playlists, Google search words, Facebook post ids. that's why it's not just "delete everything after ?", which breaks YouTube links.
short links (vm.tiktok.com, amzn.to, t.co, bit.ly) hide the real address, so xclean warns you instead of guessing.
works on every platform, no app store needed:
- iPhone / iPad: open the page in Safari → Share → Add to Home Screen
- Android: Chrome menu → Install app. xclean then shows up in the Share menu of every app, so you can send a link straight into it
- Windows / Mac: Chrome or Edge → install icon in the address bar
once installed it works offline. links shared into the app are handled on your device by a service worker and never requested from the server.
- the page: paste one link or a whole message with several
- browser bookmark: drag "clean this link" from the page to your bookmarks bar, click it on any page
- iPhone shortcut: Share → Clean link (iPhone doesn't let web apps into the Share menu, the shortcut covers that). steps are on the page. the link is passed after
#, so it never reaches a server
X share codes come from public research (Unfurl by Ryan Benson). X never documented them and some may be old.
open docs/index.html in any browser.
MIT license.