JSON to Query String

Convert flat JSON to a URL query string and back. Supports common array conventions: tags[]=a&tags[]=b (PHP), tags=a&tags=b (Rails/many), tags=a,b (CSV).

How to use the JSON to Query String

Pick direction. JSON→Query handles arrays via the chosen convention; Query→JSON auto-detects which convention the source uses (groups repeats into arrays, parses foo[] and foo[0] notation).