Query string parser & editor
Drop a query string (with or without the leading ?), get an editable table; reorder, dedupe, add, edit, delete, and copy back.
Ready.
How to use
- Paste a query string or a full URL — the tool extracts the query automatically.
- The table shows every param, with values URL-decoded for readability. Click a cell to edit.
- Use the row handles to drag-reorder; click the trash to delete; click + Add to append.
- The Output row at the bottom is the rebuilt, re-encoded query string. Use the Mode dropdown to switch between Replace (one value per key, last wins) and Keep duplicates (preserves
?a=1&a=2). - Sort alphabetizes keys; Dedupe keeps the first or last occurrence — your choice.
Tips
- If you paste a query string with arrays (
?a[]=1&a[]=2), each row is preserved separately — switch to Keep duplicates mode to round-trip them faithfully. - Sort + dedupe is a common pre-step before deduplicating URL lists (different param order = "different" URL otherwise).
FAQ
What happens to URL-encoded values in the table?
They're decoded for editing, then re-encoded on output. caf%C3%A9 shows as café in the row and is re-encoded to caf%C3%A9 in the output.
How are arrays handled (?a[]=1&a[]=2)?
Each row is independent — the key is a[] on both rows. PHP / Rails will reassemble them server-side. Keep-duplicates mode preserves them; Replace mode collapses to a single row.
Can I drag rows on mobile?
Use the up/down arrow buttons on the row to reorder when touch-drag isn't available.
Does this work on rebuilt URLs?
Yes — paste a full URL and the tool extracts just the query. The hostname/path stays in the textarea but isn't part of the output.