UTM builder: free campaign URL generator for GA4
Free · no sign-up · runs in your browser
Free UTM builder: paste a URL, add source, medium and campaign, and copy a correctly encoded tracking link for GA4. Flags the capitals and spaces that split reports.
A bare hostname works; https is assumed.
Where it comes from — newsletter, google, twitter.
The channel — email, cpc, social.
Which campaign — spring-launch.
Paid keyword. Optional.
Which creative or link. Optional.
Copy the link
Tracking URL
https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-launchRecent links
Links you build appear here.
Kept in this browser only. Never sent anywhere.
A UTM link is simple enough that most people build one by hand, and that is exactly why campaign reports end up with 'Email', 'email' and 'e-mail' as three separate sources. This appends the parameters properly — keeping any query string and fragment the URL already had, encoding values so an ampersand in a campaign name cannot break the link — and flags the inconsistencies before they reach your analytics rather than after.
How it works
- 01Paste any URL. A bare hostname works — the scheme is filled in as https rather than the link being rejected.
- 02Source, medium and campaign are the three that make a visit attributable; term and content are optional and used mostly for paid search and A/B variants.
- 03Parameters are appended with the URL's own encoder, so an ampersand, an equals sign or a hash inside a value cannot break the link. Building these by string concatenation is where that goes wrong.
- 04An existing query string and fragment are preserved, so a link into a specific section of a page still lands there. Existing utm values are replaced rather than duplicated — a URL carrying two sources is ambiguous, and tools disagree about which wins.
- 05Values are checked for capital letters and spaces. Analytics tools treat source values case-sensitively, so Email and email are two rows for the same campaign; the tidy button rewrites a value to a safe lowercase-and-hyphens form.
- 06The last ten links you build are kept in your browser's own storage so you can copy one again. They are never sent anywhere, and the clear button removes them.
Use cases
- Tagging a newsletter link so the traffic it brings is attributable.
- Building a consistent set of links for one campaign across email, social and paid.
- Adding tracking to a link that already has query parameters, without breaking them.
- Distinguishing two creatives in the same campaign with utm_content.
- Fixing a link that was hand-built with a space or a capital in the source.
- Producing a batch of links quickly and copying them back from the history.
Frequently asked questions
What are the five UTM parameters?
utm_source (where the traffic comes from — newsletter, google, twitter), utm_medium (the kind of channel — email, cpc, social), utm_campaign (which campaign — spring-launch), utm_term (the paid keyword) and utm_content (which creative or link, for telling two variants apart). The first three are what make a visit attributable at all; the last two are refinements.
What is the difference between utm_source and utm_medium?
The source is the specific sender or site — newsletter, google, linkedin. The medium is the kind of channel it belongs to — email, cpc, social. GA4 files traffic into its default channel groups mostly by the medium, so a standard value like email or cpc lands in Email or Paid Search, while an invented one like newsletter-blast ends up under Unassigned.
Does GA4 read any UTM parameters besides these five?
Yes: GA4 also reads utm_id (a campaign ID, used mainly to join cost data you import), utm_source_platform, utm_creative_format and utm_marketing_tactic. Most links never need them. This builder writes the five standard parameters, which are the ones every analytics tool understands.
Are UTM parameters case-sensitive?
Yes, and this catches more people than any other detail. GA4 and most other tools treat Email and email as different sources, so one campaign reported both ways is split across two rows and neither shows the real number. Pick lowercase, use it everywhere, and use the tidy button here to enforce it.
Should I use spaces in a UTM value?
No. A space is encoded as %20 or + depending on what encoded it, so the same campaign can arrive under two spellings and split again. Use hyphens — spring-launch, not spring launch. This tool flags any value containing whitespace.
Do UTM parameters hurt SEO?
Not if the page has a self-referencing canonical tag, which it should have anyway. The tagged URL is a distinct URL, so without a canonical you can end up with duplicate URLs indexed. UTM links are also normally used in email, social and ads rather than in links between your own pages — tagging internal links actively breaks attribution, because it restarts the session and overwrites the original source.
Can I add UTM parameters to a URL that already has a query string?
Yes, and this handles it: existing parameters and the fragment are kept, and the utm values are appended or replaced. What you should not do is append `?utm_source=...` to a URL that already has a `?` — that produces a malformed link, which is the most common hand-building mistake.
Where is the link history stored?
In your browser's local storage, on your machine only. Nothing is sent to a server, it is not shared between devices or browsers, and clearing it removes it. If storage is unavailable — private browsing, or a browser set to block it — the tool still works and simply does not remember.
Related reading
- Frontend5 Frontend Tools Worth Bookmarking in 2026A short, opinionated list of the frontend tools and references we reach for every week — frameworks, styling, components, and icons.
More tools
Tailwind CSS color palette generator
Turn one hex code into a full Tailwind color scale — 11 OKLCH-tuned shades from 50 to 950, with contrast ratios, ready to paste into Tailwind v4's @theme block or a v3 config. Free, no sign-up, runs in your browser.
CSS clamp() calculator for fluid typography
Generate a responsive CSS clamp() font size from a minimum and maximum size and the viewport range they should grow across — with the slope and intercept shown, a live preview, and the rendered size at every common screen width. Free, no sign-up.
SVG to JSX converter for React components
Paste an SVG and get a React component back — attributes camelCased, class turned into className, style strings converted to objects, xmlns removed, with optional currentColor, a size prop and TypeScript output. Runs entirely in your browser; nothing is uploaded.
Meta tag generator with Google SERP preview
Fill in a title, description, canonical and Open Graph image and get the complete <head> snippet — with a live Google result preview that measures your title and description in pixels, not characters, so you can see exactly where they will be cut.
Favicon generator — .ico, PNG set and manifest
Turn a PNG or SVG, or just a couple of letters, into the full favicon set: 16, 32, 48, 180, 192 and 512 PNGs, a real multi-size favicon.ico, a web app manifest and the <head> tags. Everything runs in your browser — nothing is uploaded.
JSON-LD schema generator and validator
Build valid JSON-LD structured data for Article, FAQPage, Product, Organization and BreadcrumbList from a form, or paste existing markup to have it pretty-printed and checked for the mistakes that stop a rich result appearing. Free, runs in your browser.
robots.txt generator with validation
Build a robots.txt from user-agent groups, allow and disallow rules, crawl-delay and sitemap URLs — with presets for allowing everything, blocking AI crawlers, or locking down a staging site, and warnings for the mistakes that quietly block your whole site.
Colour contrast checker with WCAG suggestions
Check any two colours against WCAG 2 — normal text, large text and UI components — see the ratio and live samples, and get the nearest passing colour when a pair fails, adjusted in OKLCH so the hue stays yours. Free, runs in your browser.
Image converter — WebP, AVIF, JPEG and PNG
Convert and resize images to WebP, AVIF, JPEG or PNG at the quality you choose, see exactly how many bytes each one saved, and download them one at a time or as a zip. Everything happens in your browser — no image is uploaded.
JSON formatter and validator — free, in your browser
Format, minify and validate JSON in your browser. Broken documents get the exact line and column of the error. Nothing is uploaded, and there is no size limit but your machine.
JSON to TypeScript — generate interfaces from a payload
Paste a JSON payload and get TypeScript interfaces: merged array shapes, optional properties, and real unions instead of any. Runs in your browser — nothing is uploaded.
OG image generator — free 1200×630 social cards
Generate an Open Graph image for any page: type a title, pick a theme, download a 1200×630 PNG. Runs entirely in your browser — no account, no upload, no watermark.
AI text cleaner — remove em dashes and hidden characters
Clean AI-written text in your browser — strip invisible characters, replace em dashes and curly quotes, and flag stock chatbot phrases. Nothing is uploaded.
Remove EXIF data from photos — image metadata remover
Strip EXIF, GPS location and other hidden metadata from JPEG, PNG and WebP images without re-encoding — see what each file carries first. Nothing is uploaded.
App icon generator — iOS, Android and Expo icon sizes in one zip
Turn one 1024px image into every iOS, Android and Expo app icon — an Xcode appiconset, mipmap launcher PNGs and an adaptive icon, zipped in your browser.
Privacy policy generator for apps, with terms of use
Generate a privacy policy and terms of use for your app in Markdown — tick what it collects, from analytics and ads to AI, plus GDPR, CCPA and COPPA sections.
Video to GIF converter — screen recordings for READMEs and PRs
Turn a screen recording or any MP4, MOV or WebM clip into a looping GIF sized for a README, a pull request or a docs page. Pick the start, end, frame rate and width; everything runs in your browser and nothing is uploaded.
Video compressor — fit a screen recording under 10 MB for GitHub
Compress a screen recording or any video to fit GitHub's 10 MB attachment limit, Discord's free upload limit or an email attachment. Choose the size, the resolution and whether to keep the audio; it runs in your browser and nothing is uploaded.
Compress an image to a target size — under 100 KB, 500 KB or 1 MB
Compress JPEG, PNG or WebP images to fit under an exact size like 100 KB, 200 KB or 1 MB. The tool searches for the highest quality that fits, shrinks the image only if it has to, and runs entirely in your browser.
App Store screenshot resizer — exact sizes for App Store Connect and Google Play
Resize simulator or device screenshots to the exact pixel sizes App Store Connect and Google Play accept: iPhone 6.9″ (1320 × 2868), iPad 13″ (2064 × 2752), Play phone and tablet sizes and the feature graphic. Crop or pad, batch download as a zip, all in your browser.