Skip to URL builder

Free URL Builder & UTM Generator

Build custom URLs, add query parameters, and create UTM tracking links in seconds. Everything runs in your browser.

Build or tag a URL

URLs stay in this tab. They are not uploaded or added to this page’s address.

Parse existing URL
Query parameters

Generated URL

Enter a hostname.

Fix this URL

Advertisement

What Is a URL Builder?

A URL builder assembles a complete link from a host, path, query parameters, and an optional fragment. This page is also a UTM generator: it adds campaign tags such as utm_source and utm_medium without breaking parameters already on the destination. Values are encoded with the browser URL APIs. Nothing is uploaded.

How to Use the URL Builder

  1. Enter a hostname or paste a destination URL.
  2. Add query parameters, or switch to UTM Builder for campaign tags.
  3. Enter source, medium, and any campaign values you need.
  4. Review the generated URL, including the query string and fragment.
  5. Copy the final link, or copy it as Markdown or an HTML anchor.

How Does a URL Builder Work?

A URL is not a single string you glue together by hand. It has ordered parts. This example is https://example.com/search?q=shoes&page=2#results:

PartIn the example
Protocolhttps
Hostnameexample.com
Path/search
Query stringq=shoes&page=2
Fragmentresults

The query string starts with ? once. Extra pairs use &. The fragment always comes last. To inspect a finished URL without editing it, parse an existing URL.

How to Build a UTM Tracking URL

A UTM builder — sometimes called a campaign URL builder or Google UTM builder — adds tracking parameters that analytics products read. UTM tags do not improve search rankings. They attribute visits to a source, medium, and campaign so you can see whether an email, ad, or social post sent the traffic.

  • utm_source — who sent the visit (google, newsletter, linkedin).
  • utm_medium — the channel (cpc, email, social).
  • utm_campaign — the named effort (launch, spring_sale).
  • utm_term — paid search keyword, when you have one.
  • utm_content — the creative or link variant.

Keep names consistent: linkedin every time, not LinkedIn in one mail and li in the next. Optional fields such as utm_id stay blank unless you use them.

URL Builder Formula

Conceptually: base URL + ? + encoded key=value pairs joined by & + optional #fragment. Example: https://example.com/page?key=value&key2=value2#section. A UTM example is https://example.com/page?utm_source=linkedin&utm_medium=social&utm_campaign=launch. Encoding uses the browser URL and URLSearchParams APIs, so spaces and reserved characters do not break the query. For a single value outside a full link, encode URL parameters on the encoder page.

URL and UTM Examples

  • Search: /search?q=red+shoes — a query parameter builder for a storefront filter.
  • Pagination: keep page=2 when you add q.
  • UTM tracking URL: source, medium, and campaign on a landing page.
  • Email campaign: utm_source=newsletter&utm_medium=email.
  • Social campaign: LinkedIn or Instagram presets, then override the campaign name.
  • API endpoint: /api/users?limit=10&sort=name for a test request.
  • Existing URL plus UTM tags: destination already has ref=home; the builder keeps it.

Common URL Builder Mistakes

  • Joining pairs with a second ? instead of &.
  • Putting #fragment before the query string.
  • Forgetting to encode spaces, &, or =.
  • Duplicating utm_source when the destination already has one.
  • Inconsistent UTM names that split the same campaign in reports.
  • Overwriting a filter parameter you meant to keep.
  • Using a builder when you only need to inspect query parameters.

URL Builder vs URL Parser vs UTM Builder

ToolJob
URL builderCreates a URL from parts or edits one you pasted.
URL parserTakes a URL apart so you can inspect each component.
UTM builderAdds campaign tracking parameters to a destination URL.

This page does the first and the third. Parse-to-edit is included so you can fix a live link without leaving the builder.

Frequently Asked Questions

What is a URL builder?
It builds a complete URL from parts — protocol, host, path, query parameters, and fragment — and can edit a URL you paste.
How do I add query parameters to a URL?
Add key and value rows. Empty rows are ignored. The builder inserts one ? and joins extra pairs with & after encoding.
What is a UTM builder?
A campaign URL builder that adds utm_source, utm_medium, and optional campaign fields so analytics can attribute the click.
How do I create a UTM tracking link?
Paste the destination, set source and medium, add a campaign name if you use one, then copy the generated URL. Existing non-UTM parameters stay.
What is the difference between a URL builder and a URL parser?
A builder creates or edits a link. A parser only splits a finished URL. This page builds; the URL Parser page is for inspection-first work.
Does this URL builder encode parameters automatically?
Yes. Values go through URLSearchParams, so spaces and reserved characters are encoded. The fragment stays after the query.
Can I add UTM parameters to a URL that already has query parameters?
Yes. Unrelated parameters are kept. If utm_source is already present, editing it replaces that value instead of adding a second utm_source.
Can I use this URL builder for API endpoints?
Yes. Set the path and add filters such as limit or sort. Duplicate keys are allowed when an API expects repeated parameters.
Does the URL Builder upload my URLs?
No. Construction runs in this tab. URLs are not uploaded or written into the page address. Optional recent history stays in localStorage on this device.
Can I build URLs with duplicate query parameters?
Yes. Two rows with the same key append twice, such as tag=red&tag=blue. UTM fields are the exception: those keys replace.
What is a campaign URL builder?
Another name for a UTM generator. You start from a destination page and add source, medium, and campaign tags for reporting — not for SEO rankings.
How do I create a URL with query parameters from an existing link?
Paste the link, parse it, then add or edit rows. The rebuild keeps the original host, path, and fragment unless you change them.

Last editorial review: 2026-10-03.

Advertisement