URL, HTTP & APIs
Query String Builder
Add key/value pairs and get a correctly percent-encoded query string or full URL.
Spaces, &, =, unicode and repeated keys are encoded for you.
Everything runs in your browser — nothing is sent to a server.
Parameters
0 pairsLeave blank to build only the query string.
Key / value pairs
Press Enter in a key field to move to its value, and in a value field to add the next pair.
Result
0 charsHow it works
Each row becomes one key=value pair, joined with &.
Keys and values are encoded with encodeURIComponent() by default, so a
space becomes %20 and characters such as &,
=, ? and # cannot break the URL. Switch to
Form-encoded for application/x-www-form-urlencoded
(spaces become +); None outputs raw text for manual
assembly. Repeated keys are kept in order, so tags=new&tags=sale works.
Rows without a key are ignored, surrounding whitespace is trimmed, and empty values are
preserved as key=. Nothing is uploaded, and the current pairs and options can
be shared through the URL fragment.