Find your next tool

Browse tools or search by task

Explore JSONToonPro

HTTP & Network Tools

Query String Parser & Builder

Parse query strings into editable key and value rows, preserve repeated parameters, and build encoded URL parameters locally with URLSearchParams.

Runs locally in your browser. Nothing you paste is uploaded.

Query String Parser & Builder workspace
Network tool workspace

Parse replaces the rows from the input. Build uses your edited rows. Duplicate names are preserved; enter decoded names and values.

Parse Query Parameters

Paste a query string such as ?name=Zain&sort=asc and choose Parse. Each parameter becomes an editable name and value row. This input expects the query portion, not a complete URL; use URL Parser to extract that portion first. Empty values and repeated names remain separate entries in their original order.

Build a Query String from Rows

Add or remove rows, enter decoded names and values, then choose Build. The output is a query string with a leading question mark when rows are present. Copy exports that result; Clear resets the text, rows and output. Build uses the current rows, while Parse replaces rows from the query text.

Encoding and Repeated Names

URLSearchParams applies form-style URL encoding: spaces become plus signs and a literal plus becomes %2B. Percent escapes are decoded when parsing, and malformed byte sequences follow the browser standard rather than strict validation. Rebuilding may change spelling or ordering of equivalent encodings. Preserve an original signed query string when byte identity matters.

Standards and references

Frequently asked questions

Can two parameters have the same name?

Yes. Repeated names remain separate rows and are appended separately when building.

Why does a space become a plus?

URLSearchParams uses application/x-www-form-urlencoded conventions, where a plus represents a space.

Should I enter encoded text in the rows?

Enter decoded values. Build encodes each name and value; pre-encoded input would encode the percent sign again.

Is a complete URL accepted?

Use only the query portion, optionally beginning with a question mark. URL Parser can extract it from a full URL.