UTM Campaign URL Builder
Build trackable campaign URLs with UTM parameters for analytics.
About the UTM Campaign URL Builder
Add source, medium, campaign and optional term/content tags to a destination URL. Source describes the referring source, medium the channel, campaign the initiative, and term/content help distinguish keywords or creative variants. Analytics interpretation depends on your analytics setup.
Nonblank fields are trimmed and set with URLSearchParams, preserving unrelated query parameters and the fragment. A populated tag replaces existing values for that key. Leaving a tag field blank does not remove an existing tag from the destination URL; inspect the final URL.
The helper tries the input URL and then an https:// prefix. It is not an HTTP-only or destination-safety validator. Use an explicit reviewed HTTP(S) destination, consistent naming and no personal data or secrets in tags; copied links expose their query values to recipients and downstream services.
Key features
- All five standard UTM parameters
- Correctly encoded output
- Common medium suggestions
- One-click copy
How to use
- 1Enter the website URL you are linking to.
- 2Fill in the source, medium and campaign name.
- 3Copy the generated campaign URL.
Examples
https://example.com; source newsletter; medium email; campaign summerhttps://example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=summerThe parameters are URL-encoded and preserve existing query values.
https://example.com/page?ref=nav&utm_source=old#details; source newsletter; medium email; campaign Spring Salehttps://example.com/page?ref=nav&utm_source=newsletter&utm_medium=email&utm_campaign=Spring+Sale#detailsThe fragment and ref parameter stay; the old source is replaced, and spaces encode as +.
Frequently asked questions
- What are the required UTM parameters?
- Source, medium and campaign are common core conventions. This generator does not require all three before producing a link; term/content are optional. Follow your analytics platform's requirements.
- Do UTM tags affect SEO?
- These are attribution labels, not ranking improvements. Use consistent public URLs/canonicals and avoid unnecessary internal campaign tagging or leaking confidential values.
- Does clearing a field remove an old tag in the base URL?
- No. Only nonblank entered values are set. A pre-existing utm_source or other tag remains when its field is blank; remove it from the base URL yourself.
- Are UTM parameters case-sensitive?
- Analytics tools can report differently cased values separately, so use one consistent lowercase naming convention for cleaner reports.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Featured toolDeveloper ToolsQuery String Parser
Turn a query string or URL into a readable table of parameters.
Open tool - Featured toolDeveloper ToolsURL Encoder / Decoder
Percent-encode or decode URLs and query strings.
Open tool - Web & SEORedirect Generator (.htaccess & Nginx)
Generate 301 and 302 redirect rules for Apache .htaccess or Nginx.
Open tool
