Skip to main content

UTM builder

Build URLs with UTM parameters for campaign tracking in Google Analytics and other analytics tools.
URL 1
Fill in the fields to build your campaign URL
Best practices for UTM parameters

Do

  • • Always use lowercase
  • • Use underscores instead of spaces
  • • Keep one naming convention
  • • Choose descriptive, unique names
  • • Document your UTM campaigns

Avoid

  • • Mixing upper and lower case
  • • Using special characters
  • • Very long parameter values
  • • Inconsistent naming
  • • UTM parameters on internal links

Build UTM parameters in four steps

  1. Enter the website URL. If https:// is missing, the builder adds it.
  2. Click a preset under 'Quick select', such as Google Ads or Newsletter. The preset fills in source and medium. More presets, such as Email, organic social posts, QR code, and Print ad, are in the 'More...' dropdown. You can also fill in both fields yourself.
  3. Add utm_campaign and, if you need them, utm_term and utm_content.
  4. Copy the generated URL. With 'Add another URL' you can build several links one after another.

How the builder cleans up your input

The builder applies one consistent format for you. In the finished URL every value is lowercase and spaces become underscores, so 'Summer Sale' turns into summer_sale. Fields you leave empty do not appear in the URL at all. Without utm_source, the builder shows the note 'utm_source is missing', gives no valid mark, and leaves the link out of the CSV export.

  • Parameters that are already in your URL stay unchanged, including their spelling (%20 does not become +). If you fill in utm_source and the URL already has one, the builder replaces it. It appends the UTM parameters at the end of the query.
  • An anchor with # stays at the end of the URL.
  • Umlauts and special characters are URL-encoded. The letter ü becomes %C3%BC, which makes the address harder to read. Stick to letters, digits, and underscores.
  • The builder rejects addresses that do not work with http or https. You then see 'Invalid URL' and get no link.

Typical use cases

  • Newsletter. The 'Newsletter' preset sets utm_source to newsletter and utm_medium to email. Enter one campaign name per issue.
  • Social media posts. Organic posts get the medium social, paid ads get paid_social.
  • Print and posters. The presets 'QR code' and 'Print ad' set the medium to offline.
  • Several links at once. After the CSV export you have all finished links with the five parameters in one table, one row per URL.

The CSV contains the base URL as you entered it, the five UTM values in the cleaned-up form (lowercase, underscores), and the finished URL in the last column. That way the values in the table match what Google Analytics shows later. If a value starts with =, +, -, or @, the export puts an apostrophe in front so spreadsheet programs do not run it as a formula. The file is UTF-8 with a BOM, and the fields are quoted and separated by commas, so Excel reads accented letters correctly. If your Excel is set up for semicolons as the separator, import the file through 'Data > From Text/CSV'.

A QR code for your UTM URL

The QR icon next to the finished URL opens a small preview. The code is generated in your browser, and your URL is not sent to any service for it. To save it, right-click the image. For print with your own colors, a logo, and an SVG download, use the QR code generator on Blogmojo.

Frequently asked questions

Everything about UTM parameters and campaign tracking
What are UTM parameters?
UTM parameters (Urchin Tracking Module) are tags added to a URL so analytics tools such as Google Analytics can attribute visits to a campaign. They show where your traffic comes from.
Which UTM parameters are there?
There are five: utm_source (where the visit comes from, e.g., google or newsletter), utm_medium (the channel, e.g., cpc or email), utm_campaign (the campaign name), utm_term (keywords, optional), and utm_content (to tell links apart, optional, useful for A/B tests).
Which UTM parameters are required?
Technically all of them are optional, and this builder leaves empty fields out of the URL. For useful tracking, use at least utm_source, utm_medium, and utm_campaign.
How do I use UTM parameters well?
Use one naming convention, such as always lowercase, document your campaigns, and choose descriptive names. Avoid special characters and spaces in the values.
Are UTM parameters case-sensitive?
Yes. Google Analytics counts utm_source=Facebook and utm_source=facebook as different sources. This builder converts every value to lowercase and replaces spaces with underscores, so your links stay consistent.
What does the builder do with my values?
The builder writes every UTM value in lowercase and replaces spaces with underscores. 'Summer Sale' becomes summer_sale. That keeps analytics from counting the same source twice. Parameters already in your URL stay unchanged.
Are my URLs sent to a server?
No. The builder works entirely in your browser, and your URLs and campaign names aren't sent anywhere. The QR preview is generated locally too.
Is the UTM builder free?
Yes. It is free and needs no sign-up. You can build as many URLs as you like and create several campaign URLs at once.

Related tools

All tools

Changelog

Latest updates and improvements to the UTM builder
v1.2.0

November 20, 2026

Source check, CSV with BOM, unchanged query

  • • Added this English version of the tool
  • • Fixed: Without utm_source, the card no longer shows "Valid" but the note "utm_source is missing". Such links aren't included in the CSV export
  • • Fixed: Existing query parameters stay unchanged (%20 no longer becomes +), and only UTM parameters with the same name are replaced
  • • The CSV file starts with a UTF-8 BOM so Excel shows accented letters correctly
  • • The guide now correctly states that the QR code is under "More..."
  • • The FAQ explains the automatic lowercase conversion and that URLs aren't sent anywhere
v1.1.0

November 17, 2026

QR preview without a third-party service

  • • The QR preview is generated locally in your browser, so the URL is no longer sent to an external service
  • • The CSV export contains the UTM values in the same cleaned-up form as the finished URL
  • • Added a guide with instructions and use cases below the tool
  • • Added related tools at the end of the page
v1.0.0

December 8, 2025

Launch

  • • URL builder with all five UTM parameters
  • • Presets for common sources
  • • Bulk creation of several URLs
  • • Export as CSV
  • • QR code generation