Query String Parser
Parse a URL query string into editable key-value pairs, or build a correctly URL-encoded query string. See how duplicate keys and spaces are handled.
Query string
Stays in your browserParameters
Built query string
- Query
?page=2&search=react+tools&tag=frontend&tag=browser
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Online Query String Parser and Builder
Parse query parameters into editable rows, preserve repeated keys, and build a correctly encoded query string without sending data anywhere. It solves the common problem of debugging filters, pagination parameters, and repeated keys inside long URLs.
What this tool does and who uses it
A query string is the key-value portion after a URL's question mark, carrying filters, pagination, search terms, and feature flags between a browser and a web application. Two concrete uses: a developer debugging why a filtered list page shows the wrong results by inspecting exactly which parameters were actually sent, and someone building a shareable link who needs several values under the same key (like multiple tag filters) encoded correctly.
Worked example
Parsing ?page=2&search=react tools&tag=frontend&tag=browser produces four rows, including two separate tag rows (frontend and browser) rather than one row overwriting the other. Rebuilding it produces page=2&search=react+tools&tag=frontend&tag=browser — note the space in "react tools" becomes +, not %20.
Common mistakes and edge cases
- A space encodes as
+, not%20— both are valid, and this tool's own parser decodes either one back to a space correctly, but if you're comparing output against a different encoder, don't assume a mismatch means a bug. - Repeated keys are preserved as separate rows on purpose — if you edit one
tagrow expecting it to replace all of them, you'll end up with duplicates instead. - An empty key is silently dropped when the string is rebuilt (rows need a key to be included), so a row with only a value and no key won't appear in the output.