Query String Parser
About this tool
About Query String Parser
Reading a query string such as q=caf%C3%A9+au+lait&size%5B%5D=9&size%5B%5D=10 by eye is slow. Paste it, or the full URL it came from, and each parameter appears as a decoded key/value row: %C3%A9 becomes é, + becomes a space, and size[] lists collapse back to their key with each value on its own row. Duplicate keys keep their order, and malformed escapes are left as typed instead of making the whole thing fail. Then edit: change a value, untick a row, add one, and the encoded string is rebuilt live with your choice of %20 or + for spaces and repeated, bracket or comma style for lists. Add a base URL to get a complete link back. It is useful when debugging redirects, OAuth callbacks, analytics hits and search pages, or when a support ticket contains a long link you need to understand. Everything happens in your browser, so links with tokens stay private.
Built and maintained by Abhi JainUpdated
How to Parse a Query String
- 1
Paste
Paste a query string or a full URL into the Query string pane, or click Sample.
- 2
Read the rows
Each parameter appears decoded under Parameters. Edit, untick or add rows.
- 3
Re-encode
Pick Spaces as and Repeated keys, then copy the rebuilt query string or full URL.
Query String Parser: questions and answers
How do I decode a query string?
Split it on &, split each part on the first =, turn + into spaces and decode %XX escapes as UTF-8. This page does all of that as you paste.
What does %5B%5D mean in a URL?
It is [] percent-encoded. size%5B%5D=9 is size[]=9, the bracket style PHP and Rails use to send a list.
Why does + turn into a space?
In form-encoded query strings + stands for a space. A real plus sign is sent as %2B.
Can I convert a query string to JSON?
Parse it here, then copy the rows; repeated keys stay in order so you can map them to an array. For JSON work, use the JSON Formatter.
More Query String Builder presets
Related tools
- URL ParserSplit a URL into protocol, host, port, path, query and fragment; edit any part and rebuild it.
- UTM BuilderBuild campaign URLs with utm_source, utm_medium and utm_campaign, in bulk, with a QR code.
- HTTP Request Code GeneratorBuild a request in a form and get cURL, fetch, Axios, HTTPie, Python, Go or PHP code.
- URL CleanerStrip tracking parameters such as utm_*, fbclid and gclid from links, in bulk.