Browser-based marketing tool · your links stay in this tab

Bulk UTM Builder

Add campaign parameters to many URLs at once. Type rows, paste a table, or open a CSV; set defaults and naming rules so 'Paid Social' and 'paid-social' do not end up as two sources in analytics. Existing query strings and #fragments are kept, and the finished list exports as CSV, XLSX or a ZIP of QR codes.

Defaults and naming rules

Defaults fill empty cells; naming rules clean every value, typed or imported.

Custom parameters
Presets (saved in this browser)
  • No presets yet. A preset stores the defaults, naming rules and custom parameters.

Import links

A header row with url, source, medium, campaign, term, content (other columns become custom parameters), or just one URL per line.

Paste a table or a list of URLs to import.

Rows
3
Ready
2
Errors
0
1 with warnings

Links

3 rows. The Final link column updates as you type.

#Base URLutm_sourceutm_mediumutm_campaignutm_termutm_contentutm_idFinal linkRemove
1https://example.com/spring-sale?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale_2026&utm_content=header_button
2https://example.com/pricing?plan=pro&utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring_sale_2026&utm_term=csv_tools#compare
3https://example.com/blog/csv-tips?utm_source=twitter&utm_medium=social
Missing utm_campaign. Google Analytics campaign reports need source, medium and campaign.

Bulk UTM Link Builder

Operator: Abdulla Al Fahad. How tools are built and checked

UTM parameters are simple, and that is the problem: nothing stops one person writing utm_medium=Email and another writing e-mail, and analytics will happily count them as two different channels. Tagging a single link is a thirty-second job in any builder. Tagging a hundred, in a way that stays consistent from one campaign to the next, is a spreadsheet chore, and it is where the typos live.

This builder works on a table of links. Each row has a URL and any of the six standard parameters plus any custom ones you add; defaults fill the blanks; naming rules clean every value the same way; and the final links appear beside the inputs as you type. Query strings and #fragments already on a URL are left as they were, problems are flagged row by row, and the finished list downloads as CSV, XLSX or a ZIP of QR codes for the links that will be printed.

Key features

  • Editable table plus import from pasted CSV or an opened file; a header with a url column maps source, medium, campaign, term, content and id, and extra columns become custom parameters
  • Defaults for source, medium, campaign, term and content that fill empty cells
  • Naming rules: lower-case, spaces to underscore, hyphen or nothing, and removal of special characters
  • Existing query strings and #fragments preserved, with a choice to replace or keep a utm_ parameter that is already in the URL
  • Row checks for invalid URLs, missing source, medium or campaign, over-long links and duplicate final links
  • Presets saved in your browser, and exports to CSV, XLSX (with clickable links) and a ZIP of QR code PNGs

Naming rules, existing parameters and what gets validated

The parameters are added in a fixed order after whatever query the URL already has: utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, then your custom parameters. A URL such as https://example.com/pricing?plan=pro#compare keeps plan=pro and #compare exactly as written; the new parameters go between them. Values are percent-encoded, and parameters that are already present are matched by name without regard to case.

Naming rules run on every value, typed, imported or taken from a default. With lower-case on, Paid Social becomes paid social; with spaces set to underscore it becomes paid_social; with special characters removed, anything that is not a letter, digit, underscore, hyphen or full stop is deleted, so Spring Sale 2026! becomes spring_sale_2026. Repeated separators are collapsed. Letters from other alphabets are kept. If you turn removal off, characters such as & and = are still percent-encoded so they cannot break the link.

Checks are shown beside each row. An empty URL or one that is not an http or https address with a host name is an error and is left out of the exports. A missing source, medium or campaign is a warning, because Google Analytics campaign reports need all three. A final link over 2,000 characters is a warning, and two rows that produce the same final link are flagged on the second. If lower-case is off and the same source, medium or campaign appears with different capitalisation in different rows, a note above the table names the variants. A URL typed without a scheme gets https:// added when that option is on, and a note says so.

Up to 5,000 rows can be held, shown 50 at a time. QR codes are made for the first 500 rows without errors, at error-correction level M with a four-module margin, as black on white PNGs of up to 600 pixels on a side; a link too long to fit in a QR code is skipped and counted. The PNGs are named by row number, campaign and source, such as 003-spring-sale-2026-linkedin.png.

How it works

Each row is rebuilt from scratch whenever a cell or a setting changes: the URL is split at the first # and the first ?, the existing pairs are kept as text, the cleaned parameters are appended or replace matching ones, and the pieces are joined back. Because the existing query is never parsed and re-serialised, its order, encoding and any unusual characters survive untouched.

Presets are stored in your browser's local storage as plain JSON: the defaults, naming rules, custom parameter names and the replace-or-keep choice. If the browser blocks storage, saving fails quietly and the page tells you presets will last only until you leave. Rows are never stored.

Typical uses

  • Tagging 120 landing-page links for a spring campaign across email, LinkedIn and print from one sheet
  • Cleaning an existing campaign export where the same medium was typed five different ways
  • Generating a QR code image for each print placement so the code carries its own tracking parameters
  • Re-using last quarter's naming rules through a saved preset instead of retyping them

Building one

  1. Set the defaults you want on every link, such as the campaign name, and the naming rules.
  2. Paste a CSV into Import links and press Replace rows, or type into the table. The sample rows show the idea.
  3. Fill source, medium and the other columns per row; empty cells use the defaults.
  4. Read the Final link column and fix any row flagged with an error or a warning.
  5. Save the settings as a preset if you will reuse them.
  6. Download CSV or XLSX, or the ZIP of QR codes for printed links.

Example

One row with the default naming rules (lower-case, spaces to underscore, special characters removed)

url:          https://example.com/pricing?plan=pro#compare
utm_source:   LinkedIn
utm_medium:   Paid Social
utm_campaign: Spring Sale 2026
utm_term:     csv tools

Final link

https://example.com/pricing?plan=pro&utm_source=linkedin&utm_medium=paid_social&utm_campaign=spring_sale_2026&utm_term=csv_tools#compare

Tips for best results

  • Pick one convention for each field and write it in a preset: source is the platform (newsletter, linkedin), medium is the channel type (email, paid_social, cpc), campaign is the initiative.
  • Leave lower-case on. Analytics reports are case-sensitive, so mixed case splits a single channel into several rows.
  • Put differences between placements in utm_content, such as header_button and footer_link, so the same campaign can be compared by position.
  • Do not put personal data in any parameter; links are visible in browsers, logs and referrers.
  • For print, keep the final link short. Long links make a dense QR code that is harder to scan from a poster.

Things to check before you rely on it

Tagging internal links on your own site overwrites the visitor's original source in many analytics setups. Use UTM parameters on links that point to your site from elsewhere.

Replacing an existing utm_ parameter changes where a link's traffic is attributed. If a URL arrives already tagged by a partner, choose Keep the one already there.

A redirect on the destination can drop the query string before analytics sees it. Test one tagged link in the real browser path.

Hyphen and underscore are different characters. paid-social and paid_social are separate values to analytics, and the naming rules do not merge them.

Common errors and how to fix them

"This is not a valid http(s) URL with a host name"
Check for a missing domain, a space inside the address, or a scheme such as ftp: or mailto:. Only http and https links are tagged.
"Missing utm_medium, utm_campaign"
Fill the cells or set a default. The link will still work, but it will not appear in campaign reports.
"Same final link as row 3"
Two rows have the same URL and values. Remove the repeat, or change utm_content if both placements should be tracked.
No rows were found when importing
Give the first row a url column, or put one URL per line with nothing else in the first column.

Best practices

  • Keep a master sheet of campaign names so every team member reuses the same spelling.
  • Test one tagged link per channel before sending the batch, and check it in the real-time report.
  • Save the exported CSV with the campaign: it is the record of what each link was meant to track.

The QR code ZIP

Each QR code encodes the complete final link, tracking parameters included, so scanning a poster registers as the print source rather than as direct traffic. The images are drawn in your browser from the same matrix generator used by the QR code page on this site, packed into a ZIP.

Scan a printed sample with a phone before printing a run. If a code is hard to scan, shorten the link with a redirect on your own domain and tag that instead.

Frequently asked questions

Do I need all five UTM fields?

Source, medium and campaign are the ones campaign reports rely on. Term and content are optional and useful for paid search keywords and for telling placements apart.

Will existing parameters in my URLs be changed?

No, apart from a utm_ parameter of the same name, which is replaced or kept according to your setting. Other parameters and the #fragment stay as they were.

Which analytics tools read these parameters?

Google Analytics, Matomo and most other tools read utm_source, utm_medium and utm_campaign. utm_id and custom parameters are only used if your analytics is set up to read them.

Can I use custom parameters?

Yes. Add a name under Custom parameters, or include a column with that name in an imported CSV, and it is added to every link that has a value.