Need help with generatedata?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

1.8K Stars 560 Forks 2.1K Commits 175 Opened issues


Random data generator.

Services available


Need anything else?

Contributors list

Build Status Coverage Status

Feb 2021: new alpha version of 4.0.0 website up! Please report all bugs in the issues section.

This is the repo for the downloadable version of The script is essentially an engine to generate any sort of random data in any format. It currently comes with 30 or so Data Types (types of data it generates), 8 Export Types (formats for the data), plus around 30 data sets for specific countries (city names, regions etc). But more importantly it can be extended in any way you want. Check out the developer documentation for more information on that. If you need to generate random data programmatically rather than manually via the UI, you can use the REST API.

The master branch now contains the incomplete v4 rewrite, so if you're downloading the script, get the most recent tag:

This README file still contains information about the v3 code. It will stay that way until v4 is in alpha stage.


  • PHP 5.3 or any later version of PHP 5.
  • MySQL 4.1.3 or later

How to Install / Documentation

For installation instructions, user and developer documentation, check out:

Installation is really, really simple. I deliberately wrote the script to be as self-contained as possible and not require additional PHP/Server configuration when setting it up. That said, it does require PHP 5.3.0 or later. See the documentation for more info.

= v4 rewrite

The master branch of this repo now contains the ongoing work for the v4 rewrite, temporarily found here:

The site, the documentation and everything else is for up to the v3 branch. You can find that code in the


Although I'm no longer working on that branch, PRs and bug fixes are very welcome! Just branch off

and put your PRs in against that.

v4 is dropping PHP and MySQL and re-writing the entire script in node. This script will eventually become available as a node package which you can use in your own packages to generate your own code programmatically, but it will continue to offer the REST API and UI for constructing and generating the data sets.

Pre-packaged solutions


Kubernetes Helm Chart

Dmitry Rubtsov has put up a Helm chart here:


There's also a pre-packaged Vagrant solution found here, courtesy of Daragh Courtney.


Please see the issues tagges as feature requests for a list of things that are still left to complete on this project. Help is always welcome!


This script is freely available under the GPL 3 license. See license.txt in the root folder. Please note that all contributors agree that all code is released under this license.


In addition to the many fine folk who submit bug reports, a big thanks to the following for their help extending the script:


4.0.0 - In development:

3.4.1 - Nov 24, 2019 - Excel Export Type updated for new PHP lib, thanks @adibaby! - Bug fix for SocialSecurityNumber, courtesy of @guzzisti. -

3.4.0 - Nov 16, 2019 - Misc updates, - new inject SQL feature added. Great work, @harish81! -

3.3.1 - July 18, 2019 -

3.3.0 - July 1, 2019 - misc bug fixes

3.2.8 - Sep 12, 2017 - misc bug fixes

3.2.7 - Jul 29, 2017 - "Computed" Data Type added. - misc bug fixes

3.2.6 - Apr 17, 2017 - misc bug fixes:

3.2.5 - Apr 16, 2016 - bug fixes: - thanks for your help, Conrad Hagemans! - "Precision" option added to Normal Distribution Data Type - thanks @aevans84. - generation of complex JSON structures added by Tony OHagan. See:

3.2.4 - Dec 6, 2015 - patch release for per-user settings.

3.2.3 - Nov 15, 2015 - SIRET/SIREN Data Type added (French business numbers) added. Merci, Fabrice Marquès! - Bug fixes:

3.2.2 - Nov 12, 2015 - The plugins (Data Types, Export Types, Countries) seen in the interface may not be configured on a per-user level. - Installation script updated to allow customization of plugin selection.

3.2.1 - May 25, 2015 - Configuration history option added to store the last 200 (this is configurable) versions of a data set. In case of data loss, you can now revert to an older version very simply. - Assorted bug fixes, including some improvements to the installation script.

3.2.0 - Jan 29, 2015 - Adds a new REST API as an alternative way to generate data. See the API Documentation for more information.

3.1.4 - Sept 6, 2014 - Chinese language file added, thanks to Zhao Yang - PAN, Track 1 and Track 2 data type updates, courtesy of Zeeshan Shaikh - Turkey Country plugin added - Bug fixes:

3.1.3 - July 20, 2014 - Misc data generation efficiency improvements - Batch Size SQL export option added by Anton Nizhegorodov - Poland, Nigeria Country plugins added - Bug fixes:

3.1.2 - July 12, 2014 - Bug fixes:

3.1.1 - Jan 31, 2014 - New credit card data types: PAN, PIN, CVV, Track 1 and Track 2 courtesy of Zeeshan Shaikh - INSERT IGNORE option added to the SQL Export Type, thanks to Ap.Mathu - Bug fixes:

3.1.0 - Dec 19, 2013 - Bug fix for accidental short-tags that were introduced in earlier code

3.0.9 - Dec 11, 2013 - Compression option added to reduce download sizes, courtesy of Manu Ullas - thanks! - New credit card Data Type, thanks to rsicher1 - You can now make copies of Data Sets, via the main dialog window. Just check a single row and click "Copy Data Set" button. - CodeMirror updated to v3.2.0 - Bug fixes:

3.0.8 - Oct 28, 2013 - International Bank Numbers - thanks, Joeri Noort! - PostgreSQL database support added to SQL Export Type - Bug fixes:

3.0.7 - Sept 7, 2013 - LDIF Export Type support - thanks, Marco Corona! - Proper (genuine!) French translation courtesy of Michel Roca - Optional JS, CSS minimization and bundling via Grunt. See help documentation for more information: - PHP 5.5 compatibility fixes: database connection now with mysqli; Generator class renamed to DataGenerator due to naming conflict - Bug fixes:

3.0.6 - Aug 1, 2013 - Costa Rica Country plugin, Phone-Regional Data Type added, courtesy of Andre Fortin - bug fixes, see:

3.0.5 - July 13, 2013 - Currency Data Type added - Assorted bug fixes, see:

3.0.4 - July 2nd, 2013 - Italy Export Type, courtesy of Marcello Verona - Regional Names Data Type added, data for Italy and France from Marcello Verona

3.0.3 - June 23, 2013 - Bug fixes. See:

3.0.2 - June 12, 2013 - Spanish translation and Country plugin added (thanks, @robarago!) - bug fixes, other updates:

3.0.1 - June 1st, 2013 - MSSQL support added (thanks, Kent!) - Assorted bug fixes / updates. See:

3.0.0 - May 21st, 2013 - Initial release

Ben Keen @vancouverben

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.