Skip to content

UTM Link Builder

Build properly encoded campaign URLs while preserving existing query parameters and fragments.

Use a complete http:// or https:// address. Existing query parameters and the page fragment are preserved.

Campaign URL

This tool only formats the URL in your browser. It does not visit the address, verify that the page exists, or send campaign details to Got A Tool.

Your data is processed locally in your browser whenever supported and is not uploaded to our servers.

How it works

Build a campaign URL in three steps

01

Add the destination

Paste the complete page URL, including any query parameters or fragment you need to keep.

02

Describe the campaign

Enter the source, medium, campaign name, and optional term or content values.

03

Build and copy

Generate a correctly encoded link, review it, and copy it into your campaign.

Reliable URL handling

Tracking parameters without fragile string editing.

The builder uses the browser's native URL parser to encode campaign values, preserve unrelated parameters, and keep fragments in their correct position.

Five standard UTM fields

Add source, medium, campaign name, term, and content parameters.

Existing parameters preserved

Keeps non-UTM query parameters already present in the destination URL.

Old UTM values replaced

Updates duplicate or stale campaign parameters instead of appending conflicting copies.

Local link building

Formats the URL in your browser without visiting it or transmitting campaign details.

FAQ

Common questions

What are UTM parameters?

UTM parameters are query values added to a destination URL so analytics tools can attribute visits to a source, medium, campaign, keyword, or creative variation.

Which fields are required?

The destination URL, campaign source, campaign medium, and campaign name are required. Campaign term and campaign content are optional.

What happens to parameters already in my URL?

Non-UTM query parameters and the URL fragment are preserved. Existing UTM values are replaced with the form values, and blank optional fields remove stale term or content parameters.

Does this tool check whether the page exists?

No. It validates the URL structure but never visits the address or checks whether the destination is online.

Are campaign details uploaded?

No. The link is built locally in your browser, and Got A Tool does not receive or store the destination or campaign values.

Keep working