URL Query String to JSON Converter

Convert URL query strings to JSON online — decodes percent-encoding and +, repeated keys become arrays, numbers and booleans typed. 100% in-browser.

Input · text0 chars
Output · json0 chars

🔒 100% private: this tool runs entirely in your browser. Your data is never uploaded, stored or logged anywhere.

How to url params → json

  1. Paste a full URL or just the query part (?a=1&b=2).
  2. Keys become JSON fields — repeated keys become arrays.
  3. Copy or download the JSON.

FAQ

Does it handle the full URL?

Yes — paste the whole URL and only the query part is parsed.

How are + and %20 handled?

Both decode to spaces, per URL conventions.

Can I keep everything as strings?

Turn off "Auto-detect" — useful when values like version numbers must stay textual.

Related tools