ToolsKit

UTM Link Builder

Build campaign URLs with UTM parameters for analytics.

Add UTM source, medium, campaign, term and content parameters to a URL so campaigns are tracked correctly in analytics.

Loading the interactive tool… This page needs JavaScript to run the UTM Link Builder.

How to use UTM Link Builder

  1. Paste the data, code, token, or value you need to inspect.
  2. Set any format, encoding, or validation options.
  3. Run the tool and inspect the result or diagnostic output.
  4. Copy the output into your terminal, editor, API client, or project.

How UTM Link Builder works

Enter your page URL plus a campaign source, medium and name, and optionally a term and content value. The tool adds utm_source, utm_medium, utm_campaign, utm_term and utm_content to the link with proper encoding and keeps any existing query parameters. A source is required, a missing scheme is filled in as https, and only http or https links are accepted.

Worked example

Input: https://example.com/landing with source instagram, medium social, campaign spring_launch → Output: https://example.com/landing?utm_source=instagram&utm_medium=social&utm_campaign=spring_launch

Common uses

  • Tag links in an email newsletter so analytics shows which one drove visits.
  • Keep campaign names consistent across a marketing team.
  • Build a trackable link for a social post or an influencer partnership.

Best for

  • marketing campaigns
  • newsletters
  • social media links

Tips for better results

  • Agree a naming convention with your team before launching.
  • Validate the output before using it in production code.
  • Treat tokens, credentials, and secrets as sensitive even when processing happens locally.
  • For large payloads, keep an original copy so you can compare changes.

Frequently asked questions

What are UTM parameters?

They are query-string tags that tell analytics tools where a visit came from.

Are UTM values case-sensitive?

Yes. Keep naming consistent, for example always lowercase.

Is my data sent to a server?

No. This tool runs in your browser, so what you enter stays on your device.

Related tools

Explore tool categories