JSON
Mock JSON Generator
Generate fake JSON data from a template: placeholder values like {{name}} or {{email}}, and arrays repeated via "key|N".
Placeholders: {{uuid}} {{name}} {{firstName}} {{lastName}} {{email}} {{phone}} {{number(1,100)}} {{float(0,1)}} {{boolean}} {{date(2020,2024)}} {{datetime}} {{word}} {{sentence}} {{paragraph}} {{city}} {{country}} {{company}} {{color}} {{index}} · array: "key|N": [template] — repeat N times.
Frequently asked questions
What is a mock data generator useful for?
Quickly building test fixtures or sample API responses without manually inventing values — handy for frontend development, tests, or demos when real data is not yet available.
How do I generate an array with multiple records?
Use the "key|N": [template] syntax — the template inside the array is repeated N times, and each repetition generates fresh random values for the placeholders.
Can placeholders take parameters?
Yes, placeholders like {{number(1,100)}} or {{date(2020,2024)}} accept a range in parentheses — generation happens entirely in your browser via JavaScript, with no server involved.