GoFakeIt
GoFakeIt is an open-source Go library and toolkit for generating synthetic random data.
What GoFakeIt is
GoFakeIt is an open-source Go library and toolkit for generating synthetic random data. The project lists more than 310 functions for values such as names, email addresses, phone numbers, companies, and credit card numbers. It can populate struct fields, with tags controlling the data assigned to each field. Developers may add custom functions, implement the Fakeable interface for their own types, and create formatted output with Go templates. An HTTP server and command-line tool are included, and the README describes the project as having zero dependencies. A seed enables reproducible results. The default generator uses a thread-locked pseudorandom source, while documented choices include crypto/rand, PCG, ChaCha8, JSF, SFC, and an incrementing source. GoFakeIt supports CSV, JSON, and XML output, API data generation, and self-hosted deployment. Installation uses `go get github.com/brianvoe/gofakeit/v7`; the README displays an MIT license badge.
Good
- More than 310 generation functions
- Struct tags customize generated values
- Custom functions and interfaces supported
- Seeded reproducible output
- HTTP server and command-line tool
Watch out
- Go-focused installation
- Self-hosted deployment
- No relational data generation
- Browser extension listings are coming soon
Who it suits
GoFakeIt suits Go developers who need synthetic test data, struct filling, templates, or API-based generation. It also fits self-hosted projects requiring reproducible random output.
Verdict
GoFakeIt offers extensive synthetic data generation with customization, multiple random sources, and reproducible seeds. Its Go installation and self-hosted model fit developer-led workflows.
The facts
Each one read from GoFakeIt's own pages, with the date it was checked.
Where it runs
- Browser extension
- A separate GoFakeIt extension repository describes form autofill and says it supports Chrome and Firefox; its store listings are marked as coming soon.checked 10 Oct 2026
What it does
- Custom functions
- Users can add custom generators with AddFuncLookup and use them in struct tags and other supported features.checked 10 Oct 2026
- Customization
- Users can add custom functions and implement the Fakeable interface to control generated values for their own types.checked 9 Oct 2026
- Data types
- Examples include names, email addresses, phone numbers, companies, credit card numbers, and job titles.checked 10 Oct 2026
- Dependencies
- The feature list describes the library as having zero dependencies.checked 10 Oct 2026
- Functions
- The README lists 310+ functions for generating fake data.checked 10 Oct 2026
- Install
- The README gives `go get github.com/brianvoe/gofakeit/v7` as the installation command.checked 10 Oct 2026
- Installation
- The README installs the Go v7 package with `go get github.com/brianvoe/gofakeit/v7`.checked 9 Oct 2026
- License
- GitHub identifies the repository license as MIT.checked 10 Oct 2026
- Purpose
- GoFakeIt describes itself as a random fake data generator written in Go.checked 10 Oct 2026
- Randomness
- The README says the default global usage is seeded with a cryptographically secure number and supports reproducible output through Seed.checked 10 Oct 2026
- Random sources
- The README lists PCG, ChaCha8, crypto, JSF, SFC, and a simple incrementing source among the available random sources.checked 10 Oct 2026
- Reproducibility
- Users can set a seed to generate reproducible results.checked 9 Oct 2026
- Struct generation
- It can populate Go structs with random data and supports tags to customize field values.checked 10 Oct 2026
- Support
- The README links to Ko-fi and Buy Me a Coffee as support options and links to GitHub issues.checked 9 Oct 2026
- Templates
- It supports custom output through Go's template engine and makes GoFakeIt functions available to templates.checked 10 Oct 2026
- Tools
- The feature list includes an HTTP server and a command line tool.checked 10 Oct 2026
Alternatives to GoFakeIt
- 1

Benerator
Free planOpen sourceWebAPILinuxmacOS7.6Free plan - 2
RandomUser
Free planOpen sourceWebAPIExtensionSelf-hosted7.1Free plan - 3

Tonic Fabricate
Free planWebAPISelf-hosted6.8$29 usage-based - 4

Mockaroo
Free planWebAPISelf-hosted6.7From $60 a year - 5

Synthetic Data Vault
Free planAPISelf-hosted6.6From $250 a month - 6
Chance.js
Free planWebAPI6.4Free plan
