Json generator

How Does it work?

  • 1

    Template

    Define the template for JSON generation: you can choose one of the preset templates.


  • 2

    Generation

    Generate the content of the JSON.


  • 3

    Download

    Copy content to clipboard
    or download it.


CommandCategoryDescription
/*begin:n:repeat(num)*/loopRepeats the loop elements n for a number of times equal to num
/*begin:n:repeat(min, max)*/loopRepeats the loop elements n for a random number of times between min and max
/*index:n:*/loopIndex of iteration n (base 0)
/*end:n:*/loopEnds loop n
{{integer(min, max)}}integerRandom integer between min and max
{{integer(min, max, digits, filler)}}integerRandom integer between min and max, with digits digits and filler as left padding
{{floating(min, max, decimals)}}floatRandom decimal number between min and max, with decimals decimal places
{{string(len)}}stringRandom string of length len
{{string(minlen, maxlen)}}stringRandom string of length between minlen and maxlen
{{date(mindate, maxdate)}}dateRandom date between mindate and maxdate
{{guid()}}guidRandom guid
{{name()}}namesRandom person's name
{{surname()}}namesRandom surname
{{completename()}}namesRandom full name
{{place()}}namesRandom place
{{mail()}}infoRandom email address
{{web()}}infoRandom website
{{bool()}}booleanRandom boolean value (true/false)