UTILS.
Private by default
utm

UTM Link Builder

Build campaign tracking URLs with encoded UTM parameters for analytics.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

UTM Link Builder adds campaign tracking parameters to a web address so analytics tools can show which link brought a visitor. Enter the base URL, including https://, and fill in any of the five fields: utm_source (where traffic comes from, such as newsletter), utm_medium (the channel type, such as email or cpc), utm_campaign (the campaign name), utm_term (paid keywords) and utm_content (to tell links or ad variants apart). The finished URL appears as you type and copies with one click.

The link is built with the browser's URL API. Empty fields are left out, and if the base URL already contains any of the five utm_ parameters they are replaced rather than duplicated. Other query parameters and any #fragment are kept, although the whole query string is re-encoded, so a space written as %20 becomes +. Values are trimmed but their case is not changed, and most analytics reports treat Email and email as different values, so settle on one naming convention. A bare domain such as https://example.com gains a trailing slash. A base URL the browser cannot parse, for example one with no scheme, shows an error instead of a link.

The tool does not insist on source, medium or campaign, but most analytics setups expect all three, and utm_id is not offered. Avoid putting personal data such as email addresses into the values, because they end up in analytics and server logs.

Frequently asked questions

What are UTM parameters?
Tags like utm_source and utm_medium added to a URL so analytics tools can attribute traffic to a campaign.
Are values encoded?
Yes. The builder uses the browser's URL API, which encodes values the way web forms do: spaces become + and characters such as & and = are percent-encoded. Most analytics tools read + as a space.
What happens to parameters already in my URL?
Other parameters and the #fragment stay in place. Any of the five utm_ parameters already present are replaced by the values you enter, or removed if you leave that field empty.
Should I use UTM links inside my own site?
Generally no. UTM tags are meant for links from outside sources, and using them on internal links can start a new session or overwrite the original source in some analytics tools.

More tools