TOOL
JSON to GraphQL
Generate a GraphQL type definition from a JSON sample: object keys become fields, arrays unwrap their item type. All numbers map to Float (integers are not distinguished), strings to String, booleans to Boolean.
Try an example:
Local only
Recent history
No history yet
How to use
- Type or paste your input into the input box.
- Adjust any parameters if needed.
- Copy or download the result.
Frequently asked questions
- Is my data uploaded anywhere?
- No. All processing happens locally in your browser with no server round-trip.
- Does this tool work offline?
- Yes. Once the page loads, the tool runs entirely client-side and needs no network connection.
Related tools
GraphQL to JSON
Extract GraphQL operations as JSON. TOOL
GraphQL Introspect
Generate a GraphQL introspection query. TOOL
JSON to OpenAPI
Generate a minimal OpenAPI 3.0.0 skeleton from a JSON array of endpoints, e.g. [{"path":"/x","method":"get"}]. Each entry must include both path and method — an entry missing either fails with a raw runtime error instead of a friendly validation message. TOOL
GraphQL Format
Pretty-print GraphQL with indentation. TOOL
GraphQL Minify
Minify GraphQL by removing whitespace. TOOL