Query String Parser and Builder
Breaks a query string into parameters, or builds an encoded one, with repeated keys called out.
Loading the tool…
How to use this tool
- Leave the mode on parse and paste a URL or a query string.
- Select Run.
- Look for repeated keys in the summary — those are the ones whose behaviour differs between frameworks.
- Switch the mode to build, paste key and value lines, and run it again to get a correctly encoded query string back.
What query string parser does
Paste a whole URL, a query string with or without its leading question mark, or a fragment carrying parameters — all three are recognised, and the summary says which it read. Each parameter is shown decoded, with the raw encoded form beside it when the two differ, so a double-encoded value is visible rather than merely confusing.
Two things get flagged. Repeated keys, because they are legal and every framework handles them differently — some keep the first, some the last, some build a list — and quietly picking one is a real source of bugs. And tracking parameters, the utm_ family and the click identifiers, because they are almost always the part you want to strip before sharing a link.