Fake JSON Data Generator
Free online fake json data generator. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Fake JSON Data Generator input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.
What is Fake JSON Data Generator?
The Fake JSON Data Generator creates structured mock JSON payloads driven by a user-supplied JSON schema describing nested objects, arrays, ranges, and semantic types. Frontend and API developers use schema-driven JSON generators to mock backend endpoints, test React tables, and prototype GraphQL or REST responses offline.
How It Works
Paste a JSON Schema-style descriptor specifying types (`string`, `number`, `integer`, `boolean`, `date`, `email`, `url`, `uuid`, `lorem`, `array`, `object`, `enum`, `phone`, `name`, plus `min`/`max`/`length`/`items`/`properties`) and set record count (1–100). Clicking Generate parses the schema via `JSON.parse`, runs `generateFakeData`, and serializes 2-space formatted JSON locally.
Common Use Cases
- Mocking REST API user or product responses — describe nested `object` properties with `integer`, `name`, `email`, `boolean`, and `date` fields
- Stress-testing paginated tables and lists — generate up to 100 realistic JSON records in an array for frontend state testing
- Generating constrained numeric and enum fields — specify `min`/`max` bounds or `enum` value lists directly inside the schema JSON
- Validating schema syntax cleanly — catch malformed JSON schema edits immediately with line/parse error messages
Technical Details
Powered by generateFakeData in src/lib/data-format/fake-data.ts. Supports 14 field types plus min/max/length/items/properties/enum/optional modifiers. Clamps record count to [1, 100]; outputs single object for count=1 or array for >1.
FAQ
Is this Fake JSON Data Generator free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.