We use essential storage to make the site work. If you accept, we also use Google Analytics to understand usage and Google AdSense to show ads, which may set cookies. You can change your choice any time with Cookie settings in the footer. Privacy Policy
Query String Builder
Build URL query strings from key/value pairs with proper encoding. Add, remove, and reorder parameters easily. 100% private. 100% free and private.
How to use
Set the Base URL — Enter the base, like https://example.com/search.
Add Parameters — Type keys and values; encoding is handled for you.
Reorder or Remove — Use the × button to drop a pair.
Copy the Final URL — Use the built URL in your API client, browser, or docs.
Frequently asked questions
Are special characters encoded?
Yes. We use URLSearchParams which percent-encodes spaces, ampersands, slashes, and Unicode automatically per RFC 3986.
Can I have duplicate keys?
Yes. Add the same key twice and it becomes ?key=a&key=b — useful for array-style query strings.
Does empty value still appear?
Yes. An empty value produces ?key= which many servers treat the same as an absent value.
Will the order be preserved?
Yes. Parameters are appended in the order you add them. Some APIs ignore order; others (like signed URLs) depend on it.
Does it encode automatically?
Yes — special characters are percent-encoded as you type.
Can I have duplicate keys?
Yes — the builder preserves order and duplicates.
What is the URL length limit?
Browsers and servers vary; staying under 2 KB is safe.
Does it support # fragments?
Yes — added after the query string if provided.
Is anything stored online?
No. The URL is built entirely in your browser.
Free Query String Builder
Compose URL query strings from named parameters with proper RFC 3986 encoding. Faster and safer than concatenating strings by hand, and great for API calls and tracking links.
Common Uses
Build API request URLs
Construct tracking links with UTMs
Generate share URLs with prefilled state
Test backend query parameter handling
Demonstrate encoding rules to students
How It Works
We use the browser's URLSearchParams API to encode keys and values, then prepend your base URL with a single question mark. Duplicate keys are supported by appending instead of setting.
Privacy
Everything is built locally in your browser. No URLs are sent anywhere.