Query String Builder
Build a URL query string from key/value rows — or parse one into rows.
Edit a list of (key, value) pairs and the tool emits a properly URL-encoded query string. Or paste an existing query string to populate the rows for editing. No more wrestling with manual percent-encoding.
Common use cases
- Build the right ?utm_source=...&utm_campaign=... string for a campaign URL
- Compose a complex API query without escaping by hand
- Edit an existing share URL by parsing it into rows
- Test how a server handles repeated keys or empty values
Frequently asked questions
Does it handle special characters?▾
Yes — values are URL-encoded with URLSearchParams, so spaces, &, = and unicode are escaped correctly.
Can I have repeated keys?▾
Yes. Multiple rows with the same key produce ?k=a&k=b, which is how arrays are typically passed in query strings.
What's the leading ??▾
We include the leading ? for convenience when copying. Strip it if you're appending to a URL that already has one.
Related tools
{}
JSON Formatter & Validator
Beautify, validate and minify JSON instantly in your browser.
↔
JSON ↔ CSV Converter
Convert JSON arrays to CSV and CSV back to JSON.
B64
Base64 Encoder & Decoder
Encode and decode Base64 strings, including UTF-8 and binary.
%
URL Encoder & Decoder
Percent-encode and decode URL components safely.