ToolHub
Open Tool

URL Query Builder

Build URL query parameters from key-value pairs

Developer Tools

About This Tool

URL Query Builder is an online tool that lets you construct URL query strings from key-value pairs. Enter a base URL, add parameters with their values, and instantly get the full generated URL and query string — with one-click copy and sample data support.

Key Features

Quick Preview

Use Cases

url

Frequently Asked Questions

What is the URL Query Builder?

The URL Query Builder is a browser-based tool that helps you construct URL query strings from key-value pairs. You enter a base URL, add parameters, and it generates the complete URL with properly encoded query string in real time.

How do I add or remove parameters?

Click the "Add Parameter" button to add a new key-value row. Each row has a remove button on the right to delete that parameter. The generated URL updates automatically whenever you add, remove, or modify any parameter.

Are special characters in parameters encoded?

Yes, all parameter keys and values are automatically encoded using encodeURIComponent. This ensures that special characters like spaces, ampersands, and equals signs are properly handled in the final URL.

Can I copy the generated URL?

Yes, you can copy the full generated URL or just the query string using the copy buttons that appear when hovering over the output boxes. There is also a "Copy" button in the action bar below.

What does the Sample button do?

The Sample button loads a pre-filled example with a base URL and several common parameters (page, limit, sort, order). This is useful for quickly seeing how the tool works or as a starting point for building your own URLs.