Build UTM URLs

Build campaign URLs while retaining existing query/fragment data.

Processed only in this browser
Input and settings
Processing options

Input and results are processed in this browser, without saving them to a server, URL or persistent browser storage. Clipboard content and downloaded files may remain on your device.

How to use this tool

  1. Enter an absolute HTTP(S) URL.
  2. Fill source, medium, campaign and any optional fields.
  3. Copy the URL and check its parameters at the destination before publishing.

Label an email campaign

Input and settings
https://example.com/ · newsletter / email / autumn
Result
https://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=autumn

Building a URL does not itself start collecting visits/conversions.

Processing rules and reading the result

URL/URLSearchParams encode values and retain ordinary query parameters. The five supplied UTM fields replace existing names; empty optional values remove them. Fragments remain unless removal is selected.

Limits and checks before use

Base URLs support 8,000 characters; each UTM value supports 300. Only HTTP(S) without embedded credentials is accepted. URLs can be public: do not include email addresses, customer IDs or secret tokens in UTM values.

Common questions

Is casing normalized automatically?

Only source and medium are lowercased when that option is selected. Other fields retain their entered spelling.

Standards and references