UTM Parameter Builder
Add campaign parameters such as utm_source, utm_medium, and utm_campaign to the destination URL locally in the browser, preserving existing query parameters and anchors while supporting copying and downloading.
How to use the UTM parameter builder
The destination URL and campaign parameters are assembled only in the current browser and are not sent to Analytics, this site’s API, or other network services.
Enter the target URL
Enter a complete http:// or https:// target URL; existing query parameters and anchors will be preserved.
Fill in the campaign fields
Source, medium, and campaign are required. Campaign ID, keyword, and content provide more detailed attribution distinctions.
Generate and deliver
After generating, check URL, then copy it into an ad or sharing link, or download the TXT file.
Limitations and Notes
- The target URL can contain at most 2048 characters, and each UTM field can contain at most 120 characters; empty optional fields will not be included.
- The tool only assembles parameters. It does not verify whether the campaign name follows your Analytics report naming conventions or send test requests.
- Existing parameters with the same name, utm_*, will be overwritten by this input; other query parameters and anchors remain unchanged.
FAQ
Does generation access the destination website?
No. The page uses only the browser’s URL and URLSearchParams API to build strings locally.
Why are source, medium, and campaign required?
They are core fields for commonly used campaign attribution; without them, reports are likely to contain incomplete or incomparable data.
What happens to spaces in parameter values?
The browser encodes parameter values according to the URL standard; the encoded form in the result URL can be used directly in links.