Random JSON Generator
RG-10Choose the depth, how many items per level and which value types to include, then press Generate. You get valid JSON made of random keys and values, ready to copy or download.
Runs in your browser. Nothing is uploaded.
Not used. Choose the options, then press Generate.
JSON
How to use it
- Choose the top level: object or array, and the depth from 1 to 6.
- Set the maximum items per level and string length. Tick Always the maximum to fill every level.
- Tick the value types you want: strings, numbers, booleans, nulls, and nested objects and arrays.
- Press Generate, pick an indent style and copy or download the .json file.
What the data looks like
Keys are plain words such as status, owner or price, never repeated within one object. String values are short combinations of made-up words, numbers are a mix of whole numbers and values with up to two decimals, and booleans and nulls are included only if you tick them. Depth 1 gives a flat object or array. The output is always valid JSON.
What you can and cannot control
You control the top level, depth, number of items, string length and which types appear. You cannot give a schema, fixed field names or a template, so use it for quick shape tests, mock payloads and parser checks, not for data that must match an API. Every document is new on each press, and nothing is stored.
Why the words are made up
The word lists are built into the page and contain ordinary nature words and plain labels, with no names of real people, places or companies. The data is not real, and any resemblance to real values is by chance. All choices use crypto.getRandomValues, and nothing is sent anywhere.
Error messages and what to do
| Message | What it means | Fix |
|---|---|---|
Tick at least one value type (strings, numbers, booleans or nulls). | All four value type boxes are off. | Tick at least one type. |
Questions people ask
How do I generate random JSON data?
Set the depth and size options, tick the value types you want and press Generate. A valid JSON document appears. Press Generate again for a different one.
Can I generate JSON with specific field names?
Not with this page. It picks keys from a built-in word list. To get specific names you would need a template based generator, or you can rename keys in a JSON editor after generating.
How deep can the generated JSON go?
Up to 6 levels. Depth 1 means no nesting at all. Nested objects and arrays must be ticked for depth above 1 to have any effect.
Is the generated JSON always valid?
Yes. The page builds real values and writes them with the standard JSON stringifier, so strings are escaped and numbers and null are valid. You can paste the result into any JSON validator.
Can I get minified JSON?
Yes. Choose Minified under Indent to get one line with no spaces, or choose 2 spaces, 4 spaces or Tab for a readable layout.
Does it use real or personal data?
No. Keys and words come from a short built-in list of everyday words. Nothing is looked up or sent, so the output contains no real personal information.
About this tool
Builds one random JSON document from the options. Keys and string values come from short built-in word lists, so the data is made up and carries no real meaning. Numbers are a mix of whole numbers and values with two decimals. Depth 1 means no nesting. Item counts are random from 1 up to the maximum unless you tick Always the maximum. Keys inside one object never repeat. The output is valid JSON. There is no schema or template input, so you cannot ask for specific field names or types. Choices use crypto.getRandomValues; nothing is stored or sent.