X introduced twclid in 2022 as third-party cookies crumbled, following the same playbook as Facebook's fbclid. Ad clicks carry the token to the destination, where the X Pixel stores it and attaches it to conversion events sent back through the pixel or the Conversion API.
It exists to tie what you do on the advertiser's site to the specific promoted post you clicked and the account you were logged into.
Is it safe to remove?
Yes. It is attribution-only; the destination page renders identically without it.
Remove twclid automatically
Rather's Link Shortener strips twclid and hundreds of parameters like it, right in the
address bar and in everything you copy or share. Free, open source, no account,
no data collection, and the page you are on never breaks: the cleanup happens
after the site has already loaded.
A unique token X (Twitter) appends to ad clicks so the destination site's X Pixel can report your actions back and match them to your X account.
Is it safe to remove twclid from a URL?
Yes. It is an attribution-only token and pages render identically without it.
How do I remove twclid automatically?
The free, open-source browser extension Rather's Link Shortener removes twclid automatically in the address bar, in copied links, and in shared links, on Chrome and Firefox. You can also simply delete the parameter by hand: everything from twclid= up to the next & or the end of the URL.