Query String ↔ JSON Converter

Convert query strings to ordered two-string arrays or back to query text.

ReadyRuns in your browser
INPUT & CONTROLS

Prepare your input

Local processing

Runs locally in your browser. Input is not sent to DevEngineerLab.

Form encoding: + decodes to a space; a literal plus is %2B. Ordered [name, value] pairs preserve duplicates, order and empty strings. Query text only, not complete URLs; one leading ? is removed, raw input is not trimmed, empty & segments are ignored, and a name without = has an empty value. # and ; are ordinary data, not fragment or pair separators. Invalid percent escapes, invalid UTF-8 and unpaired UTF-16 surrogates are rejected. JSON must be an array of exactly two-string pairs. Output query uses standard form encoding, without a leading ?. Limits: 262,144 input UTF-16 code units, 10,000 pairs, 2,097,152 output UTF-16 code units.

Result

Your result starts here

Review the input and selected options, then use the primary action. Output and any validation messages will appear here.

METHOD & CONTEXT

Understand the result before using it.

How it works

Converts query text and ordered two-string JSON pairs using form encoding.

Interpretation

Read the result summary first, then inspect the detailed output and any errors or warnings. The result describes the supplied input and selected options. Changing input requires another run.

Assumptions & warnings

Plus decodes as a space; a literal plus uses %2B. Ordered pairs preserve duplicate names and empty values. Input is query text, not a full URL.

Inputs are processed in your browser. Follow the input format and size limits shown next to the controls.

Try an example

Select Load example in the input panel, review the selected mode, then use its displayed primary action. Inspect the result before replacing the sample with your own input.

Related utilities for the next step in your task.

Explore API Tools →