Skip to content
Free web tool

UTM link builder

This UTM link builder adds campaign tracking tags to a link so analytics tools can show where visitors came from. Marketers use it for emails, ads and social posts.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

49 characters

Required, such as google or newsletter
Required, such as cpc or email
Required
Optional, paid keywords
Optional, tells links apart
Optional
Lowercase values
Analytics treats Email and email as different values

Result

https://www.example.com/pricing?plan=team&utm_source=newsletter&utm_medium=email&utm_campaign=fall_sale_2026&utm_content=header_button#compare
utm_source
newsletter
utm_medium
email
utm_campaign
fall_sale_2026
utm_content
header_button
Fragment kept at the end
#compare

The short answer

A UTM link is an ordinary URL with query parameters added: utm_source, utm_medium and utm_campaign, plus optional utm_term and utm_content. Add them after ? if the URL has no query or after & if it has one, and keep any #fragment at the very end. Use consistent lowercase values, because reports treat different letter case as different values.

FormulaURL = base ? existing_query & utm_source=... & utm_medium=... & utm_campaign=... # fragment

Worked exampleTagging https://www.example.com/pricing?plan=team#compare with source newsletter, medium email, campaign fall_sale_2026 and content header_button gives https://www.example.com/pricing?plan=team&utm_source=newsletter&utm_medium=email&utm_campaign=fall_sale_2026&utm_content=header_button#compare.

Example

Input
https://www.example.com/pricing?plan=team#compare
Result
https://www.example.com/pricing?plan=team&utm_source=newsletter&utm_medium=email&utm_campaign=fall_sale_2026&utm_content=header_button#compare
utm_source
newsletter
utm_medium
email
utm_campaign
fall_sale_2026
utm_content
header_button
Fragment kept at the end
#compare

How to use the utm link builder

  1. Paste the page link into the Page URL to tag box.
  2. Fill in Campaign source, Campaign medium and Campaign name, plus Campaign term, Campaign content or Campaign ID if needed.
  3. Choose Lowercase values. The tagged link updates as you type.
  4. Use Copy result to paste the tagged link into your campaign.

How it works

Existing query parameters stay in place and the UTM parameters are added after them, while a #fragment stays at the very end.

If the URL already has a UTM parameter that you set here, the old value is replaced.

Values are percent-encoded, so a space becomes %20, and lowercasing keeps reports consistent because analytics tools treat different letter case as different values.

The base must be an absolute http or https URL, and source, medium and campaign are required.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

Which UTM parameters are required?

utm_source, utm_medium and utm_campaign are the core three. utm_term, utm_content and utm_id are optional.

Are UTM parameters case sensitive?

Yes. Google Analytics treats Email and email as different values, so a consistent lowercase style keeps reports clean.

Should I use UTM tags on internal links?

No. In Google Analytics 4, a UTM tag on a link between your own pages replaces the visit's original traffic source, so reports credit the wrong campaign.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools