finds.dev

elixirs/faker

Faker is a pure Elixir library for generating fake data.

View on GitHub

★ 1,196ElixirMITupdated Jun 2026

// the take

Faker is the standard fake-data library for Elixir — names, addresses, Lorem text, UUIDs, internet things, and a handful of oddities like Pokémon and Star Wars quotes. It's what you add to your Phoenix app when you need seeds or ExUnit fixtures that don't look like 'aaa@aaa.com'. Anyone doing Elixir web dev has probably already reached for it.

Locale support is genuinely thorough — several modules have en, pt_br, es, hy, it, ru variants rather than just English strings with a locale flag that does nothing. The module-per-domain design (Faker.Commerce, Faker.Finance, Faker.Internet) means you can read the docs and know exactly what exists without guessing. It's pure Elixir with no NIFs, so it compiles everywhere OTP 19+ runs without surprises. Active maintenance — last push was yesterday and CI is green.

The current stable release on Hex is 0.18.x but the README tells you to pin to '~> 0.19.0-alpha.4', which is an alpha. That's a bad default for anyone who copy-pastes the quickstart into production deps. Locale coverage is uneven — phone numbers exist for en_us, en_gb, hy, pt_br, pt_pt but nothing for de, fr, es, meaning you'll generate fake German addresses with American phone numbers. There's no way to generate structurally valid fake data for things like realistic email addresses that match the fake name you just generated — each call is independent, so building coherent fake 'people' requires external wiring. The USAGE.md examples are minimal and don't cover the more obscure modules, so you're reading source to find out what Faker.Gov.Us or Faker.Nato actually generates.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,196
Forks
265
Language
Elixir
License
MIT
Last commit
29 Jun 2026

// nearby

If faker isn't quite it.

All repos →