Documentation

Get started with your own restdb.io database.


Random Data Generator

restdb.io has a Random Data Generator that helps you quickly populate any Data Collection with mockup test data.

This is helpful for both prototyping and testing. More than 70 different random data generators for primary data types are provided (even random Images).

To activate the Random Data Generator, click on the Development icon in the top right corner.

Select the Test data tab on a Collection and select one generator per Field. The example below shows some of the data generators available.

generate random data

Available Random Data Generators

NameDescriptionExample data
Address data
CountryUnited Kingdom
CityNew Ortiz chester
Zip26995
StreetJadyn Islands
Address6390 Tremblay Pines Suite 784
Address18417 Veda Circles
Address2Suite 648
StateMichigan
State abbrCO
Latitude0.0610
Longitude80.0778
Building number413
Text data
SentenceLaborum eius porro consequatur.
Sentences[n]Dolorum fuga nobis sit natus consequatur. Laboriosam sapiente. Natus quos ut.
TitleBS generatorSystematic nobis
TextNemo tempore natus non accusamus random eos placeat nesciunt. data et fugit ut odio nisi dolore non generator...
DescriptionVel et rerum generator nostrum quia. Dolorum fuga random nobis sit natus consequatur data.
Short descriptionQui iste similique iusto.
Stringsaepe quia molestias voluptates et generator
Wordvoluptatem
Words[n]sed quis random ut beatae id adipisci aut data
Array of words[n]['voluptas', 'atque', 'vitae', 'vel', 'dolor', 'saepe', 'ut']
Letterk
Internet data
IpIP address21.44.122.149
DomainInternet domain namedarrion.us
UrlWeb site addressgermaine.net
EmailJosue.Hessel@claire.us
User agentWeb browser typeMozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Person data
NameAlberto
UsernameDarryl
First nameDerek
Last nameConsidine
Full nameKadin Torphy
Password(205)580-1350Schumm
Name prefixMiss
Name suffixJr.
Company nameCole, Wuckert and Strosin
Company suffixInc
Catch phraseBS generatorSynchronised optimal concept
Phone380 82 790 25 92
Number data
Random0.7171590146608651
Integer[from - to]632
Double[from - to]-234.12987444
Array of digits[n][ 4, 8, 3, 1, 7, 6, 6 ]
Array of integers[n][ -105, -7, -532, -596, -430, -957, -234 ]
Array of doubles[n][ -866.3755785673857, -166.62194719538093, ...]
Dates
DateA Javascript Date object2001-07-06
TimeA Javascript Date object03:08:02
CenturyIV
Am pmam
Day of year323
Day of month9
Day of week4
Month number9
Month nameMarch
Year1990
TimezoneAmerica/Miquelon
Credit card data
Card typeAmerican Express
Card number4716506247152101
Card exp03/04
Card data{ type: 'MasterCard', number: '5307558778577046', exp: '04/88', holder_name: 'Jaron Gibson' }
Misc
GUIDRandom short ID
Country codeES
Language coderu
Localehi_IN
Mime typeaudio/mpeg
File extensionrtf
Color
Color nameDarkOliveGreen
Safe color namemaroon
RGB hex#2e4e1f
RGB array[ 194, 193, 166 ]

Images

Example data

An example JSON document created with the random data generator:

{
  "_id": "58109ac5e6f2da2800000015",
  "name": "Bennett Krajcik",
  "username": "Terence_Nikolaus",
  "email": "Towne.Corene@yahoo.com",
  "address": "83 Carmine Points Apt. 089\nNew Katrineland, VT 49424",
  "score": 77.84517358522862,
  "_version": 1,
  "_created": "2016-10-26T12:00:05.726Z",
  "_createdby": "mockdata generator",
  "_mock": true
}