Runs in your browser
Query String Parser
Paste a full URL or a bare query string to break it into decoded key/value pairs, then add, edit, or remove parameters and get the correctly encoded result back. Repeated keys are preserved in order rather than collapsed, and the rebuilt URL keeps the original path and fragment intact.
Paste a full URL or a bare query string
No parameters yet — paste a URL above, or add one below.
Values are shown decoded. The encoded output below is regenerated as you edit.
ReadyEncoding & Decoding ToolsFree · No account required
Related tools
Features
- Full URLs or bare query strings
- Repeated keys preserved in order, with a duplicate-key warning
- Add, edit, and remove parameters, then copy the encoded result
- Parsed and raw views, plus the rebuilt full URL
How to use
- Paste a URL or query string.
- Edit the parsed parameters as needed.
- Copy the encoded query string or the rebuilt URL.
Example
?name=Shivam&city=Bengaluru&tag=developer&tag=ai
parses into four rows — with tag appearing twice, flagged as a repeated key.
FAQ
- How are repeated keys handled?
- Every occurrence is kept, in order. `?tag=developer&tag=ai` parses as two separate `tag` rows and rebuilds with both. This is worth checking against your server: Express keeps both as an array, PHP keeps only the last unless the key ends in [], and others differ again.
- Are values shown encoded or decoded?
- The editable rows show decoded values, so you can read and edit them normally. The encoded query string and full URL below are regenerated with correct percent-encoding as you type.
- What happens to the path and fragment?
- Both are preserved. Paste a full URL and the rebuilt output keeps the origin, path, and #fragment around your edited query string.
- Can I paste just a query string?
- Yes — a bare `?a=1&b=2`, or even `a=1&b=2` without the question mark, both parse correctly.