UTM Link Builder for Campaign URLs

Type the page address and your campaign values. You get one tagged link, or a list of tagged links for many pages at once, ready to copy or download.

Free Runs in your browser Checked Tuesday, November 10, 2026

The full address of the page, starting with https:// or http://. Parameters after a question mark and the part after # are kept.

Where the visitors come from: a site, a publication, an advertiser. For example google.

The type of channel, for example cpc for paid search or email for a newsletter.

The name of the campaign or promotion, for example spring-sale.

Optional. The paid search keyword.

Optional. Tells two links in the same ad or email apart, for example top and bottom.

Optional. An ID that identifies the campaign or promotion.

Changes only the utm values typed above, never the address.

Fills Source and Medium when they are empty. Values you typed are kept.

The same utm values are added to each line. Blank lines are skipped. A line that is not an http or https address is reported with its line number.

Result

Tagged link
Tagged links

This tool runs in your browser. What you enter is not sent to us.

How to use it

  1. Paste the page address into Page address. A question mark part or a # part already in it is kept.
  2. Choose a Preset for a common channel, or type Source (utm_source), Medium (utm_medium) and Campaign (utm_campaign) yourself.
  3. Fill in Term (utm_term), Content (utm_content) or Campaign ID (utm_id) only when the campaign needs them. An empty field adds nothing.
  4. Copy the tagged link. For many pages, paste one address per line into Several addresses, one per line, then use Download on the tagged list.

How the tagged link is built

A campaign link is the page address with campaign parameters added to the end of its query. Google's help describes URL builders as a way to collect campaign data with custom URLs.

The tool follows these rules every time:

  • The parameters already in the address keep their order and their values.
  • A utm_ parameter you fill in replaces the parameter of the same name in the address, so it never appears twice.
  • The utm_ parameters are written in the order source, medium, campaign, term, content, ID.
  • Values are percent-encoded: a space becomes %20, and a &, a # or another special character cannot break the link.
  • The part after # stays at the very end of the link.

What the parameters mean

Google's help page describes utm_source as the advertiser, site or publication that sends the traffic, utm_medium as the channel type (for example cpc or email), utm_campaign as the campaign name, utm_term as a paid search keyword and utm_content as a way to tell links in the same ad apart. utm_id is the campaign ID, used to identify a specific campaign or promotion.

Google advises that you always use utm_source, utm_medium and utm_campaign when you add parameters to a URL. utm_term and utm_content are optional.

What the tool does not check

  • Whether the page exists, redirects or works. The tool reads only the text you type.
  • Whether the names match the ones in your reports. Google says that parameter values are case sensitive, so keep one spelling for each source, medium and campaign.
  • How the campaign appears in your reports. Open the tagged link in a browser before you publish it.

Worked example: a paid search link with a preset

The page is https://www.example.com/spring-sale?ref=newsletter#offers. The Google paid search preset fills Source with google and Medium with cpc, because both fields are empty. The campaign is Spring Sale and the term is Running Shoes. The tool writes both in lower case and encodes the spaces.

The tagged link keeps ref=newsletter and #offers, and adds the four utm_ parameters in order. The list box adds the same values to every address it contains.

Address typed Tagged link
https://www.example.com/spring-sale?ref=newsletter#offers https://www.example.com/spring-sale?ref=newsletter&utm_source=google&utm_medium=cpc&utm_campaign=spring%20sale&utm_term=running%20shoes#offers

Frequently asked questions

Which utm parameters should I always use?

Google advises that you always use utm_source, utm_medium and utm_campaign when you add parameters to a URL. utm_term and utm_content are optional, and utm_id identifies the campaign.

Are utm values case sensitive?

Yes. Google's help says that utm_source=google is different from utm_source=Google, so the lower-case option keeps one spelling in every link you make.

Why are spaces written as %20?

A space in a link is written as %20 in this tool. Google's help does not say how spaces should be written, so open the finished link in a browser before you publish it.

What happens to a link that already has utm parameters?

A utm_ parameter you fill in replaces the parameter with the same name, so the link does not carry it twice. Other parameters and the #fragment stay as they are.

Does the tool send the addresses anywhere?

No. The links are built in your browser. Nothing you type is sent to us or stored, and the download is created on your own device.

What happens to a line of the list that has a mistake?

A line that does not start with https:// or http:// is left out of the tagged list, and its line number is shown under the result. Blank lines are skipped without a message.

Sources

Figures and text last checked on Tuesday, November 10, 2026.

We use necessary cookies to run the site. With your consent, Google also uses advertising cookies to show personalised ads. If you reject them, you still see ads, but they are not personalised.