Query String to JSON
Parse ?a=1&b=2 into a JSON object.
Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.
What Query String to JSON does
Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.
This URL is only for Query String to JSON (query to json). Parse ?a=1&b=2 into a JSON object. Other Convert tools on Tool-You look similar in the chrome, so the job definition below is the part that belongs to Query String to JSON alone: Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.
How to use Query String to JSON
- Keep this tab on Query String to JSON (/query-to-json). Pasting into the wrong Convert tool (for example URL Encode / Decode) changes the job.
- Paste or type the input Query String to JSON expects. Path hint: query to json. Parse ?a=1&b=2 into a JSON object.
- Apply the Query String to JSON action only. JSON Formatter is a different transform (Pretty-print or minify JSON with indent and optional key sort.). Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.
- Copy the output of Query String to JSON if you need it elsewhere. Size/complexity still follows: application/x-www-form-urlencoded rules. Duplicate keys become JSON arrays.
- If the text job is actually Percent-encode or decode a string (component or URI)., leave Query String to JSON and open URL Encode / Decode.
When not to use Query String to JSON
Skip Query String to JSON when a neighbor tool matches better — start with URL Encode / Decode or JSON Formatter — or when the description already warns the job will fail. In the tool’s own words: Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.
Questions about Query String to JSON
- What does Query String to JSON do that other Convert pages on this site do not?
- Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces. Short version: Parse ?a=1&b=2 into a JSON object.
- Does Query String to JSON upload my file or text to Tool-You servers?
- No. Query String to JSON runs in this browser tab. Files stay on the device. Limit note: application/x-www-form-urlencoded rules. Duplicate keys become JSON arrays.
- Should I use URL Encode / Decode instead of Query String to JSON?
- Use Query String to JSON when you need Parse ?a=1&b=2 into a JSON object. Use URL Encode / Decode when you need Percent-encode or decode a string (component or URI). They share a category (Convert) but not the same job.
- What are the limits of Query String to JSON?
- application/x-www-form-urlencoded rules. Duplicate keys become JSON arrays. Also: Accepts a full URL or a raw query. Repeated keys become arrays. Not a JWT decoder. Plus signs are spaces.