Query String Builder — Correctly Encoded URL Parameters
Assemble multi-parameter URL-encoded query strings from clean key-value lines.
q | kopi susu & teh! | q=kopi%20susu%20%26%20teh%21 |
kota | Bandung | kota=Bandung |
hal | 2 | hal=2 |
tag | promo | tag=promo |
tag | baru | tag=baru |
emoji | ☕ | emoji=%E2%98%95 |
Take an existing query string or URL apart
When to use the URL Query String Key-Value Builder
Two correct encodings
Choose RFC 3986 (space as %20) for APIs and links, or HTML-form style (space as +) as sent by form tags and URLSearchParams.
Any character is safe
&, =, #, emoji and non-Latin letters are encoded as UTF-8, so values are never cut or read as new parameters by the server.
Merge into an existing URL
Paste a base URL: existing parameters stay, matching keys get their new value, and the #fragment keeps its place.
Take old queries apart
A long query string or URL can be turned back into an editable key/value list and rebuilt with correct encoding.
Frequently asked questions
Which does the server expect, %20 or +?
Most web frameworks read both as a space in the query. For API signatures such as OAuth or AWS, use RFC 3986 because the signature is computed over the %20 form.
How do I send a list of values?
Repeat the key, for example tag=promo and tag=new. Some frameworks use tag[]=promo; write the key exactly as the server expects.
Is there a URL length limit?
The standard sets none, but many servers and CDNs cap it around 8,000 characters. Large data belongs in a POST request body.
Does parameter order matter?
Usually not to the server, but it matters for CDN caches and API signatures, because a different order counts as a different address.
Is the base URL checked too?
Yes. The base URL must start with http:// or https:// and parse under the URL Standard. If not, the tool says so and only shows the encoded query string.
Similar tools
- Google Analytics UTM Campaign Link BuilderBuild GA4 campaign links: encoded utm_ values, existing parameters and the #fragment kept, lowercase and space options, presets, many URLs at once and .txt/.csv export.
- Apache .htaccess 301/302 Redirect GeneratorGenerate Apache mod_rewrite 301 permanent redirects and HTTPS enforcement.
- Nginx return 301 & rewrite Rule GeneratorGenerate fast Nginx server block 301 redirects and non-www canonicalization.
- Cloudflare Bulk & Dynamic Redirect Rule BuilderExport CSV lists for Cloudflare Bulk Redirects or dynamic rule expressions.