What Is a URL Query String Parser?
A URL query string parser takes a URL or query string and breaks it into structured key-value pairs. It decodes URL-encoded values (e.g., %20 to space), handles array notation (key[]=value or repeated keys), preserves duplicate keys, and separates the base URL, path, query string, and fragment.
This is useful for debugging URLs, understanding API parameters, editing query strings before making requests, and learning how URLs encode data. The tool also lets you edit values and regenerate a complete URL.
How to Use This Query Parser
Paste a full URL or query string into the input. Click Parse to extract the components. You'll see a table of key-value pairs. Edit any value inline. Use 'Add parameter' to insert a new key-value pair. Click 'Regenerate URL' to rebuild the URL from your edits. Use 'Copy URL' to copy the result.
The tool shows the base URL (scheme + host), path, query string, and fragment separately. Empty values are supported — some APIs use key=&key=value to distinguish missing from empty.
Query String Encoding and Arrays
Query values use percent-encoding: space is %20, & is %26, = is %3D. The tool decodes these for display and re-encodes when regenerating. Array parameters use key[]=a&key[]=b (PHP-style) or key=a&key=b (repeated keys). Both are common in web APIs. The parser preserves the format you use when regenerating the URL.
Frequently Asked Questions
Related Tools
Explore More Tools
Find this tool useful? Buy us a coffee to keep DuskTools free and ad-light.