UTM Link Builder - Campaign URLs That Analytics Can Read
Untagged campaign links all show up as 'direct' in analytics. Tag them properly here - encoding handled, existing parameters kept, and your recent links saved locally.
Saved history (this browser only)
How to use the UTM Link Builder
- Paste the base URL of your landing page.
- Fill source (where from), medium (what kind of link) and campaign (which push) - the three standard fields.
- Add term or content only when you need to tell two links in the same campaign apart.
- Click Build, copy the tagged URL, and use it in your post, ad or email.
How it works
The builder uses the browser's standard URL parser, so encoding is exactly right: spaces become %20 (or + in query values per URLSearchParams rules), ampersands inside a value can never split into fake parameters, and any query string already on the base URL - like ?ref=nav - is preserved, with existing utm_ values for the same key replaced rather than duplicated. A #fragment stays at the very end, after the parameters, as URLs require. History is stored only in your browser's localStorage (last 20 links), never sent anywhere.
Naming tip
Pick a convention and never vary it: lowercase, hyphens instead of spaces, and the same source names every time (facebook, not FB or Facebook) - analytics treats every spelling as a different source.
Frequently Asked Questions
Is this builder free?
Yes - completely free, no sign-up.
Which UTM fields are required?
By convention: source, medium and campaign. Term (paid keywords) and content (telling two creatives apart) are optional.
What happens to parameters already on my URL?
They are preserved. If the URL already has a utm_source, the new value replaces it instead of duplicating the parameter.
Where is the history stored?
Only in your own browser (localStorage), up to 20 links. Clearing it or switching browsers removes it.
Should I use UTM tags on internal links?
No - tagging links inside your own site overwrites the original session source in analytics. UTMs are for inbound links from outside.
Related Developer Tools
URL Parser & Builder
Break a URL into protocol, host, port, path, query parameters and hash - then edit and rebuild it.
URL Encoder & Decoder
Percent-encode text and URLs safely, with a per-character breakdown table.
Meta Tag Generator
Generate a ready-to-paste HTML meta block with a SERP-style preview.