Query String Parser & Builder

Pick a direction and type — the result follows along as you go, no button to press.

How it works

Parse takes a query string — with or without a leading ? — and lists every key/value pair it contains, one per line, decoded and in order. Repeated keys (a=1&a=2) are both kept, not collapsed into one.

Build takes one key=value pair per line and joins them into a single query string, percent-encoding as needed. Note that a space in a value is encoded as +, not %20 — that's correct application/x-www-form-urlencoded behavior (the same encoding an HTML form submits), not a bug.