Fake JSON Generator

Describe a shape, get realistic mock data. Seeded and reproducible — offline.

Your data is processed entirely in your browser and is never uploaded.

Tool workspace

TEMPLATE
Template: Empty0 chars

Options

records

Same seed = same data, every time.

Local sandbox active
GENERATED JSON
Output: Empty0 chars
THE TOKENS

Write a shape, get the data

The template is ordinary JSON. Put a faker token in any string value — a value that is only a token keeps its real type, so "{{int:1..9}} becomes a number.

Identifiers

{{uuid}}3f1c…e9a2
{{index}}0, 1, 2 …
{{index1}}1, 2, 3 …

People

{{name}}Grace Hopper
{{firstName}}Margaret
{{lastName}}Hamilton
{{email}}ada.lovelace@example.com
{{username}}alan_turing42

Text

{{word}}consectetur
{{words}} or {{words:5}}sed do eiusmod tempor incididunt
{{sentence}}Lorem ipsum dolor sit amet.
{{paragraph}}Three to five sentences.
{{string}} or {{string:8}}aB3kQ9zL

Numbers & flags

{{int}} or {{int:1..100}}42
{{float}} or {{float:0..10}}7.31
{{bool}}true

Dates & network

{{date:2020..2024}}2022-08-14
{{now}}2026-07-31T…Z
{{timestamp}}1722441600000
{{ipv4}}192.168.4.21
{{url}}https://magna.io/dolor

Structure

{{enum:a|b|c}}editor
{{null}}null
FAQ

Quick answers

Is my template sent anywhere?

No. Generation runs entirely in your browser. The template and the data it produces never leave your machine.

What does the seed do?

It makes the output reproducible. Type any word and the same template + count + seed always yields the same records — handy for fixtures and CI. Leave it empty for fresh random data each time.

Why did my number come out as a string?

It didn't, if the value was only the token. The unbox rule keeps "{{int}} as a number. If you write text around a token — "id-{{int}} — the whole value is text, so you get a string.

Can I nest objects and arrays?

Yes. The template is real JSON, so any structure works — tokens expand wherever they appear, including inside nested objects and arrays. For a variable-length array, list the tokens you want; a repeat-count token is on the roadmap.