Query string parser
The parameters of a URL, one per line.
Output
Paste or type above to see the result here.
Your files stay on your device
This tool runs entirely in your browser. What you paste is processed on your device and is never sent to a server, so it is safe to use with tokens, keys and unpublished text.
How it works
- Paste a whole URL or just the part after the ?.
- Read the parameters, already percent-decoded and with + turned back into a space.
- Repeated names are pointed out: ?tag=a&tag=b is a list, not a mistake.
- Switch direction to build a query string from name=value lines instead.
Frequently asked questions
- Why keep a repeated name?
- Because that is how a list is written in a query string, and collapsing it would change the request. Most parsers quietly keep only the last one, which is how a filter with two values silently becomes one.
- What happens to badly encoded text?
- It comes through as it stands rather than throwing. A stray % that is not followed by two hexadecimal digits is not valid percent-encoding, and you usually want to see it rather than lose the whole parameter.
- Does it handle the fragment?
- Yes. The part after the # is separated out and shown on its own, because it is not sent to the server and is often where a single-page app keeps its state.
- What about encoding a single value?
- Our URL encoder does that, and knows the difference between encoding a whole URL and encoding one value inside it.
- Is anything sent to a server?
- No. It runs in your browser, so what you paste stays on your computer.