tools/data/query string parser
// datanew

query string parser

parse and build url query strings

— paste a URL or query string // client-only

              curl -sX POST 'https://api.whittly.dev/v1/querystring/parse' \
  -H 'Authorization: Bearer $WHITTLY_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"input":"https://example.com?name=alice&role=admin"}'
            

              const res = await fetch('https://api.whittly.dev/v1/querystring/parse', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + apiKey,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ input: "https://example.com?name=alice&role=admin" }),
});
const data = await res.json();
            

              const { data } = await axios.post(
  'https://api.whittly.dev/v1/querystring/parse',
  { input: "https://example.com?name=alice&role=admin" },
  { headers: { Authorization: 'Bearer ' + apiKey } }
);
            
// probulk URL parsingpro·history syncproupgrade →

// about this tool

A query string is the part of a URL after the ? character, containing key=value pairs separated by &. This tool parses query strings into a readable table, lets you edit individual values, and rebuilds the encoded string.

// when to use

  • Decode a complex query string from an API request
  • Build a query string from known parameters
  • Debug URL parameters in redirect chains
  • Extract tracking parameters from marketing URLs

// faq

Are duplicate keys supported?
Yes. Query strings can contain multiple values for the same key (e.g. ?tag=a&tag=b). The parser displays all values and preserves duplicates when rebuilding.
What about plus signs in query strings?
In application/x-www-form-urlencoded format, + represents a space. The parser decodes + as a space, matching how browsers submit HTML forms.
// history
Pro Cloud Sync — upgrade
no operations yet