Benchvale

UTM validator

A valid campaign URL needs one unambiguous source, medium, and campaign. Paste a URL here to expose all five standard UTM parameters and flag missing values, empty tags, duplicates, whitespace, unknown UTM names, or parameters placed after the fragment. Nothing is fetched and the URL never leaves this tab.

Check a campaign URL

Validation

problems

Measured on this page, in this browser
Network requests
·
Our own script
·

Was this tool useful?

Your campaign URL never leaves your browser: this page doesn't send it to us or anywhere else. Once the page has loaded, you can disconnect and keep working. How we build tools
Requests: · listed · unlisted Script · Updated

What this validator checks

The validator parses the URL with the same URL model a browser uses. It checks for the five conventional parameters: utm_source, utm_medium, utm_campaign, utm_term, and utm_content. Source, medium, and campaign are required here because without them a campaign row cannot reliably answer where a visit came from, which channel carried it, and which initiative earned it.

Parameter names are matched case-insensitively, and any name that is not lowercase is reported.

Two URLs that look tagged and are not usable

Paste https://example.com/offer?utm_source=newsletter&utm_source=facebook&utm_medium=email&utm_campaign=fall. The page reports two utm_source values and refuses to pick one. A parser that kept the first would credit the newsletter. A parser that kept the last would credit Facebook. The only honest verdict is that the attribution is ambiguous.

Paste https://example.com/offer#utm_source=newsletter&utm_medium=email&utm_campaign=fall. The tags sit after #. A browser does not send the fragment to the web server with the request (RFC 3986 section 3.5), so tags placed there are not part of the query string that analytics tools read from the URL. They remain visible in the address bar. Move the same keys onto the query string and the check can pass.

It also catches duplicate keys in any order, not only source. A URL containing two utm_medium values is syntactically legal, but different parsers may keep the first, keep the last, or expose both. The tool does not silently choose one.

Valid does not mean consistent

A URL can pass every structural check and still split one source across several rows. Analytics systems treat facebook, Facebook, and fb as different strings. This validator reports what is in one URL. The naming consistency checker compares it with the spellings you have deliberately saved on this device. Why UTM names split your reports explains the mechanism without treating it as a product bug.

Unknown parameters beginning with utm_ are reported rather than removed. Google Analytics documents utm_id (Campaign ID), utm_source_platform, utm_creative_format, and utm_marketing_tactic; those four are named as notes, not warnings. Any other utm_ name is listed so you can check it, without treating it as one of source, medium, campaign, term, or content.

Questions

How do I check if a UTM link is correct?

Paste the whole link. The validator lists all five UTM tags and flags missing, empty or doubled ones, stray spaces and bad % codes. It also catches capitalized names like UTM_Source and tags placed after the #. A clean link reads "Valid UTM URL." It checks the link's structure, not your spellings. For those, use the naming consistency checker.

Does a UTM link need all five parameters?

No. The validator requires source, medium and campaign. Term and content can be left out. Leave out utm_campaign and it's flagged as missing. Other tags that start with utm_, such as utm_id, are listed for you to check but don't count as errors. Google's URL builders help page lists utm_id as "Campaign ID."

Why are UTM tags after the # flagged?

The part after # is a fragment. Under RFC 3986, it's "separated from the rest of the URI prior to a dereference," so it isn't in the request your server gets. Paste https://example.com/offer#utm_source=newsletter&utm_medium=email&utm_campaign=fall and all three required tags show as missing, plus a fragment error. Move them in front of the #, after a ?.

What if a parameter appears twice?

It's marked as an error and the validator won't pick a winner. With utm_source=newsletter&utm_source=facebook, you'll see "utm_source appears more than once. Analytics platforms may choose different values." Names are read without regard to case, so utm_source plus UTM_SOURCE counts as a duplicate too. You'll also get a note to rename the capitalized one. Keep one copy of each tag.

Does it test whether the landing page works?

No. It never opens the link, so it can't tell you whether the page loads, redirects or shows the right tags. Opening it would send your URL off this page. It does check that the address has a real-looking host. A link without https:// is still read, since the validator adds it before checking.

Is my campaign URL saved or sent?

It isn't saved. This page keeps nothing in browser storage. Copy share link puts the URL after the # in a link to this page, and browsers don't send that part to a server. To check for yourself, open your browser's network panel, paste a campaign URL, and look for any request that carries it.

Related tools

Use the UTM naming consistency checker to catch capitalization and punctuation drift against your saved vocabulary. The URL encoder explains why a space sometimes becomes %20 and sometimes becomes a plus. For the reporting mechanism, read why UTM names split your reports.

Maintained by Aaron Wilson
Published . Last updated . How the tools work and how we check them: how we build tools. Something wrong? Tell us.