Web tools

Query String ↔ JSON

Convert address parameters to and from ordered JSON (JavaScript Object Notation) name and value pairs.

Runs locally

Direction

  • Parameters to JSON: read address parameters as ordered name/value pairs.
  • JSON to parameters: encode each pair in order. Repeat a name to keep several values.
Input: up to 1,000,000 bytes. Data stays in your browser.
Guide

Convert address parameters into an ordered list of JSON (JavaScript Object Notation) name/value pairs, or convert that list back into parameters. This keeps repeated names, empty values and their order intact.

  1. Choose a direction

    Choose an example or paste parameters or a list of name/value pairs in the selected direction.

  2. Read the result

    Repeated names and empty values keep their order. A plus means a space; encode a literal plus as %2B. Encoding may normalize the spelling.

  3. Keep the result

    On mobile, choose Output. Choose Download to keep the result on your device.

Keep two values for one name

Use Parameters to JSON with tag=red&tag=blue. Both pairs appear in order. Copy the result, switch Direction, and paste it back to recover the two parameters.

On mobile, choose Output to read the result. Clear removes both fields.

Direction

  • Parameters to JSON: read address parameters as ordered name/value pairs.
  • JSON to parameters: encode each pair in order. Repeat a name to keep several values.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
Does this open external addresses?
No. The tool processes what you enter in this browser. Addresses and image links stay text.
When does the result update?
Choose an example for an immediate result, or pause after typing. A blank or invalid entry clears the previous result.
How much can I enter?
Input is limited to 1,000,000 bytes on this page. Output is limited to 2 MB.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.