Query String Parser
Turn a query string into a table, handling repeated keys.
Loading tool…
About this tool
Splits a query string into its parameters, as a table or as JSON. Repeated keys are preserved rather than silently collapsed, because servers disagree about which value wins.
Questions
- I have the same key twice. Which one counts?
- It depends on the server. PHP takes the last, Rails builds an array, Express takes the first by default. Do not rely on the behaviour being consistent.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.