Fake JSON Generator
Generate sample JSON users, products, or API responses for mocks. The payload appears as soon as you pick a sample.
Generate
Sample type
Sample
One user
A single user object for a detail view
User list
Three sample users in an array
One product
A single product record
Product list
Four sample products in an array
API response
A paged { ok, data } envelope
Generated JSON
How to Use
Choose a user, product, list, or API envelope.
The JSON appears instantly — nothing is uploaded.
Copy or download it for mocks, fixtures, and UI prototypes.
Pretty-print or minify next door if you need a different shape.
Fake JSON at a glance
Stable samples
The same sample type always returns the same JSON, which is handy for screenshots.
No source JSON
There is nothing to paste. Pick a sample and copy the result.
Mocks and fixtures
Drop the payload into a prototype, test, or empty API response.
Your samples stay private.
Fake JSON is generated locally in your browser. Nothing is uploaded.
About generating fake JSON in the tab
Fake JSON Generator builds a sample JSON document in this browser from the shape you pick (object, array, nested fields). The sample updates as options change. Nothing is uploaded. Use it to fill a UI, a unit test, or a screenshot when you do not have production data and should not paste production data.
It is not a schema faker bound to an OpenAPI file, not Faker.js with locales, and not a way to anonymize a real dump. Values are plausible placeholders, not statistically real. Pretty-print the result in JSON Formatter. Validate it in JSON Validator. Compare two versions in JSON Compare.
Related: Lorem Ipsum for prose filler. UUID Generator for ids. Random Number Generator for scalars. JSON to TypeScript if you needed types from a real payload rather than a toy object.
The URL is /tools/fake-json. We do not scrape your database. Treat the output as a sketch. Close the tab to drop the sample from memory.
Fixtures in git still need review. This generator will not match production cardinality or null rates.
What is Fake JSON?
Related JSON tools
JSON Formatter
Pretty-print JSON with indentation, optional key sorting, and minify. The result updates as you type.
JSON Minifier
Remove whitespace from valid JSON. Type or paste below — the result updates as you type.
JSON → TypeScript
Generate TypeScript interfaces from a JSON object or array. The result updates as you type.
JSON Validator
Validate and format your JSON. Check for syntax errors and view detailed error information. The result updates as you type — nothing is uploaded.
Lorem Ipsum Generator
Generate placeholder paragraphs, sentences, or words for mockups. The sample appears as soon as you pick an amount.
Fake JSON Generator FAQ
No. Sample documents are built in this browser from the shape you pick. Nothing is uploaded. Pretty-print in JSON Formatter; validate in JSON Validator.
No. It is not a schema faker and not a way to anonymize a real dump. Values are plausible placeholders, not statistically real production data.
Copy valid JSON into JSON to TypeScript. JSON Compare can diff two sample shapes. Do not paste real customer dumps into a shared tab.
No. Values are plausible placeholders, not statistically real, and not an anonymizer for a production dump. Treat the output as a sketch. Close the tab to drop the sample. Pretty-print in JSON Formatter. Nothing is uploaded.