# How to clean an X (Twitter) share link

- Canonical: https://linkclean.app/guides/clean-x-twitter-link/
- Updated: 2026-07-22
- Author: Ken Tominaga (https://ken0nek.com)
- Get the app: https://apps.apple.com/us/app/linkclean/id6758604043

> X (formerly Twitter) adds ?t=<token>&s=<n> to outbound share links. Both identify the sharing session. Strip them before forwarding — LinkClean does this host-scoped to x.com and twitter.com, so t= on YouTube (the timestamp) stays intact.

When you hit Share on a tweet, X gives you a URL like https://x.com/handle/status/1234567890?t=AbCdEf-12345_xyz&s=20. The t= and s= parameters are X's share-identifier tokens: t encodes the sharing session, s encodes which surface the share came from (the iOS app, the web client, a third-party tool).

Critically, t= is a tracker here but it's the timestamp parameter on YouTube. That's the kind of name collision that breaks naive cleaners — strip t= everywhere and YouTube share links lose their start-at-N-seconds behavior. LinkClean handles this by host-scoping the t/s rules to x.com / twitter.com only.

## Steps

1. **Use the LinkClean share-sheet action** — From the X app, hit Share → choose Clean URL. The cleaned tweet URL — just the /handle/status/<id> form, no t/s tail — is on your clipboard.
2. **Or paste into the app to see what was stripped** — Open LinkClean, paste the X share link. You'll see t and s called out, both stripped. The tweet ID and handle are preserved (they're part of the path, not the query string).
3. **Confirm the tweet still loads** — Open the cleaned URL in a private tab. Same tweet, same thread, no share token tying the view back to you.

X also occasionally adds &cn= and &refsrc= on outbound clicks — both go through the same default-on stripping path. The cleaned URL is the canonical tweet permalink, identical to what you'd get by typing the URL yourself.

## Related

- [What t= and s= mean in an X share URL (deep dive, with s=46 explained)](https://linkclean.app/learn/x-twitter-share-url-explained/)
- [What is fbclid?](https://linkclean.app/trackers/fbclid/)
- [What's hidden in a share link?](https://linkclean.app/learn/whats-hidden-in-a-share-link/)
- [How to clean a YouTube share link](https://linkclean.app/guides/clean-youtube-link/)


---

LinkClean removes tracking parameters from links on-device — free to clean, one-time Pro. https://linkclean.app/ · Cite freely with attribution.
