# URL Builder

> Compose a URL from its parts with correctly percent-encoded query parameters.

A URL builder assembles a link from its parts — scheme, host, path, query parameters and fragment — and percent-encodes each value so spaces, ampersands and non-ASCII characters cannot break the query string. It then shows the parsed result so you can confirm the browser reads it as intended.

**URL:** https://convertto.tech/t/url-builder
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your base url.
2. Enter or paste your path.
3. Add each query parameters as a key and value pair.
4. Enter or paste your fragment.
5. Turn "Encode values" on or off as needed.
6. The result appears immediately — copy or download it.

## FAQ

### When must I encode a query value?

Whenever it could contain a space, an ampersand, a hash, a plus or any non-ASCII character. An unencoded ampersand starts a new parameter and silently truncates your value, which is the most common URL bug there is.

## Related tools

- [Query String to JSON Converter](https://convertto.tech/t/query-string-converter): Convert URL query strings to JSON and build query strings from JSON objects.
- [URL Encoder & Decoder](https://convertto.tech/t/url-encode-decode): Percent-encode text for safe use in URLs, and decode encoded URLs back to readable text.
- [URL Parser](https://convertto.tech/t/url-parser): Break a URL into protocol, host, path, query parameters and fragment.
- [Multi-Format Encoder](https://convertto.tech/t/multi-encoder): Encode text into Base64, hex, binary, URL, HTML entities, ROT13 and more, all at once.
- [API Request Builder](https://convertto.tech/t/api-request-builder): Build an HTTP request visually and get it as curl, fetch, axios, Python, Go or PHP code.
- [GraphQL Formatter](https://convertto.tech/t/graphql-formatter): Format or minify a GraphQL query, mutation or schema, and inspect its depth.
- [HTTP Status Code Reference](https://convertto.tech/t/http-status-codes): Look up what any HTTP status code means and when to use it.
- [JSON Schema Generator](https://convertto.tech/t/json-schema-generator): Infer a JSON Schema from example data, detecting types, string formats and required keys.
