Skip to content
LocalToolLab

100% Client-Side • Zero Server Uploads

UTM Link Builder

Build consistent, URL-encoded campaign links while preserving existing query parameters.

Build consistent, URL-encoded campaign links while preserving existing query parameters. The UTM Link Builder requires source, medium, and campaign values and automatically encodes them. You can optionally include term and content parameters, and the tool will preserve any existing query parameters in the base URL.

Consistent UTM naming prevents fragmented analytics reports, so pick lowercase values and reuse the same source and medium names across teams. Never put personal data, email addresses, or session identifiers in UTM parameters, because they appear in shared links and referrer reports. Existing query strings are preserved, but duplicate UTM keys are replaced so the final link has exactly one value per parameter. Test the finished link in a private browser window before sharing it, and note the exact spelling you choose in your campaign brief so later reports stay comparable.

Interactive UTM Link Builder workspace

Only http:// and https:// URLs are accepted.

Enter a base URL.

How to use the UTM Link Builder

  1. 1

    Enter required parameters

    Provide source, medium, and campaign. These are required fields.

  2. 2

    Optional parameters

    Add term (keyword) and content (ad variant) if desired.

  3. 3

    Generate and copy

    The tool builds the complete URL with UTM parameters. Copy the result.

  4. 4

    Check the final URL

    Open the generated link once to confirm parameters survive redirects on your destination.

Why use this tool

Required parameters enforced

Source, medium, and campaign are required. The tool will not generate a URL without them.

Preserves existing parameters

If the base URL already has query parameters, they are preserved and merged with the new UTM parameters.

URL-safe encoding

All values are URL-encoded using standard percent-encoding so the link works in any context.

Predictable naming

Values are lowercased and encoded so shared links produce clean analytics reports.

Common use cases

Campaign tracking

Add UTM parameters to URLs for analytics platforms like Google Analytics or Adobe Analytics.

A/B test link tracking

Create tracked links for different marketing campaigns and compare performance.

Newsletter links

Build tracked links for email newsletter campaigns with proper source/medium/campaign identification.

Frequently asked questions

What are the required UTM parameters?
The required parameters are: source (utm_source), medium (utm_medium), and campaign (utm_campaign).
Can I use this with existing URLs?
Yes. If the base URL already has query parameters, they are preserved. Only the specified UTM parameters are added or updated.
What characters need encoding?
All values are percent-encoded. Special characters like spaces (%20), ampersands (%26), and equals signs (%3D) are automatically encoded.
Can I use this for A/B testing?
Yes. Create different UTM parameter combinations for different campaigns and track their performance in your analytics platform.

Keep working in your browser with another tool from the same category.

SEO

OG Previewer

Preview Open Graph titles, descriptions, and images across social platforms without fetching a URL.

Open tool