Skip to content
ToolsOnDuty - free online tools

Search tools

Loading tool search...

Web & SEO

UTM Campaign URL Builder

Build trackable campaign URLs with UTM parameters for analytics.

Free browser toolRuns in your browserNo sign-up
Campaign URL
https://example.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

About the UTM Campaign URL Builder

Add source, medium, campaign and optional term/content tags to a destination URL. Source describes the referring source, medium the channel, campaign the initiative, and term/content help distinguish keywords or creative variants. Analytics interpretation depends on your analytics setup.

Nonblank fields are trimmed and set with URLSearchParams, preserving unrelated query parameters and the fragment. A populated tag replaces existing values for that key. Leaving a tag field blank does not remove an existing tag from the destination URL; inspect the final URL.

The helper tries the input URL and then an https:// prefix. It is not an HTTP-only or destination-safety validator. Use an explicit reviewed HTTP(S) destination, consistent naming and no personal data or secrets in tags; copied links expose their query values to recipients and downstream services.

Key features

  • All five standard UTM parameters
  • Correctly encoded output
  • Common medium suggestions
  • One-click copy

How to use

  1. 1Enter the website URL you are linking to.
  2. 2Fill in the source, medium and campaign name.
  3. 3Copy the generated campaign URL.

Examples

Track an email campaign
Input: https://example.com; source newsletter; medium email; campaign summer
Output: https://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=summer

The parameters are URL-encoded and preserve existing query values.

Preserve other parameters and replace a tag
Input: https://example.com/page?ref=nav&utm_source=old#details; source newsletter; medium email; campaign Spring Sale
Output: https://example.com/page?ref=nav&utm_source=newsletter&utm_medium=email&utm_campaign=Spring+Sale#details

The fragment and ref parameter stay; the old source is replaced, and spaces encode as +.

Frequently asked questions

What are the required UTM parameters?
Source, medium and campaign are common core conventions. This generator does not require all three before producing a link; term/content are optional. Follow your analytics platform's requirements.
Do UTM tags affect SEO?
These are attribution labels, not ranking improvements. Use consistent public URLs/canonicals and avoid unnecessary internal campaign tagging or leaking confidential values.
Does clearing a field remove an old tag in the base URL?
No. Only nonblank entered values are set. A pre-existing utm_source or other tag remains when its field is blank; remove it from the base URL yourself.
Are UTM parameters case-sensitive?
Analytics tools can report differently cased values separately, so use one consistent lowercase naming convention for cleaner reports.

Open a related tool to prepare your files or refine the finished result.