FakeData

Zero-config test data for your stack

What It Does

40+ Generators

Email, country, date, domain, emoji, product names, sentences, and more. Constraint support on integers and enums. Custom values via file generator.

Any Output Format

Column-aligned, SQL INSERT, NDJSON, or full Go templates with helpers like Loop, Odd, and Even. Name your fields with column=generator syntax.

Stream Mode

Continuous row generation for pipelines and load testing. Pipe to files, databases, queues, or APIs — fakedata --stream email and never stop.

How It Works

1

Define

Pick your generators: fakedata email country. Add constraints like int:1,100 or custom enums.

2

Format

Choose your output: default columns, --format=sql, --format=ndjson, or pass a Go template for full control.

3

Pipe

Output to stdout, stream continuously, or pipe directly into your stack — databases, queues, APIs, anywhere.

Test data on demand

40+ generators. Any format. Zero configuration.

Get Started