LinuxCommandLibrary

fakedata

test data generator for development

TLDR

Generate fake names

$ fakedata name
copy
Generate multiple records
$ fakedata -l [10] name email
copy
Generate with custom format
$ fakedata --format "{{name}},{{email}}"
copy
Generate specific type
$ fakedata email phone address
copy
Output as JSON
$ fakedata -f json name email
copy
Generate with seed
$ fakedata --seed [42] name
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 records.
-f, --format format
Output format (csv, json, tab).
--seed seed
Random seed for reproducibility.
-c, --constraint constraint
Add constraints.
--generators
List available generators.

SEE ALSO

faker(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community