UTM Campaign URL Builder

Build free UTM campaign URLs, import existing tags and save complete destinations locally. Review normalized fields and download a QR PNG; no signup.

UTM Builder

Build a campaign URL, inspect its tags and save the complete destination locally.

This form controls utm_source, utm_medium, utm_campaign, utm_term and utm_content. Existing versions of these names are replaced; blank optional fields remove them. Use Import tags from destination to reuse existing values first.

The draft and up to 12 saved campaigns are stored automatically in this browser. Avoid personal data and secrets. Conversion runs locally; sharing a link or QR exposes its destination and tags.

Campaign details

Absolute HTTP or HTTPS URL; up to 8,192 characters. No username or password.

Up to 512 characters; trimmed, lowercased and whitespace changed to hyphens.

Up to 512 characters; trimmed, lowercased and whitespace changed to hyphens.

Up to 512 characters; trimmed, lowercased and whitespace changed to hyphens.

Up to 512 characters; trimmed, lowercased and whitespace changed to hyphens.

Up to 512 characters; trimmed, lowercased and whitespace changed to hyphens.

Generated URL

Enter an absolute destination plus source, medium and campaign to generate a link.

QR appears after the campaign fields are valid.

Validation

Paste a destination URL to start.

Query values and their order are preserved outside the five managed UTM fields, but URL serialization may change their encoding. Do not use signed URLs unless the signing system permits these changes.

Steps

How to use

  1. Enter an absolute destination. Use Import tags from destination to reuse existing UTM values.
  2. Fill source, medium and campaign, then add optional term or content.
  3. Review normalized output, preserved query values and fragments; correct any validation errors.
  4. Copy or save the valid link, or download its successful QR PNG. Test the published destination and analytics separately.
Examples and use cases
  • Tag https://example.com/webinar?lang=en#register with newsletter / email / october-webinar-2026 and hero-button content.
Privacy, limits and tool details

Key facts

Inputs
Absolute HTTP/HTTPS destination; required source, medium and campaign; optional term and content
Outputs
Generated campaign URL and a 512 × 512 QR PNG when encoding succeeds
Normalization
Trim labels, lowercase text and replace whitespace with hyphens; preserve underscores
Existing tags
Replace five supported UTM names case-insensitively; Import reuses their first values
Limits
Destination 8,192 characters; each label 512 before and after normalization; output 16,384
Storage
Automatic local draft plus up to 12 campaigns; same normalized campaign name replaces the prior entry
Processing
URL construction and QR encoding run in the browser; no destination request
Cost and account
Free; no signup required
Privacy

Privacy and processing

Processing method: A bounded browser-side helper validates the URL and five labels, replaces supported UTM parameters, and serializes the result. The existing QR package loads on demand; failed or stale QR results cannot be downloaded.

Privacy model: The draft and saved campaign URLs persist automatically in this browser. URL construction and QR encoding do not upload inputs or fetch the destination. Existing usage events contain operation names and preset IDs, not destination URLs or labels; the tool area is masked for session recording. Avoid personal data and secrets in URLs, local drafts and shared codes.

Limitations

Limitations

  • Does not verify destination availability, redirects, analytics collection or recorded conversions.
  • URL serialization may change query encoding; do not use signed URLs unless the signing system permits changes.
  • Only five UTM fields are edited; other parameters, including utm_id and click IDs, remain and may conflict with the new campaign.
  • Storage is device/browser-specific and may be unavailable; QR capacity can be lower than the URL limit.
Tips

Pro tips

  • Agree on source and medium names before publishing, and review preset values.
  • Restore the full destination, then inspect retained click IDs or additional campaign parameters.
  • A long link may remain copyable while QR generation fails; shorten it and test the code on a real device.
Detailed UTM Builder guide

A UTM campaign URL attaches source, medium and campaign labels to an inbound link. This tool constructs the URL and an optional QR PNG locally in your browser. It does not install analytics, visit the destination or prove that a visit or conversion was recorded.

Use it for links in email, social posts, ads and partner campaigns. For internal navigation or button interactions, use your analytics event plan rather than tagging every link. The Marketing tools category includes related campaign utilities.

How to use the UTM Builder

For a direct chat destination, the WhatsApp Link Generator prepares a number, optional message and matching QR. Keep UTM attribution on your own landing-page URLs; a direct chat link does not verify sent messages or qualified leads.

  1. Enter an absolute https:// or http:// destination. Include required query parameters and a fragment such as #register.
  2. If the destination already has campaign tags, select Import tags from destination to fill the five fields from those tags. Otherwise enter your labels directly.
  3. Fill source, medium and campaign. Term and content are optional. Review the generated values because the tool trims labels, lowercases them and changes whitespace to hyphens.
  4. Correct errors, then Copy, Save campaign or Download QR when available. Test the final published link and your analytics separately.

Source, medium and campaign are required by this builder before any output action. This is a tool validation rule. Google Analytics recommends all relevant campaign parameters, including fields beyond these five; the builder does not implement every parameter Google supports.

Worked newsletter example

For a fictional webinar email, enter:

Field Value Purpose
Destination https://example.com/webinar?lang=en#register Landing page with language and section
Source newsletter Sending list or publication
Medium email Marketing channel
Campaign october-webinar-2026 Shared promotion
Term Leave empty No paid keyword needed
Content hero-button Link placement

The generated URL is:

https://example.com/webinar?lang=en&utm_source=newsletter&utm_medium=email&utm_campaign=october-webinar-2026&utm_content=hero-button#register

The lang value and registration fragment remain. Saving and restoring this campaign retains both. The example assumes a registration section exists; the tool does not check it. For a footer link in the same email, retain source, medium and campaign and change content to footer-link.

Existing tags, duplicates and Import

The editor controls utm_source, utm_medium, utm_campaign, utm_term and utm_content. It removes all occurrences of those five names from the destination, ignoring name casing, and appends the nonempty normalized field values. This avoids competing UTM_SOURCE and utm_source tags. Clearing term or content removes an old tag; clearing a required field disables output actions until it is filled again.

Import takes the first occurrence of each supported name, ignoring name casing, and fills the editor. It removes those five tags from the destination field while retaining the path, other query values, repeated parameters and fragment. Import can load a partially tagged link; fill missing required fields before copying.

Other parameters remain, including utm_id, utm_source_platform and click IDs such as gclid. Review them when changing campaigns: retaining an old campaign ID or click ID may conflict with your new labels. The tool does not reconcile these values or manage advertising accounts.

Query values and their order outside the managed fields are preserved, but URL serialization can change encoding, for example %20 to +. The browser can also normalize the host or path. This is not byte-for-byte preservation; do not use signed URLs unless their signing system permits these changes.

Naming rules and channel presets

The tool normalizes labels: October Webinar_2026 becomes october-webinar_2026. Underscores stay unchanged. Google Analytics values are case-sensitive; normalization here is a consistent naming convention, not a platform requirement. Enter ordinary text rather than percent-encoded text. A literal %20 in a label is treated as text and encoded again.

Preset Source / medium
Twitter / X twitter / social
LinkedIn linkedin / social
Newsletter newsletter / email
Google Ads google / cpc
Facebook Ads facebook / cpc
Affiliate partner / affiliate

Presets keep the destination and replace source and medium while clearing campaign, term and content. Complete a new campaign name and review the channel values against your team's reporting dictionary. Naming ideas use the device's current year and month; they do not retrieve account campaigns.

Save, restore and reset

The draft and up to 12 saved campaigns persist automatically in this browser's local storage. Saving a campaign with the same normalized name replaces its older entry; otherwise the newest entries remain up to the limit. These records do not sync between devices or form a shared campaign register.

Restoring a valid entry fills the editor from its complete stored URL. Other query values and the fragment remain, including in valid older entries. Review the result before sharing. Invalid stored records are omitted with a warning.

Reset empties the draft while saved campaigns remain. Delete saved entries individually. If storage is blocked, full or unavailable, a warning explains that changes or deletions may not survive a refresh. You can continue editing and copying in the current tab.

URL validation and QR limits

Input or output Tool limit or rule
Destination Absolute HTTP/HTTPS; up to 8,192 characters
Each label Up to 512 characters before and after normalization
Generated URL Up to 16,384 characters after encoding
Required fields Source, medium and campaign
URL restrictions No credentials, control characters, backslashes, raw embedded spaces or incomplete percent escapes
QR output 512 × 512 PNG with a four-module margin and M error correction, when encoding succeeds

Character counts use JavaScript string length, so some Unicode characters count as two. A warning above 2,048 output characters is a compatibility caution, not a universal browser limit. HTTP destinations are accepted with a reminder to prefer HTTPS when supported. None of these checks tests availability or redirects.

QR encoding has its own capacity limit. A valid long link can remain copyable while QR generation fails. When the destination changes, the previous QR is hidden and its download disabled. On failure, shorten the URL or select Retry QR; no stale code is offered as the new result. Test a downloaded PNG on a real device and at the intended printed size. The separate QR Code Generator supports other QR tasks.

Verify campaign reporting

With working GA4 collection, inspect session source/medium and campaign in Acquisition → Traffic acquisition. Collection, consent settings, redirects and platform behavior affect what is recorded. Campaign labels do not measure every impression, offline influence or cross-device journey, and they do not establish incremental sales.

For integrated ad accounts, review auto-tagging before relying on manual UTMs. With both approaches, Analytics generally uses auto-tagged traffic-classification values while manual term and content populate their manual dimensions. Google documents a fallback to UTM values when a click ID cannot be used. The presets configure none of these integrations.

For a broader naming and reporting process, read Why UTM Links Still Matter for Campaign Attribution. Use the ROI Calculator with verified spend and return figures; this builder does not collect those figures.

Privacy and common mistakes

URL construction and QR encoding run locally without requesting the destination. The draft and saved URLs are stored automatically on this device. Existing tool usage events record operations and preset identifiers, not your destination or label text, and the interactive area is masked for session recording.

Avoid names, email addresses, customer identifiers, passwords and secrets in URLs or labels. Shared URLs and QR codes expose their destination and tags; the destination and other services may log them. Copy the finished link before closing a tab with a storage warning.

Common mistakes include pasting a bare domain without a scheme, leaving a required label empty, importing an old campaign ID without reviewing it, pre-encoding label text, relying on presets to configure analytics, and publishing a QR without scanning it. Use Open Graph Checker to inspect social-preview metadata separately. For equivalent tagged landing-page variants, the Canonical URL Generator can draft a canonical tag; it does not install or verify it.

Sources

Technical and reporting references reviewed October 8, 2026:

Frequently asked questions

Source labels the publisher or platform, medium labels the channel, and campaign groups the promotion. Term can label a paid keyword; content distinguishes creatives or placements. This builder exposes those five UTM fields and requires source, medium and campaign before copying, saving or generating a QR.

Yes. UTM values are trimmed, lowercased and have whitespace changed to hyphens. Underscores remain unchanged. Enter ordinary text rather than pre-encoded values, and review the output against your naming rules. This normalization is a tool convention, not a Google Analytics requirement.

The editor replaces all occurrences of the five supported UTM names, including duplicates and differently cased names. Blank term or content fields remove those tags. Clearing a required field makes the output invalid until it is filled again. Use Import tags from destination first to reuse existing values.

Yes. Restoring a valid saved campaign retains its path, other query parameters, repeated query values and fragment, then fills the five supported UTM fields. URL serialization may change encoding, so this is not a byte-for-byte guarantee for signed URLs.

The draft and up to 12 campaigns save automatically in browser local storage. A new save replaces the same normalized campaign name. Reset clears the draft while saved campaigns remain; delete entries individually. Storage errors show a warning, and changes or deletions may not survive a refresh.

QR capacity is smaller than the tool URL limit. A long or complex link can be valid but fail to produce a QR. The old QR is hidden when the link changes; copy the URL, shorten it or use Retry QR. Download QR is enabled only for the current successful code.

No. This tool adds campaign labels; it does not install analytics, check destination availability or confirm visits or conversions. Collection, consent, redirects and reporting configuration affect recorded data. Test the published link and your analytics separately.

The preset supplies google / cpc only and configures no account integration. With manual tagging and auto-tagging together, Analytics generally uses auto-tagged traffic-classification values; manual term and content serve their manual dimensions. If the click ID cannot be used, UTM values can supply cross-channel dimensions. Review your integration and tagging plan.
7 min read