GraphQL variables formatter
ClientPaste a variables object and copy a formatted block for GraphQL clients— root must be a JSON object, with an optional operation name comment for your IDE or HTTP client.
Nearby workflows on Toolcore
- JSON → GraphQL SDL — Draft GraphQL object types from sample JSON—inferred fields, local only. once JSON text parses on this page.
- JSON formatter — JSON format online: pretty-print, minify, validate, escape, download . once JSON text parses on this page.
- JSONPath & JMESPath — Query large JSON with JSONPath or JMESPath—results panel, runs in your tab. once JSON text parses on this page.
- JSON Schema validate — Validate JSON against a schema, infer draft-07 schema from data—Ajv in browser. once JSON text parses on this page.
Common use cases
- Clean up variables copied from network tabs before filing bug reports.
- Share reproducible GraphQL requests with formatted variable JSON.
Common mistakes to avoid
Using an array at the root
GraphQL variables must be a single JSON object map.
FAQ
Does this execute queries?
No. It only formats variables JSON for copy-paste.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- graphql variables json formatter
- format graphql variables online
- apollo variables json pretty
More tools
Related utilities you can open in another tab—mostly client-side.
JSON → GraphQL SDL
ClientDraft GraphQL object types from sample JSON—inferred fields, local only.
JSON formatter
ClientJSON format online: pretty-print, minify, validate, escape, download .json.
JSONPath & JMESPath
ClientQuery large JSON with JSONPath or JMESPath—results panel, runs in your tab.
JSON Schema validate
ClientValidate JSON against a schema, infer draft-07 schema from data—Ajv in browser.