Your files stay on your device

# GraphQL mock data generator

Generate seeded mock responses shaped by your GraphQL schema SDL and operation, with null chance and per-field rules, no server needed.

Paste a schema and an operation to mock the response.

The mock is the success path only: it returns the data a server would send when everything works, and it never produces GraphQL errors, partial failures, or real resolver behavior. Scalars get placeholder values chosen by field name (emails stay on example.test, names come from a fixed list), enums draw from your schema members, and the same seed plus the same input always reproduce the same response. Union and interface fields pick a concrete member deterministically, honoring inline fragments; fields the chosen member does not carry are left out.
Options

## More regex & cron tools

- [JSON schema generator](/json/schema-generator)
- [JSON to code](/json/codegen)
- [Bulk test data](/data/test-data)
[All regex & cron tools](/dev)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/dev/graphql-mock-data-generator
Markdown version: https://nutter.tools/dev/graphql-mock-data-generator.md
Plain-text version: https://nutter.tools/dev/graphql-mock-data-generator.txt
Agent index: https://nutter.tools/llms.txt

