Free UTM builder
Add UTM parameters to one link, or to a list of links at one time. Copy the tagged links or download them as a CSV file. No signup. All processing is in your browser.
The link can have other parameters and an anchor. The tool keeps them.
Paste a column from a spreadsheet, or one link on each line. Up to 10,000 links. The same UTM values go on each link.
Where the click comes from, for example newsletter, linkedin or google.
The type of channel, for example email, social or cpc.
The name of the campaign, product or promotion.
The paid keyword. Optional.
The ad, button or link that people clicked, if a campaign has more than one. Optional.
In Google Analytics, utm_source=google and utm_source=Google are two different values (source: Google Analytics Help). A space becomes %20 in the link. Use lowercase letters, and an underscore or a hyphen in place of a space.
Correct this input, then build again:
Open the tagged link once, and make sure that it opens the correct page.
Your tagged links
Lines that are not complete web links:
The CSV file has 4 columns: the line number, the original link, the tagged link and an error for a line that is not a link.
What this tool does
This tool adds the 5 common UTM parameters to a link: utm_source, utm_medium, utm_campaign, utm_term and utm_content. Source, medium and campaign are required. Term and content are optional, and the tool leaves them out of the link if they are empty.
In the list mode, the tool puts the same values on each link in a pasted list. This is useful when one campaign has many links, for example each page in a newsletter, each post in a social media plan, or a different form for each event. You can copy the tagged links, or download a CSV file with each original link next to its tagged link.
The tool keeps the other parameters and the anchor of each link. If a link already has values for the 5 UTM parameters, the tool replaces them. It percent-encodes special characters in the values, so that a value with a space, an ampersand or an equals sign does not break the link.
Example
Link: https://example.com/pricing?plan=pro#faq, source newsletter, medium email, campaign spring_sale. Result:
https://example.com/pricing?plan=pro&utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale#faq
The 5 UTM parameters
| Parameter | Required in this tool | What it is | Examples |
|---|---|---|---|
| utm_source | Yes | The referrer: the site, newsletter or place that sends the visit. | google, newsletter4, billboard |
| utm_medium | Yes | The marketing medium. | cpc, banner, email |
| utm_campaign | Yes | The campaign, product, slogan or promo code. | spring_sale |
| utm_term | No | The paid keyword. | running_shoes |
| utm_content | No | Which creative, ad or link in the campaign was clicked. | header_button, footer_link |
Descriptions, and the examples for utm_source, utm_medium and utm_campaign: URL builders: Collect campaign data with custom URLs (Google Analytics Help)
How to tag a list of links
- Select List of links at the top of the tool.
- Paste your links, with one link on each line. You can copy a column of links from a spreadsheet.
- Enter the source, the medium and the campaign. Add a term or content if you need them.
- Click Build tagged links. If a line is not a complete web link, the tool shows its line number. Correct it, or leave it out.
- Copy all links, or download the CSV file and paste the tagged links back into your plan.
How GA4 reads UTM values
These statements are from the Google Analytics Help Center.
Source, medium and campaign
Google says that you should always use utm_source, utm_medium and utm_campaign. If a UTM parameter is missing, the reports show (not set) for it. The values show in the Traffic acquisition report.
Source: URL builders: Collect campaign data with custom URLs (Google Analytics Help)
Letter case
Google says that parameter values are case sensitive: utm_source=google is a different value from utm_source=Google. Google recommends lowercase as a standard.
Source: URL builders: Collect campaign data with custom URLs (Google Analytics Help)
Other UTM parameters
Google lists more parameters, for example utm_id (a campaign ID) and utm_source_platform. This tool adds only the 5 parameters above. If your link already has one of the other parameters, the tool keeps it.
Source: URL builders: Collect campaign data with custom URLs (Google Analytics Help)
Channels
GA4 puts each visit in a channel of the default channel group, from the source and the medium. Some of the rules are below. Google says that the channel definitions are not case sensitive and cannot be edited. If no rule matches, the channel is Unassigned.
| Channel | Rule |
|---|---|
| The source or the medium is email, e-mail, e_mail or e mail. | |
| Organic Social | The source is a known social site, or the medium is social, social-network, social-media, sm, social network or social media. |
| Paid Search | The source is a known search site, and the medium has cp in it (for example cpc), is ppc or retargeting, or starts with paid. |
| Paid Social | The source is a known social site, and the medium has cp in it (for example cpc), is ppc or retargeting, or starts with paid. |
| Display | The medium is display, banner, expandable, interstitial or cpm. |
| Referral | The medium is referral, app or link. |
| Affiliates | The medium is affiliate. |
Naming rules for your team
UTM values are useful only if the whole team writes them in the same way. Agree on these rules before a campaign starts:
- Use lowercase letters only.
- Use an underscore or a hyphen in place of a space. Choose one and use it always.
- Keep a short list of medium values, for example email, social and cpc, and do not add new spellings.
- Use the same campaign name on each link of a campaign, also in different channels.
- Use utm_content to tell links of the same campaign apart, for example header_button and footer_link.
- Keep the tagged links in a spreadsheet, so that the team can find the values later. The CSV file from the list mode is a good start.
Tag the link to a form or survey
When you share one form in many places, for example in a newsletter, on LinkedIn and on a poster, give each place its own tagged link. Your analytics then shows which place sent the visits to the form. Use the same campaign value on each link, and a different source or content value.
For a poster or a flyer, tag the link first, and then make a QR code from the tagged link with the survey QR code generator. Make sure that your form tool accepts a link with extra parameters: open the tagged link once before you share it.
Questions
Is my data sent to a server?
No. The tool tags the links in your browser, and this page does not send or save your links or values. The site uses Plausible analytics to count page visits. Plausible does not receive what you enter.
Do I need an account?
No. The tool is free and needs no signup.
How many links can I tag at one time?
Up to 10,000 lines in the list mode. Empty lines are skipped. Lines that are not complete web links are shown with their line number, and the tool tags the other lines.
What happens to the other parameters and the anchor in my link?
They stay in the link with no change. The tool adds the UTM parameters after the other parameters and before the anchor, the part after #.
What if my link already has UTM parameters?
The tool removes utm_source, utm_medium, utm_campaign, utm_term and utm_content from the link, and then adds the values from this page. Thus each parameter is in the link only once. Other parameters, for example utm_id, stay in the link.
Why does my value have %20 or %26 in the link?
Some characters, for example spaces, the ampersand and the equals sign, have a special function in a link. The tool percent-encodes them, so that the value stays complete. A space becomes %20. To get clean links, use lowercase letters and an underscore or a hyphen in place of a space.
Does the tool make short links?
No. The tool makes the full tagged link. You can give the tagged link to a link shortener after you check it.