Dummy JSON Generator
Generate realistic fake JSON data for API mocking and testing.
{{index}}{{uuid}}{{name}}{{email}}{{int:1000:9999}}{{float:1:99:2}}{{pick:admin|editor|viewer}}{{pick:roles}}{{date}}{{datetime}}Use a top-level _sources object for reusable arrays, or an inline descriptor like {"$source": ["draft", "published"]}.
Frequently Asked Questions
Why do I still get an array when the count is set to 1?
Because this generator always wraps the output in an array of records. A count of 1 gives you a one-element JSON array, not a bare object.
Can I feed it my own reusable lists of values?
Yes. You can define a top-level _sources object and reference it with tokens like {{pick:roles}}, or use an inline descriptor such as {"$source": ["draft", "published"]}.
Are the generated values repeatable if I run the same template twice?
No. This tool uses Math.random for picks and numbers, and crypto.randomUUID for UUIDs, so each run is intentionally non-deterministic.
What happens if I use a placeholder token the tool does not know?
Unknown placeholders are left in place instead of throwing an error. If the token is not recognized, the output keeps it as {{token}} so you can spot it.
Can I use this to generate nested arrays with random lengths?
Not directly. Arrays in the template are materialized as written, so a one-item array template becomes a one-item generated array for every record unless you edit the structure yourself.