Keep the product ID and fragment
Input and settings
https://example.com/item?id=42&utm_source=news&fbclid=demo#details
Expected result
https://example.com/item?id=42#details
Remove known tracking parameters while preserving ordinary query parameters and fragments.
These are example steps; replace the values for your task.
Remove known marketing and click-tracking parameters such as utm_ fields, fbclid, and gclid. Ordinary parameters that may control page content are preserved.
Cleaning happens locally. Neither the original nor cleaned URL is stored or sent to a server.
Remove advertising and email tracking fields before sharing, while retaining product IDs and fragment destinations.
Trying an example replaces the input and settings and runs the tool. Restore previous input restores the input and settings from before the latest example.
After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.
https://example.com/item?id=42&utm_source=news&fbclid=demo#details
https://example.com/item?id=42#details
https://example.com/search?q=tea&page=2&ref=shop#results
https://example.com/search?q=tea&page=2&ref=shop#results
Compare the result URL with the removed-field list. In the first example only utm_source and fbclid disappear; id=42 and #details remain. The second example keeps ref because it is outside the recognized names.
Matching is case-insensitive for the utm_ prefix and fbclid, gclid, mc_cid and mc_eid. A complete http/https URL is required. This does not expand short URLs or check destination safety. Removing fields or reserializing a signed URL can invalidate its signature.
Verification: the existing cleanUrl function is checked for tracking-field removal, ordinary-field and fragment preservation, and rejection of non-http(s) input. It processes the string without opening the URL.
Cleaning https://example.com/search?q=book&utm_source=mail#top returns https://example.com/search?q=book#top. The q search value and #top fragment remain.
The destination is not fetched or checked. Removing a known tracking parameter does not verify that the resulting page will behave identically.
No. Only known tracking names are removed.
No. Expansion would require an external request.
No. It is neither stored nor transmitted.
Share only the tool name and public URL. Your input and results are not included.
Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.
Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.