Saved

Press the star next to a tool's name to save it.

All my tools

UTM Builder

Use this UTM builder to add campaign tags to a web address. Fill in the source, medium and campaign, and the tool returns a correctly encoded link that keeps your existing parameters and fragment.

Source, medium and campaign are required. Spaces become %20, and any utm_ tags already on your link are replaced.

Everything is worked out in your browser. Nothing you type is sent anywhere.

Your tagged link

Enter a web address and the three required tags, then press Build link.

A UTM builder adds tracking tags to a web address so your analytics software can tell which email, post or advert sent each visitor. You give the page address and describe the campaign, and the tool returns one link with the tags added and encoded correctly. Existing parameters and any #fragment on your link are kept, and old utm_ tags are replaced rather than repeated. Everything is built in your browser, so your campaign plans stay private.

How to use the UTM builder

  1. Paste the page address, with or without https://.
  2. Enter the source (where the link will appear), the medium (the kind of channel) and the campaign name.
  3. Add a campaign ID, term or content value if you use them.
  4. Leave “make every value lowercase” on unless you have a reason to keep capitals.
  5. Press Build link and copy the result.

The UTM parameters explained

Wikipedia lists five standard UTM parameters, which may be used in any order [1]. The source says which site referred the traffic, the medium shows the link category such as email or paid search, and the campaign labels a specific promotion [1]. The term records search terms, and the content identifies the clicked element, such as a banner or a text link, and is often used for A/B testing [1]. Google’s own help says you should always use utm_source, utm_medium and utm_campaign, and it also lists utm_id [2].

TagWhat it recordsExample value
utm_sourceWhere the link appearsnewsletter
utm_mediumThe kind of channelemail
utm_campaignThe promotionspring_sale
utm_idA campaign identifier2026-04
utm_termSearch termsrunning shoes
utm_contentWhich link was clickedheader_button

A worked example

Start with https://www.example.com/sale. Enter newsletter as the source, email as the medium and spring_sale as the campaign. The tool returns https://www.example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. If you add the term “running shoes”, the space is written as %20, so the link stays valid when you paste it into an email or a post.

Why encoding matters

A web address can contain only certain characters. A space, an ampersand or a hash sign inside a value would break the link or cut it short, so the tool encodes them. An ampersand in “A&B” becomes %26, a hash sign becomes %23, and a space becomes %20. Plus signs are also valid for spaces in a query, as the Wikipedia example for a search term shows [1], but %20 works in every part of an address. Our own working is to use %20 throughout.

Why lowercase is the safe habit

Google states that parameter values are case sensitive, so utm_source=google and utm_source=Google count as different values, and it recommends lowercase as a standard [2]. If one teammate writes Email and another writes email, your reports split into two rows. The lowercase option removes that risk. Underscores or hyphens between words, as in spring_sale or summer-sale, are the style used in the examples from both sources [1] [2].

Tips for clean campaign tracking

  • Agree names in a shared list so every link uses the same source and medium words.
  • Use UTM tags on links you control, such as emails and social posts, not on links between pages of your own site.
  • Keep names short and free of personal details, because the tags are visible in the address.
  • Use utm_content to tell two buttons or two adverts apart in the same campaign.
  • Test the final link by opening it, then check the real-time report in your analytics.

Naming the source, medium and campaign

Good names make reports readable months later. The source answers “where did the click come from?” and is usually the name of a site, a list or a partner, such as newsletter, facebook or a partner’s name. The medium answers “what kind of channel was it?” and works best with a short fixed set of words such as email, social, cpc or referral. The campaign answers “which promotion was it?” and can be a product launch or a season. When these three stay consistent, you can add up results across channels without cleaning the data first.

Using the optional tags

The campaign ID ties a link to an entry in another system, such as a spreadsheet of campaigns or an advertising account. The term is meant for paid search keywords, although some teams use it to mark an audience. The content tag is the one most people forget. Give two versions of the same advert different content values, such as blue_button and green_button, and your reports show which version drew more visits. Only fill in the tags you will actually read later, because every extra tag makes the address longer and harder to check by eye.

After you copy the link, paste it into a new browser tab and make sure the page opens normally. Then look at the address bar: each tag should be separated by an ampersand, with no spaces. If you plan to use the link in print, turn it into a QR code, and if the address is very long, shorten it with a service you trust. Remember that anyone can read the tags, so avoid names, email addresses or other private details inside them.

Common mistakes

  • Leaving out the campaign name, which leaves a “not set” value in reports.
  • Mixing capitals and lowercase for the same source.
  • Adding UTM tags to internal links, which can overwrite the original traffic source.
  • Pasting a link that already has tags and building a second set on top. This tool replaces old utm_ tags to avoid that.

What next

Use this often? Add UTM Builder to your Home screen.

Frequently asked questions

What does a UTM builder do?

It adds utm_source, utm_medium, utm_campaign and optional tags to a web address and encodes the values correctly, so analytics software can tell where each visitor came from.

Which UTM parameters are required?

Google says to always use utm_source, utm_medium and utm_campaign. This tool requires those three and treats the others as optional.

Are UTM values case sensitive?

Yes, according to Google, so Email and email are different values. The lowercase option keeps your reports tidy.

Does the tool keep my existing parameters?

Yes. Other parameters and the #fragment stay in place. Existing utm_ tags are replaced by the new ones.

Is my link sent to a server?

No. The link is built in your browser and nothing is uploaded.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Developer Tools