{
  "slug": "parse-query-string",
  "name": "gizza-ai/parse-query-string",
  "version": "0.1.0",
  "title": "Query String Parser — gizza.ai",
  "description": "Parse a URL query string into key/value pairs and structured JSON — repeated keys, PHP/Rails bracket notation, percent and + decoding. Free, in your browser.",
  "tags": [
    "query string",
    "parse query string",
    "url parameters",
    "querystring",
    "parse url params",
    "bracket notation",
    "form urlencoded",
    "percent decode",
    "key value pairs"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/parse-query-string/",
    "markdown": "https://gizza.ai/tools/parse-query-string/index.md",
    "descriptor": "https://gizza.ai/tools/parse-query-string/tool.json",
    "deep_link_example": "https://gizza.ai/tools/parse-query-string/?query=name%3DJohn%2BDoe%26color%3Dred%26color%3Dblue%26user%5Bage%5D%3D30&plus_as_space=true"
  },
  "cli": "gizza tool parse-query-string \"name=John+Doe&color=red&color=blue&user[age]=30\"",
  "tool": {
    "description": "Parse a URL query string into JSON: ordered key/value pairs (duplicates preserved) plus a structured object where repeated keys become arrays and bracket notation (a[]=, a[0]=, user[name]=) is expanded into nested arrays/objects. Percent-decodes keys/values; optionally decodes + to a space.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "plus_as_space": {
          "default": true,
          "type": "boolean"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    }
  }
}