Skip to content
ToolzKit

Web & URL

Query String Parser

Parse query strings into readable key/value pairs, or rebuild one from scratch.

Paste a URL or query string above, or load the example.

About the Query String Parser

Query String Parser reads either a full URL or a bare query string and lists every parameter with its decoded value, correctly grouping repeated keys into arrays. A companion builder mode lets you edit those rows and generate a fresh, correctly encoded query string.

How to use it

  1. 01Paste a full URL (containing a ?) or just the query string itself.
  2. 02Inspect the parsed key/value table; repeated keys show as a bracketed list.
  3. 03Click 'Edit & rebuild' to load the parameters into an editable row list.
  4. 04Add, remove or change rows, then copy the rebuilt query string.

Features

  • Accepts full URLs or bare query strings interchangeably
  • Groups repeated parameter keys into arrays instead of overwriting them
  • Editable row-based builder that re-encodes values correctly
  • One-click copy of the rebuilt string

Practical examples

Reading a search results URL

Paste ?q=shoes&color=red&color=blue to see 'color' listed as [red, blue] rather than losing one value.

Building a query string from scratch

Clear the input, add rows manually in the builder, and copy the resulting encoded string for use elsewhere.

Limitations

  • Assumes standard application/x-www-form-urlencoded formatting.
  • Does not interpret framework-specific array syntax like key[]=value beyond treating it as a literal key name.

Privacy

Parsing and rebuilding both happen entirely client-side; nothing is transmitted anywhere.

Read the full privacy policy for how the site as a whole handles data.

Frequently asked questions

What happens to a key with no value?

It's kept with an empty string value, matching standard query string semantics.

Are values decoded automatically?

Yes, percent-encoded characters are decoded for display in the table.

Can I paste a string with a leading '?' or '&'?

Yes, both are stripped automatically before parsing.