01What is UTM Builder?
Analytics tools can only report where a visit came from if the link says so. UTM Builder adds those campaign tags to a landing-page URL so Google Analytics and similar tools can group your traffic properly. You paste a Base URL, then fill in utm_source, utm_medium and utm_campaign. The optional utm_term and utm_content fields sit underneath. The tagged link rebuilds on every keystroke and appears under Generated URL with a Copy button. These five parameter names come from Google Analytics' campaign URL documentation, and most other analytics tools read them too. How does it build the link? If your URL doesn't start with http:// or https://, the tool puts https:// in front. It then parses the address with the browser's URL parser. If that fails, you get no output rather than a broken link. Each UTM value is trimmed and encoded with encodeURIComponent. So a space becomes %20, an ampersand becomes %26 and a percent sign becomes %25. A campaign named "50% off & more" comes out as utm_campaign=50%25%20off%20%26%20more and arrives in your reports in one piece. Existing query parameters are kept exactly as you wrote them, in the same order. The tool deliberately avoids URLSearchParams here, because that would quietly turn spaces into + and rewrite slashes. UTM tags go after your own parameters, and any #fragment stays at the very end. If the URL already has a UTM key you are filling in, the old one is dropped so you don't end up with two utm_source values. Empty fields are left out completely. A quick worked example. Base URL https://example.com/docs?ref=nav&utm_source=old#install with source google, medium cpc, campaign brand and term dev tools. That gives https://example.com/docs?ref=nav&utm_source=google&utm_medium=cpc&utm_campaign=brand&utm_term=dev%20tools#install. Some limits. The tool tags one URL at a time. It doesn't shorten links, make QR codes, save past campaigns or enforce a naming scheme. It also only recognises http and https. A URL with another scheme, such as ftp://example.com/file, gives no output, so use it for web pages only. Nothing you type leaves your browser. The link is assembled by local string handling, and the page sends no request when you build it.
Marketers and growth engineers who need a correctly encoded campaign link in a few seconds without breaking the existing query string. The tool runs entirely in your browser, so your data never leaves your device.
02How to use UTM Builder
- Paste your landing page into Base URL, or load the Email Campaign or Social Post example.
- Fill in utm_source (for example newsletter), utm_medium (email) and utm_campaign (summer-sale).
- Add utm_term for paid keywords or utm_content to tell creatives apart, if you need them.
- Check the link under Generated URL and click Copy.
- Open the copied link once in a private window to confirm the page loads before you send it out.
03Worked examples
- Input:
Base URL https://example.com/pricing, utm_source newsletter, utm_medium email, utm_campaign summer-sale - Result:
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=summer-sale - Input:
Base URL example.com/blog, utm_source twitter, utm_medium social, utm_campaign Launch Week 2026 - Result:
https://example.com/blog?utm_source=twitter&utm_medium=social&utm_campaign=Launch%20Week%202026 - https:// is added, and spaces become %20.
- Input:
Base URL https://example.com/docs?ref=nav&utm_source=old#install, utm_source google, utm_medium cpc, utm_campaign brand, utm_term dev tools - Result:
https://example.com/docs?ref=nav&utm_source=google&utm_medium=cpc&utm_campaign=brand&utm_term=dev%20tools#install - The old utm_source is replaced, ref=nav is kept and the fragment stays last.
- Input:
Base URL https://example.com/sale, utm_source newsletter, utm_medium email, utm_campaign 50% off & more - Result:
https://example.com/sale?utm_source=newsletter&utm_medium=email&utm_campaign=50%25%20off%20%26%20more - % and & are encoded so the campaign name isn't split.
- Input:
Base URL http://example.com/a?tags=x+y&path=/b, utm_source x, utm_medium y, utm_campaign z - Result:
http://example.com/a?tags=x+y&path=/b&utm_source=x&utm_medium=y&utm_campaign=z - Existing parameters keep their + and / exactly as written.
- Input:
Base URL not a url at all, utm_source a, utm_medium b, utm_campaign c - Result:
(no URL generated) - The address can't be parsed, so the Generated URL box stays empty.
04Common use cases
- Tagging each link in a weekly newsletter so every issue shows as its own campaign
- Giving two ad creatives different utm_content values so you can compare them
- Adding tags to a filtered product listing URL without breaking its existing ?q= or ?sort= parameters
- Building a link for a partner or affiliate that credits their traffic separately
- Tagging the link in a conference slide or podcast show notes with a campaign name that contains spaces
- Checking how a campaign name with % or & will look once it is encoded
05Tips
- Pick lowercase names with hyphens and stick to them. Google Analytics treats Facebook and facebook as two separate sources.
- Anyone can see and share UTM values in the address bar. Keep customer data, internal code names and pricing plans out of them.
- Don't tag internal links on your own site. A click on one makes analytics credit the visit to your made-up campaign instead of its real source.
- Spaces become %20, not +. Both decode to a space in GA, but %20 is safer if a link passes through tools that treat + literally.
06Related concepts
Google Analytics, Campaign tracking, Attribution, Marketing analytics.
Frequently Asked Questions
What is UTM Builder?
UTM Builder is a free, browser-based developer tool on AIDToolStack. Build UTM-tagged URLs for campaign tracking in analytics. It requires no installation or sign-up and works entirely in your browser.
Is UTM Builder free to use?
Yes. No sign-up, no fees and no usage cap.
Does UTM Builder store my data?
No. It runs in your browser; nothing is uploaded.