Query string parser
Decode a URL query string into JSON. Repeated names become arrays.
Input
Result
Fill in the input and press Run.
Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.
Use it from code or an agent
curl -s https://setget.net/v1/tools/querystring-parse \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"https://example.com/s?q=hello+world&tag=a&tag=b"}}'
import json, urllib.request
body = {'input': {'text': 'https://example.com/s?q=hello+world&tag=a&tag=b'}}
request = urllib.request.Request("https://setget.net/v1/tools/querystring-parse", json.dumps(body).encode(),
{"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/querystring-parse", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"https://example.com/s?q=hello+world&tag=a&tag=b"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "querystring-parse",
"input": {
"text": "https://example.com/s?q=hello+world&tag=a&tag=b"
}
}
{
"input": {
"text": "https://example.com/s?q=hello+world&tag=a&tag=b"
}
}
Endpoint: POST /v1/tools/querystring-parse. Over MCP: run_tool with slug: "querystring-parse".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | A query string or a full URL. |
Example
Input
{
"text": "https://example.com/s?q=hello+world&tag=a&tag=b"
}Result
{
"params": {
"q": "hello world",
"tag": [
"a",
"b"
]
},
"count": 3
}Related tools
- URL parserSplit a URL into scheme, login, host, port, path, query parameters and fragment.
url-parse - URL encoder and decoderPercent-encode text for use in a URL, or decode it. Works on one value or a whole URL.
url-encode - .env to JSONParse a .env file into a JSON object, handling quotes, comments and "export" prefixes.
env-to-json - CSV profilerSummarise each CSV column: type, blanks, distinct values, min, max, mean and top values.
csv-profile - CSV sort, filter and dedupeSort CSV by a column, keep rows containing some text, pick columns and remove duplicate rows.
csv-sort-filter-dedupe - CSV to JSONTurn CSV rows into a JSON array of objects, detecting numbers, booleans and blanks.
csv-to-json