UTM Link Builder
Build campaign-tagged URLs with utm_source, utm_medium, utm_campaign and the optional term and content parameters — validated, URL-encoded and previewed live, ready to copy into your ads and emails.
Existing query parameters and the #fragment are kept. Spaces and special characters are URL-encoded automatically.
How to use
- Enter the destination URL.
- Fill in utm_source, utm_medium and utm_campaign (required).
- Add utm_term and utm_content if you need them.
- Copy the tagged link from the live preview.
Example
Input: https://example.com/page + source google, medium cpc, campaign spring-sale
Output: https://example.com/page?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale
How it works
UTM parameters are query parameters added to a URL: utm_source (where traffic comes from), utm_medium (the channel), utm_campaign (the campaign name), plus optional utm_term and utm_content. The builder validates the destination, URL-encodes each value, and keeps any existing query parameters and the #fragment.
Result = base URL + '?' + utm_source=…&utm_medium=…&utm_campaign=… (+ term/content when given), with every value URL-encoded. Existing query parameters are kept; the fragment stays at the end.
https://example.com/page with source google, medium cpc and campaign spring-sale becomes https://example.com/page?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale.
Edge cases to know
- The destination must be a valid http(s) URL; other schemes are rejected.
- Source, medium and campaign are required — analytics tools ignore UTM links missing them.
- Existing query parameters are kept and the #fragment stays at the end of the URL.
Limits & compatibility
- The destination must be a valid http(s) URL; other schemes are rejected.
- Source, medium and campaign are required — analytics tools ignore UTM links missing them.
- Existing query parameters are kept and the #fragment stays at the end of the URL.
Privacy
Links are built locally in your browser. URLs are never sent to a server or stored.
Related tools
Questions about UTM Link Builder
What are UTM parameters?
Query parameters added to a URL so analytics tools know where traffic came from: utm_source (google, newsletter), utm_medium (cpc, email, social), utm_campaign (spring-sale), plus optional utm_term (paid keyword) and utm_content (ad or link variant).
Which UTM parameters are required?
Source, medium and campaign — analytics tools ignore UTM links missing them. Term and content are optional refinements.
What happens to the query parameters my URL already has?
They are kept, and the #fragment stays at the end of the URL. Spaces and special characters in your values are URL-encoded automatically.
Do UTM parameters change the page that loads?
No. They are ignored by the page itself and only read by analytics tools — the destination loads exactly as it would without them.