Query String Builder
Assemble a correctly-encoded query string from a list of key-value pairs. The builder handles reserved characters, spaces and non-ASCII input the way RFC 3986 expects, so you can feed the result straight into a URL without breaking on ampersands or equals signs.
How to build a query string
-
1
Add your pairs
Type each parameter name and value. Add more rows for extra keys.
-
2
Let encoding happen
Spaces become %20, non-ASCII text becomes percent-encoded UTF-8, and reserved characters such as & = # ? are escaped.
-
3
Copy the output
Prepend it to your URL with ? or paste it into Postman, curl or a fetch() call.
What gets encoded
Per RFC 3986, anything outside the unreserved set (A-Z a-z 0-9 - _ . ~) must be percent-encoded inside a query component. In practice this means:
| Character | Encoded as | Why |
|---|---|---|
| space | %20 or + |
Ambiguous between contexts |
& |
%26 |
Separates pairs, would break the string |
= |
%3D |
Separates key from value |
# |
%23 |
Starts the fragment |
? |
%3F |
Starts the query itself |
/ |
%2F |
Safe in paths, risky in values |
Repeated keys and bracket notation
Rows are encoded independently and kept in their original order, so entering tag twice produces tag=a&tag=b. If your server expects brackets, type tag[] as the key; the brackets are encoded as %5B%5D. The tool does not guess which convention your framework uses.
Tips
- Always encode user-supplied values; never concatenate them raw into the URL.
- Keep query strings short: practical limits vary between browsers, proxies, CDNs and servers.
- If a value looks binary, base64url-encode it before dropping it in.
Frequently Asked Questions
The builder always emits %20 for spaces under RFC 3986. The parser also accepts + and decodes it as a space for form-style queries.
Add one row per value. Repeat tags for tags=php&tags=laravel, or enter tags[] in each key field if your backend expects bracket notation.
That is HTML entity encoding applied by your template engine, not the query string itself. Make sure you are not double-escaping the output when rendering inside an href.
There is no single practical limit; browsers, proxies, CDNs and servers set different caps. Use a request body for large payloads.
Related Tools
ASCII Table Reference
Full ASCII table from 0 to 127 with decimal, hex, octal, binary, standard names and HTML numeric-reference notation, including NUL, LF and DEL.
Color Palette Generator
Generate monochromatic, analogous, complementary, triadic or tetradic color palettes from a base HEX color and export copy-ready CSS variables.
FPS Counter
Measure browser FPS with requestAnimationFrame, smoothing, min/max frame rate, warnings and an optional graph. Runs locally with no upload or API.
HTML Character Reference
Searchable list of HTML entities, their named and numeric codes, and a one-click copy for special characters and symbols.
HEX Color Picker
Pick or enter a HEX colour and get RGB, HSL, approximate CMYK, relative luminance and contrast ratios against white and black.
Keyboard Shortcut Reference
Search documented default keyboard shortcuts for VS Code, Chrome and Bash with GNU Readline on macOS, Windows and Linux.
Tool available in other languages
- เครื่องมือสร้างสตริงสำหรับคำสั่งค้นหา (Query String Builder) [TH]
- Strument do tworzenia zapytań (Query String Builder) [PL]
- Bộ tạo chuỗi truy vấn [VI]
- Pembangun String Kueri [ID]
- Construtor de String de Consulta [PT]
- クエリ文字列ビルダー [JA]
- Query-String-Builder [DE]
- Constructor de Cadenas de Consulta [ES]
- 쿼리 문자열 생성기 [KO]
- Constructeur de chaînes de requête [FR]
- Query-stringbuilder [NL]
- Frågesträngbyggare [SV]
- بناء سلسلة الاستعلام (Query String Builder) [AR]
- Стринг-генератор запросов [RU]
- Sorgu Dizesi Oluşturucu [TR]
- 查询字符串构建器 [ZH]
- Costruttore di Stringhe di Query [IT]