Query String Parser
Break a URL query string into readable key-value pairs, with percent-encoding decoded. Paste a full URL or just the part after the question mark.
About this tool
Break a URL query string into readable key-value pairs, with percent-encoding decoded. Paste a full URL or just the part after the question mark.
Example
Input: ?name=Al%20B&age=30
Output: name = Al B\nage = 30
Privacy
This tool runs entirely in your browser. Your data is processed locally and never uploaded to a server.
How to use this tool
- Paste a full URL or just the query string after the question mark.
- Check that each parameter is on its own key-value pair, usually separated by ampersands.
- Review the parsed list to see each key and its decoded value.
- Use the output to spot missing values, repeated keys, or encoding issues.
Step by step, what happens
- The tool reads the text you paste and looks for the query part of a URL, or treats the whole input as a query string if that is what you provided.
- It splits the string into individual parameters wherever it finds ampersands.
- For each parameter, it separates the key from the value at the first equals sign it finds.
- It decodes percent-encoded text such as %20 or %26 so the results are easier to read.
Worked example
Here is a simple query string from a search page with one encoded value.
Input: q=hello%20world&page=2
- The tool splits the input into two parameters: q and page.
- It decodes the q value from hello%20world into hello world.
- It keeps page as 2 because there is no encoding to decode.
Output: q: hello world
page: 2
Tips and common mistakes
- You can paste either the full URL or only the part after the question mark, and the tool will focus on the query string.
- If a value contains spaces or symbols like ampersands, check whether they are percent-encoded before the string is parsed.
- Repeated keys will appear more than once in the parsed output, which is useful for filters or multi-select forms.
- A parameter without an equals sign is usually treated as a key with no value, so do not assume it is broken.
Frequently asked questions
Can I paste a full URL?
Yes, anything before the ? is ignored.
Are encoded values decoded?
Yes, percent-encoding like %20 is decoded to readable text.
Are repeated keys shown?
Yes, each occurrence is listed.
More Developer Tools Tools
Explore related calculators in this category
Query String Builder
Build a URL-encoded query string from key=value lines. Encodes special characters safely.
Apache Log Parser, Free Online Developer Tool
Parse Apache/NGINX combined access log lines into IP, time, request, status and size fields. Get instant results, the formula, and a clear example.
Byte Array ⇄ String
Convert a string to a byte array (UTF-8) or a byte array back to a string. Supports decimal byte lists.
Cron Parser
Parse a cron expression into a plain-English description of when it runs.
You Might Also Like
Popular tools from other categories
User Agent Parser
Parse a user-agent string into browser, OS and device.
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.