Build Cleaner URLs and Campaign Links

Build Cleaner URLs and Campaign Links

Create readable links, consistent UTM parameters and stronger sharing workflows.

A well-built URL is easier to share, debug and measure. Small mistakes in encoding or campaign parameters can split analytics data and send visitors to the wrong page.

Start with a stable destination

Use HTTPS, remove unnecessary parameters and confirm that the page loads without redirects. Create short descriptive slugs with lowercase words and hyphens.

Encode only where needed

Spaces and reserved characters must be encoded inside parameter values. Avoid encoding an entire URL more than once, because double encoding can break the destination.

Standardize campaign names

Choose a consistent lowercase convention for source, medium and campaign values. Record the final link before distribution so reports can be grouped correctly.

Verify before sharing

Parse the finished URL, inspect every parameter and open it in a private window. DTool URL utilities help build, encode and inspect links quickly. A final click test protects both the user experience and the accuracy of your analytics.

Try this example

  • URL Encode · Paste the full URL and select Encode. The encoded result contains %3F for the question mark and %26 for the ampersand.

    https://example.com/search?q=tea&sort=new

    Expected result

    https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dtea%26sort%3Dnew
  • URL Decode · Decode the example once and check that the two query parameters are visible again.

    https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dtea%26sort%3Dnew

    Expected result

    https://example.com/search?q=tea&sort=new
  • URL Parser · Paste the full URL and compare the scheme, host, path and query with the expected values.

    https://docs.example.com/guides/start.html?lang=en&mode=print

    Expected result

    https
    docs.example.com
    /guides/start.html
    lang=en&mode=print
  • UTM Builder · Choose Sample, then generate the link. The old source is replaced, lang=en stays, and #faq remains at the end.

    https://example.com/guide?lang=en&utm_source=old#faq
    utm_source: newsletter
    utm_medium: email
    utm_campaign: spring launch

    Expected result

    https://example.com/guide?lang=en&utm_source=newsletter&utm_medium=email&utm_campaign=spring%20launch#faq

Avatar

DTool Team

Product Team

We build simple, reliable browser tools that make everyday digital work faster.

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies