LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fakedata

test data generator for development

TLDR

List available generators
$ fakedata --generators
copy
Generate fake names
$ fakedata name
copy
Combine generators (one column each)
$ fakedata name email
copy
Generate a specific number of rows
$ fakedata -l [10] name email
copy
Output as CSV
$ fakedata -f csv name email
copy
Output as SQL INSERT statements
$ fakedata -f sql name email
copy
Generate from a custom template (generator names capitalized)
$ echo "{{Name}},{{Email}}" | fakedata
copy

SYNOPSIS

fakedata [options] generator...

DESCRIPTION

fakedata generates fake data for testing and development. It provides numerous data generators for creating realistic but synthetic information including names, emails, addresses, phone numbers, dates, numbers, and custom format strings.The tool is designed for populating test databases, creating sample datasets, and development work where realistic data is needed without using actual user information. It supports multiple output formats including CSV, JSON, and tab-separated values.Generators can be combined in a single invocation, and the seed option enables reproducible data generation for consistent test scenarios.

PARAMETERS

-l, --limit count

Number of rows to generate (default 10).
-f, --format format
Output format: csv, tab, or sql.
--generators
List all available generators and exit.

SEE ALSO

faker(1)

RESOURCES

Copied to clipboard
Kai