finds.dev← search

// the find

elixirs/faker

★ 1,196 · Elixir · MIT · updated Jun 2026

Faker is a pure Elixir library for generating fake data.

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.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →