URL Query Remover
Remove tracking and other query parameters from a URL and report what changed.
- Runs locally in your browser
- No upload required
Try it
Supported formats
Privacy
Runs entirely in your browser. Your input is never uploaded, stored, or sent to a third party.
Removed 2 parameter(s); 1 kept.
How it works
- Parsed the URL and enumerated its query parameters.
- Removed the parameters matching the selected set (known campaign tags, your custom list, or all).
- Re-serialised the URL with the remaining parameters.
- The tracking preset covers common campaign and click identifiers (utm_*, gclid, fbclid, mc_*, and similar).
- Removal preserves the order of the parameters that remain and does not touch the path, fragment or other URL components.
Methodology
- Parse the URL with the standard URL parser.
- Select the parameters to remove: the tracking preset, a custom list, or all.
- Re-serialise the URL and report the removed and kept parameters.
Usage
- Paste a URL.
- Choose the tracking preset, a custom list, or all parameters.
- Copy the cleaned URL and review what was removed.
Examples
These are examples, not current values: they use fixed inputs, while the interactive tool computes live results in your browser.
Tracking tags
{
"url": "https://devplace.example/?utm_source=news&q=1&fbclid=abc",
"params": "",
"mode": "tracking"
}Custom parameters
{
"url": "https://devplace.example/?q=1&page=2&session=1",
"params": "session, page",
"mode": "custom"
}Strip everything
{
"url": "https://devplace.example/path?a=1&b=2#frag",
"params": "",
"mode": "all"
}Limitations
Why clean a link
Campaign parameters such as `utm_*`, `gclid` and `fbclid` are added by marketing tools so analytics can attribute a visit. They are harmless to the destination but leak how you arrived and make links long and ugly to share.
Removing them before sharing gives a short, private URL. Use the custom mode when a site relies on a query parameter for state.
Frequently asked questions
- Does it change the path or fragment?
- No. Only query parameters are removed; the scheme, host, path and fragment are preserved.
- Are tracking parameters always safe to remove?
- Almost always for sharing links, but some sites use query parameters for required state. Use the custom mode when in doubt.
Sources
- WHATWG URL Standard — WHATWG
- MDN Web Docs: URLSearchParams — MDN
Send feedback
Tell us if this tool helped, report a problem, or suggest a tool. Only the message you type is sent — never the input you used in the tool.
Was this tool useful?
Prefer to write to us directly? See the contact page.