Skip to main content

Query String Parser

Parse query strings into readable key-value pairs.

1
Upload
2
Configure
3
Convert
4
Download

Tool guide

Free Query String Parser

Parse a full URL or raw query string into an ordered JSON list of decoded key-value pairs. The browser URLSearchParams API handles percent decoding, repeated keys, missing values, and Unicode text without sending an HTTP request.

Steps

How it works

  • Paste a full URL, a query string, or text beginning with a question mark.
  • Run the query parameter parser.
  • Review each decoded key and value in input order.
  • Copy or download the JSON result.

Highlights

Key features

  • Accepts full URLs and standalone query strings.
  • Percent-decodes names and values with URLSearchParams behavior.
  • Preserves repeated keys as separate ordered entries.
  • Represents empty or missing values as empty strings.
  • Removes a URL fragment when parsing a full URL-like input.

Use cases

Common uses

  • Inspect parameters copied from a browser address bar.
  • Debug repeated or empty query values.
  • Convert an encoded query into readable JSON entries.
  • Prepare query parameter fixtures for an application test.

Notes

Limitations to know

  • Nested bracket notation and array conventions are not converted into nested objects or arrays.
  • A plus sign is decoded as a space following form-style URLSearchParams rules.
  • The parser does not validate parameter meaning, data types, or allowed values.
  • It does not send a request, inspect HTTP traffic, or analyze a live endpoint.
  • When plain input contains a question mark, only content after the first question mark and before a hash is parsed.

FAQ

Frequently asked questions

5 answers
Are duplicate query keys preserved?

Yes. Each repeated key remains a separate entry in its original order.

Are array or nested parameters supported?

Bracketed names are preserved as ordinary keys, but they are not expanded into arrays or nested objects.

Are names and values URL decoded?

Yes. URLSearchParams performs percent decoding and treats plus signs as spaces.

What happens with an empty value or missing equals sign?

The key is retained with an empty string value.

Does parameter order stay the same?

Yes. Entries are returned in the order URLSearchParams reads them.

Copied to clipboard