URL Cleaner

Remove known tracking parameters while preserving ordinary query parameters and fragments.

How to use

These are example steps; replace the values for your task.

  1. Enter an http:// or https:// URL.
  2. Select Clean.
  3. Review the remaining parameters and the removed-item list.

Enter values

Result

—

About this tool

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.

Try a use case and check the result

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.

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

Keep ordinary search filters

Input and settings

https://example.com/search?q=tea&page=2&ref=shop#results

Expected result

https://example.com/search?q=tea&page=2&ref=shop#results

How to read the result

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.

Scope and limits

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.

Continue with the next task

Keep search options while removing tracking parameters

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.

Frequently asked questions

Will it remove id or search parameters?

No. Only known tracking names are removed.

Can it expand shortened URLs?

No. Expansion would require an external request.

Is the URL saved?

No. It is neither stored nor transmitted.

Related tools

Inputs and storage

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.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16