URL Query String Decoder
Parse and decode URL query strings into readable key-value pairs. 100% client-side — nothing leaves your browser.
| Key | Value | Actions | |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 |
🔗 Rebuilt query string
📋 JSON representation
{
"q": "hello world",
"category": "dev tools",
"page": "2",
"sort": "relevance",
"tag": [
"web",
"javascript"
],
"utm_source": "newsletter",
"utm_medium": "email",
"user[name]": "Alice",
"user[age]": "30"
}About URL Query String Decoder
Query strings are the part of a URL after the "?" — a series of key=value pairs separated by "&". They carry search terms, pagination, filters, tracking parameters (UTM), API arguments, and authentication tokens. Raw query strings are hard to read: %20 means space, %26 means literal &, %3D means literal =, and + often means space (form data convention). Long query strings from real APIs can be hundreds of characters of encoded gibberish. This tool parses a query string into a clean table — each key and value decoded and displayed side by side. It handles URL encoding, plus signs, duplicate keys, and bracket notation (a[b]=c), and shows both raw and decoded forms so nothing is lost.
How It Works
- Paste a full URL or just the query string (?a=1&b=hello%20world).
- See each parameter decoded in a table.
- Toggle between raw (encoded) and decoded views.
- Copy individual values, export as JSON, or use the rebuilt query string.
✨ Key Features
- ✓Parse query string from a full URL or a fragment
- ✓Decode URL encoding (%20, %26, %3D, %2F, etc.)
- ✓Handle "+" as space (application/x-www-form-urlencoded)
- ✓Support duplicate keys (?tag=a&tag=b)
- ✓Detect bracket notation (a[b]=c, a[]=1)
- ✓Show both raw and decoded values
- ✓Rebuild the query string from the parsed parameters
- ✓Export as JSON object
- ✓Copy individual keys or values
- ✓Show parameter count and total length
- ✓100% client-side — no data sent to any server
🎯 Common Use Cases
- →Debugging API requests with complex query strings
- →Decoding UTM tracking parameters on marketing links
- →Reading OAuth callback URLs with encoded tokens
- →Parsing search/filter URLs from a web app
- →Understanding duplicate keys and bracket notation
- →Extracting specific parameters from long URLs
- →Converting a query string to a JSON object
- →Analyzing URLs from server logs
💡 Advanced Tips & Pro Insights
- ▸URL encoding (%XX): special characters are encoded as % followed by two hex digits. Space = %20, & = %26, = = %3D, / = %2F, ? = %3F, # = %23, + = %2B.
- ▸In application/x-www-form-urlencoded (typical HTML forms and query strings), "+" also represents a space. This tool decodes both %20 and + as space.
- ▸Duplicate keys are valid (?tag=a&tag=b) and common. This tool preserves both. Most APIs treat them as an array.
- ▸Bracket notation (?user[name]=Alice&user[age]=30) is a PHP/Rails convention for nested objects. This tool detects and displays it but keeps the raw key.
- ▸The "#" fragment is not part of the query string — it is client-side only. This tool stops at "#".