Sharing a link without passing on an identifier
A URL copied from an email or social feed carries a click identifier tied to you. Cleaning it before sharing prevents that identifier from being attributed to everyone who clicks.
Strips tracking parameters, affiliate tokens, and invasive marketing queries from URLs to create clean, canonical links.
—Strips tracking parameters, affiliate tokens, and invasive marketing queries from URLs to create clean, canonical links.
https://example.com/product?utm_source=newsletter&fbclid=IwAR3x&id=42
https://example.com/product?id=42 (Removed: utm_source, fbclid)
Preserves functional application parameters (like id=42) while stripping trackers.
A privacy-first, normalized URL stripped of surveillance and tracking telemetry.
Your input is processed entirely in your browser and never sent to a YAS server.
curl -X POST "https://yas.sh/api/v1/tools/url-cleaner" \
-H "Content-Type: application/json" \
-d '{"input":"https://example.com/page?utm_source=twitter&fbclid=123"}'const res = await fetch("https://yas.sh/api/v1/tools/url-cleaner", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "https://example.com/page?utm_source=twitter&fbclid=123"
}),
});
const data = await res.json();import requests
r = requests.post("https://yas.sh/api/v1/tools/url-cleaner", json={"input":"https://example.com/page?utm_source=twitter&fbclid=123"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | URL with tracking params |
{ "slug": "url-cleaner", "cleanedUrl": "https://example.com/page", "removedParams": ["utm_source", "fbclid"] }Strip marketing tracking parameters from URLs.
400 VALIDATION_ERROR — invalid input or unsupported option.413 PAYLOAD_TOO_LARGE — input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED — rate limit exceeded (60 req/min).Cleaning removes query parameters that exist for attribution rather than for content: the utm_* family, Facebook's fbclid, Google's gclid and gbraid/wbraid, Microsoft's msclkid, mc_eid from Mailchimp, and a long tail of platform-specific identifiers. Each is matched by exact name or by a known prefix pattern, and the remaining parameters are re-serialized in their original order.
The distinction that matters is between parameters that identify the click and parameters that select the content. Removing utm_source changes nothing about the page returned; removing an id or q parameter changes what you get, or breaks the URL entirely. That is why cleaning works from a known list of tracking names rather than from a heuristic about which parameters look unnecessary.
A URL copied from an email or social feed carries a click identifier tied to you. Cleaning it before sharing prevents that identifier from being attributed to everyone who clicks.
The same page arriving with dozens of parameter combinations fragments reporting. Normalising on the clean URL consolidates it.
Tracking parameters in a wiki or README persist for years and attribute future traffic to a campaign that ended long ago.
Stripping tracking parameters collapses hundreds of apparent URLs to the handful of distinct pages they actually represent.
What this tool deliberately does not do, and where it will disagree with other implementations.