UTM Link Generator
Developer ToolsBuild UTM-tagged URLs for Google Analytics tracking. Add source, medium, campaign, and content parameters to any link — free, instant, no account needed.
Reviewed by the thecalcu.com team · Last updated July 6, 2026
What is a UTM Link?
UTM parameters are small text tags appended to the end of a URL that tell analytics tools, such as Google Analytics 4 or Adobe Analytics, exactly how a visitor arrived at your page. When you run a campaign across email, social media, paid ads, or influencer posts without UTM tags, every click lands in your analytics as unattributed traffic, making it impossible to measure which channel, which campaign, or which specific creative drove results.
A UTM Link Generator assembles these tagged URLs for you: you enter the destination page and fill in the parameter fields, and the tool outputs a properly formatted URL with all parameters correctly encoded. Without a generator, marketers manually string together URLs like https://example.com/page?utm_source=newsletter&utm_medium=email&utm_campaign=launch, which is error-prone and inconsistent, a single typo or capitalisation difference fragments your data across multiple rows in your reports.
The five standard UTM parameters are:
- utm_source, the specific platform (e.g.
newsletter,google,facebook) - utm_medium, the channel category (e.g.
email,cpc,organic) - utm_campaign, the campaign name (e.g.
diwali-sale-2024,product-launch) - utm_term, the paid search keyword (primarily for PPC campaigns)
- utm_content, differentiates multiple links in the same campaign (for A/B testing creative)
Only the first three are typically required; utm_term and utm_content are optional and situation-specific. Once tagged URLs are in place, your analytics platform groups all traffic by source and medium automatically, giving you a clear view of which campaigns drive the most valuable visitors.
Use this generator alongside robots.txt Generator and Sitemap.xml Generator to build out your full technical marketing stack, controlling what search engines crawl while accurately measuring what human traffic converts.
Why Use a UTM Link Generator?
Manually building UTM URLs is tedious and inconsistent. A team of three marketers working independently will often write utm_source=Newsletter, utm_source=newsletter, and utm_source=Email Newsletter for the same channel, three separate rows in Analytics for what is actually the same traffic. This fragments reporting and makes cross-campaign comparisons meaningless.
A dedicated generator solves this in two ways: it enforces consistent parameter names through form fields rather than free-text editing, and it handles URL encoding automatically, so a campaign named "Summer Sale 2024" becomes utm_campaign=Summer+Sale+2024 rather than breaking your URL with an unencoded space.
A concrete example: a SaaS company running a product-launch email campaign to 50,000 subscribers can tag the primary CTA button link with utm_source=mailchimp&utm_medium=email&utm_campaign=product-launch-jun24 and a secondary footer link with the same source and medium but utm_content=footer-link. When the campaign ends, Analytics shows exactly how many conversions came from the email CTA versus the footer, which informs the design of the next campaign.
The Privacy Policy Generator is a companion tool for marketers setting up new campaign landing pages, once your UTM tracking is in place, make sure your site's privacy policy discloses that analytics cookies are used.
Who Should Use This Generator?
Digital marketers and campaign managers, anyone running paid, email, or social campaigns needs UTM tags on every link. This tool is the fastest way to produce consistent, correctly encoded URLs before distribution.
Growth and performance teams, teams running A/B tests on email CTAs or ad creatives use utm_content to differentiate links pointing to the same destination, so conversion data is split by variant in the analytics dashboard.
Content and SEO teams, even organic campaigns benefit from UTM tagging. When sharing a blog post in a newsletter, tagging with utm_medium=email distinguishes newsletter-driven readership from organic search traffic in reporting.
Freelance marketers and consultants, client reporting depends on accurate attribution. Using a generator ensures every link handed to a client or scheduled in a tool like Hootsuite or Mailchimp is correctly tagged, eliminating the "where did this traffic come from?" question in monthly reports.
Small business owners, even a single-person business sending a monthly WhatsApp broadcast or Instagram story swipe-up benefits from knowing which channel drove website visits. The generator requires no technical knowledge; fill in four fields and copy the link.
Pair this with the Sitemap.xml Generator if you are also launching new landing pages and need to submit them to Google Search Console quickly.
What Insights Does the UTM Link Generator Give You?
The generator produces two outputs.
UTM-Tagged URL is the primary output, the complete destination URL with all your parameters appended as query string arguments. This is the link to copy into your email template, ad platform, social post scheduler, or QR code generator. It is human-readable, so you can verify at a glance that source, medium, and campaign are spelled correctly before distributing.
URL-Encoded Version is the same link with special characters converted to percent-encoding (spaces become %20, ampersands within parameter values become %26). Most modern platforms handle raw UTM URLs correctly, so you will use this version only when pasting into systems that fail on unencoded characters, certain API request bodies, spreadsheet HYPERLINK() formulas, or legacy CMS fields with strict URL validation.
Understanding both outputs prevents a common mistake: pasting the encoded version into an HTML href attribute when the browser would double-encode it, resulting in a broken link.
How to use this UTM Link calculator
- Enter the full destination URL in the Base URL field, include the protocol (
https://). The tool validates the URL format and returns an error if it is not parseable. - Fill in UTM Source, the platform name in lowercase, no spaces (e.g.
mailchimp,google,instagram). - Fill in UTM Medium, the channel category in lowercase (e.g.
email,cpc,social,qr). - Fill in UTM Campaign, a descriptive campaign identifier using hyphens instead of spaces (e.g.
diwali-sale-2024,onboarding-week-1). - Optionally fill in UTM Term if this is a paid search campaign, enter the target keyword exactly as bid.
- Optionally fill in UTM Content if you have multiple links in the same campaign pointing to the same destination, use a short descriptor like
hero-ctaorfooter-linkto distinguish them. - Copy the UTM-Tagged URL from the output field and paste it into your email template, ad manager, or social scheduling tool. Use the URL-Encoded Version only when the destination field requires it.
Show formula & methodology ↓Show less ↑
Formula & Methodology
UTM URLs follow the standard query string format defined in RFC 3986. Parameters are appended to the base URL after a?delimiter and joined with&:https://example.com/landing-page ?utm_source=newsletter &utm_medium=email &utm_campaign=summer-sale-2024 &utm_content=hero-ctaThe generator uses the browser's nativeURLAPI to append parameters, this guarantees correct encoding of special characters and prevents double-encoding. Parameters are added in the order: source → medium → campaign → term → content. If the base URL already contains a query string, the UTM parameters are appended to it with&rather than?. Worked example: Base URL:https://myshop.in/offersSource:chatCampaign:festive-sale-oct24Content: (blank) Output:https://myshop.in/offers?utm_source=whatsapp&utm_medium=chat&utm_campaign=festive-sale-oct24When this link is opened, Google Analytics records one session attributed towhatsapp / chatunder thefestive-sale-oct24campaign, no additional configuration required on the analytics side.
Frequently Asked Questions