onlinerandomtools logo

Random json data generator

World's simplest randomization tool

Free online random JSON data generator. Just press a button and get your random JSON structure. There are no ads, popups or nonsense, just a random JSON data creator. Press a button, get a random JSON. Created by developers for developers.
announcement heads up!
We just launched a new site — Online MATH Tools — utilities for doing mathy things. Check it out!
Generator Options
Max JSON structure's depth
Max elements per depth level
Always generate maximum elements per depth level
Allowed data types
Generate booleans?
Generate numbers?
Generate strings?
Generate arrays?
Generate objects?
String Options
Use random English words for strings and object keys
Use randomly generated characters for strings and object keys
Maximum random string length? (Only works with random strings.)
Indentation
Indent output with two spaces
Indent output with one tab
Output minified result
fullscreen fullscreen_exit
JSON Editor/Viewer Options
Make it easy to see where tabs and newlines are.
Show the line number before each line.
Make it easy to spot where the corresponding opening or closing bracket is.
Change the background color of currently selected line.
Random json data generator tool What is a random json data generator?
This tool generates random JSON files. It lets you configure a ton of various randomizer options. You can set the generated JSON data structure's depth. Arrays and objects increase depth by one. You can set how many elemenents get generated per depth level. You can alo set if the generator should always use that many elements per depth level, or if it can choose to generate from 0 to max elements per depth level. Then this randomizer lets you choose allowed JSON data types. You can choose if you want to generate booleans, numbers, strings, arrays and objects. Then you can choose the source of string generation. It can be English words or it can be completely random characters.
Random json data generator examples Click to use
Generate Arrays of Random Bools
This example generates random arrays of random booleans.
Required options
These options will be used automatically if you select this example.
Max JSON structure's depth
Max elements per depth level
Always generate maximum elements per depth level
Generate booleans?
Generate numbers?
Generate strings?
Generate arrays?
Generate objects?
Generate Array of Random Strings
This example generates a flat array of 10 random strings.
Required options
These options will be used automatically if you select this example.
Max JSON structure's depth
Max elements per depth level
Always generate maximum elements per depth level
Generate booleans?
Generate numbers?
Generate strings?
Generate arrays?
Generate objects?
Use random English words for strings and object keys
Generate Deep Nested Structure
This example generates a deep nested array structure that only holds a single element.
Required options
These options will be used automatically if you select this example.
Max JSON structure's depth
Max elements per depth level
Always generate maximum elements per depth level
Generate booleans?
Generate numbers?
Generate strings?
Generate arrays?
Generate objects?
Pro tips Master online randomization tools
You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!
https://onlinerandomtools.com/generate-random-json?&depth=10&max-elements=10&always-max-elements=false&booleans=true&numbers=false&strings=false&arrays=true&objects=false
All randomization tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly generate random JSON data structures.
Quickly generate random XML documents.
Quickly generate random CSV files.
Quickly generate random TSV files.
Quickly generate random bitmap images.
Quickly generate random data that matches the given regular expression.
Quickly generate random passwords.
Quickly generate random strings.
Quickly generate random numbers.
Quickly generate random integers.
Quickly generate random fractions.
Quickly generate a sequence of increasing or decreasing random integers.
Quickly generate random primes.
Quickly generate random binary numbers.
Quickly generate random octal numbers.
Quickly generate random decimal numbers.
Quickly generate random hexadecimal numbers.
Quickly generate random bytes.
Quickly generate random calendar dates.
Quickly generate random clock times.
Quickly generate random IPs.
Quickly generate random MAC addresses.
Quickly generate random UUIDs.
Quickly generate random GUIDs.
Randomly pick an item from many items.
Randomly shuffle text lines and rearrange their order.
Randomly shuffle the order of all words in a string, sentence, or text.
Randomly shuffle the order of letters in a string, sentence, or text.
Coming soon These randomization tools are on the way
Generate Random YAML
Generate random YAML markup.
Generate Random Pin Numbers
Generate a random pin number of any length.
Generate Random HTML
Generate random HTML code and HTML web pages.
Generate Random Text Files
Generate random plain text files.
Generate Random Binary Files
Generate random binary files.
Generate Random UTF8
Generate random UTF8 characters.
Generate Random HTML Tables
Generate random HTML tables with random values.
Generate Random LaTeX
Generate random LaTeX documents.
Generate Random Images
Generate random PNG/GIF/JPG/WEBP/BMP images.
Generate Random Audio
Generate random MP3 and WAV music files.
Generate Random Video
Generate random MP4 and AVI videos.
Generate Random Excel
Generate random Excel spreasheets.
Generate Random RegExps
Generate random valid regular expressions.
Generate Random Words
Generate random English words.
Generate Random Sentences
Generate random English sentences.
Generate Random URLs
Generate random web URLs.
Generate Random Emails
Generate random email addresses.
Generate Random Colors
Generate a random set of colors.
Generate Random MD5 Hash
Generate random MD5 hash digests.
Generate Random SHA1 Hash
Generate random SHA1 hash digests.
Generate Random SHA2 Hash
Generate random SHA2 hash digests.
Generate Random URL-encoded data
Generate random percent-escaped URL data.
Generate Random Base64-encoded data
Generate random base64 data.
Randomize Character Case
Randomly change character case in text.
Shuffle Sentences
Randomly shuffle the order of sentences in text.