How to use this tool
- Paste a query string or URL fragment, or start with an empty list.
- Add, edit, or remove key-value pairs using the controls.
- Copy the built query string or clear to start over.
About Query String Builder
This tool helps you work with URL query parameters when building API URLs, debugging redirects, or constructing links. It parses standard query format and lets you modify params before rebuilding.
Common use cases
- Building API URLs with dynamic query parameters
- Debugging and modifying redirect URLs with query strings
- Converting between query string formats for different systems
FAQ
- What does the query string builder do?
- It parses a query string (e.g. ?foo=bar&baz=qux) into editable key-value pairs, lets you add or remove params, and rebuilds the encoded string. You can paste a full URL and it will parse the query portion.
- Is my query string sent to a server?
- No, all parsing and building happens locally in your browser. Your input is never transmitted.
- How does it handle duplicate keys or special characters?
- When parsing, duplicate keys keep the last value. Keys and values are URL-encoded when building, so spaces and special characters are handled correctly.
- Can I parse a query string without the leading ?
- Yes, both ?foo=bar and foo=bar are accepted. The leading ? is optional.