Skip to main content

URL Builder

Assemble full URLs from parts—scheme, host, path, query keys and values—with automatic encoding.

=
=
=
https://example.com/api/v1/users?page=1&limit=10&sort=name#section1

URL Breakdown:

Scheme:
https
Host:
example.com
Port:
Path:
/api/v1/users
Fragment:
section1

Build complete, valid URLs with scheme, host, path, query parameters, and fragments. Our URL builder automatically handles percent-encoding, validates URL structure, and supports multiple URL schemes including HTTP, HTTPS, FTP, mailto, tel, and more. Perfect for web developers, API testing, and creating deep links for mobile applications.

What is URL Builder?

A URL builder is a tool that helps you construct Uniform Resource Locators (URLs) by combining different components like the protocol scheme, domain name, path, query parameters, and fragment identifiers. Unlike manually typing URLs, a URL builder ensures proper encoding of special characters and validates the URL structure according to web standards.

Common Use Cases

  • API endpoint testing and development - quickly construct URLs with multiple query parameters
  • Deep linking for mobile apps - create custom URL schemes with parameters
  • Web development - build URLs for pagination, filtering, and search functionality
  • Email marketing - construct tracking URLs with UTM parameters
  • Testing redirect chains - build URLs to test HTTP redirects
  • Social media sharing - create shareable URLs with pre-filled parameters

How It Works

The URL builder allows you to input each component of a URL separately: the scheme (http, https, etc.), hostname, optional port, path, query parameters as key-value pairs, and fragment. The tool automatically percent-encodes special characters in query parameters and paths according to RFC 3986 standards. It validates the URL structure and provides a real-time preview of the final URL that you can copy and use.

Examples

Building an API endpoint with query parameters

Input:
Scheme: https, Host: api.example.com, Path: /users, Query: page=1&limit=10&sort=name
Output:
https://api.example.com/users?page=1&limit=10&sort=name

Creating a deep link with fragment

Input:
Scheme: https, Host: app.example.com, Path: /product, Fragment: details
Output:
https://app.example.com/product#details

ThenCatch is a free developer toolkit. Learn more about us.