Bogus 3.0.5-beta-3

A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use it to create and load databases and UIs with mockup data. Get started by using Faker class or a DataSet directly.

No packages depend on Bogus.

v3.0.5-beta-3

  • Issue #12: Make Bogus thread-safe on Generate() and DataSets. Avoids threading issues in test runners.
  • CoreCLR users please continue using beta releases until CoreCLR is RTM.

v3.0.5-beta-2

  • CoreCLR support (CoreCLR users, please continue using beta releases until CoreCLR is RTM).

v3.0.4

  • Issue 10: Make Bogus work with fields also, not just properties. Fixes LINQPad issues.

v3.0.3

  • PR 9: quantumplation - Fixed typo in Lorem.Sentance() -> Lorem.Sentence()

v3.0.2

  • Generate US: SSN - Social Security Numbers.
  • Generate Canada: SIN - Social Insurance Numbers.
  • Generate Brazil: Cadastro de Pessoas Fisicas - CPF Numbers.
  • Generate Finland: Henkilotunnus - Person ID numbers
  • Generate Denmark: Det Centrale Personregister - Person ID numbers.
  • Allow exclude values on Randomizer.Enum.
  • Randomizer.Replace accepts '*' replace with letter or digit.
  • Added Lorem.Letter(num).
  • Can switch locale on Name: f.Name["en"].LastName()

v3.0.1

  • Added debug symbols to symbolsource.org.
  • PR#6: Fixed lastname and empty list exception -salixzs
  • Switch to semantic versioning at par with FakerJS.

v3.0.0.4

  • Adding generators: Date.Month(), Date.Weekday()
  • Sentences using lexically correct "A foo bar."
  • Added Spanish Mexico (es_MX) locale.

v3.0.0.3

  • Issue #2: Use latest Newtonsoft.Json 7.0.0.0 -Mpdreamz

v3.0.0.2

  • Includes Ireland (English) locale.

v3.0.0.1

  • Migrated to new FakerJS datafile format. Build system uses gulp file to directly import FakerJS locales.
  • Faker.Parse() can now tokenize and replace handlebar formats.
  • Added Faker.Hacker and Faker.Company properties.
  • Added Custom separator on Lorem.Paragraph.
  • Added Canada (French) (fr_CA) locale.
  • Added Ukrainian (uk) locale.
  • Added Ireland (en_IE) locale.
  • Added Internet.Mac for mac addresses.
  • Support for Canadian post/zip codes.
  • Exposed Name.JobTitle, Name.JobDescriptor, Name.JobArea, Name.JobType
  • Exposed Address.CountryCode
  • Replace symbols in domain words so it generates output for all locales
  • Support for gender names, but only for locales that support it. Russian('ru') but not English('en').
  • Corrected abbreviation for Yukon to reflect its official abbreviation of "YT".

v2.1.5.2:

  • Fixed instantiating a Person in a non-US locale. -antongeorgiev

v2.1.5.1:

  • Added Georgian, Turkish, and Chinese (Taiwan) locales.
  • Added Name.JobTitle()
  • Added Internet.Url() and Internet.Protocol().
  • Sync'd up with faker.js v2.1.5.

v2.1.4.2:

  • Fixed bug in Faker.Person and Faker[T] that generates new person context after every new object.
  • Added support for .FinishWith() for post-processing that runs after all rules but before returning new instance.
  • Added Newtonsoft.Json as NuGet dependency.

v2.1.4.1:

  • Minor changes, mostly XML doc update and Person moved from DataSet to Bogus namespace.

v2.1.4.0:

  • Initial port from faker.js 2.1.4.

.NET Framework 4.0

DNX 4.5.1

DNXCore 5.0

Version Downloads Last updated
35.6.5 15 12/14/2025
35.6.4 12 12/11/2025
35.6.3 13 12/09/2025
35.6.2 14 12/09/2025
35.6.1 14 12/24/2025
35.6.0 13 12/15/2025
35.5.1 13 12/14/2025
35.5.0 12 12/09/2025
35.4.1 14 12/10/2025
35.4.0 8 12/29/2025
35.3.2 12 12/14/2025
35.3.1 13 12/15/2025
35.3.0 14 12/15/2025
35.2.0 11 12/09/2025
35.0.1 10 12/24/2025
34.0.2 13 12/27/2025
34.0.1 12 12/15/2025
33.1.1 10 12/12/2025
33.0.2 11 12/13/2025
33.0.1 11 01/09/2026
32.1.1 16 12/15/2025
32.0.2 18 12/09/2025
32.0.1 14 12/09/2025
31.0.3 12 12/09/2025
30.0.4 12 12/12/2025
30.0.1-beta-4 10 12/11/2025
30.0.1-beta-3 10 12/10/2025
30.0.1-beta-2 10 12/14/2025
30.0.1-beta-1 9 12/14/2025
29.0.2 12 12/12/2025
29.0.1 15 12/26/2025
28.4.4 14 12/09/2025
28.4.3 9 01/01/2026
28.4.2 14 12/15/2025
28.4.1 12 12/14/2025
28.3.2 15 12/15/2025
28.3.1 9 12/24/2025
28.2.1 12 12/09/2025
28.1.1 12 12/24/2025
28.0.3 21 12/09/2025
28.0.2 13 12/13/2025
28.0.1 11 12/13/2025
27.0.1 16 12/09/2025
26.0.2 13 12/15/2025
26.0.1 14 12/09/2025
25.0.4 14 12/13/2025
25.0.3 14 12/09/2025
25.0.2 17 12/10/2025
25.0.1 10 12/09/2025
24.3.1 11 12/15/2025
24.3.0 12 12/09/2025
24.2.0 9 12/28/2025
23.0.2 14 12/14/2025
22.3.2 8 12/13/2025
22.3.1 12 01/04/2026
22.2.1 7 12/14/2025
22.1.4 12 12/15/2025
22.1.3 9 01/09/2026
22.1.2 11 12/20/2025
22.1.1 11 12/09/2025
22.0.9 10 12/13/2025
22.0.8 12 12/09/2025
22.0.7 11 12/14/2025
22.0.6 11 12/14/2025
22.0.5 7 12/14/2025
22.0.3 12 12/09/2025
22.0.2 7 01/09/2026
22.0.1 12 12/09/2025
21.0.5 14 12/09/2025
21.0.4 14 12/28/2025
21.0.2 9 01/09/2026
20.0.2 10 12/14/2025
20.0.1 9 12/14/2025
19.0.2 12 12/12/2025
18.0.2 11 12/24/2025
18.0.1 16 12/21/2025
17.0.1 12 12/14/2025
16.0.3 13 12/14/2025
16.0.2 18 12/09/2025
15.0.7 10 12/09/2025
15.0.6 11 12/12/2025
15.0.5 11 12/14/2025
15.0.3 14 12/14/2025
15.0.1 10 12/14/2025
12.0.1 12 12/14/2025
11.0.5 7 12/15/2025
11.0.4 11 12/13/2025
11.0.3 11 12/09/2025
11.0.2 16 12/25/2025
11.0.1 14 12/17/2025
10.0.1 15 12/14/2025
9.0.2 11 12/16/2025
9.0.1 12 12/24/2025
8.0.4 10 12/14/2025
8.0.3 9 12/24/2025
8.0.2 13 12/14/2025
8.0.1 12 12/13/2025
8.0.1-beta-1 12 01/01/2026
7.1.7 11 12/09/2025
7.1.6 9 12/09/2025
7.1.5 11 12/10/2025
7.1.4 9 12/09/2025
7.1.3 11 12/12/2025
7.1.3-beta-1 7 01/07/2026
7.1.2 14 12/14/2025
7.1.2-beta-1 8 12/14/2025
7.1.1 10 12/09/2025
7.1.1-beta-1 13 12/09/2025
6.1.1 13 12/10/2025
6.1.1-beta-1 15 12/24/2025
5.1.1-beta-3 8 12/24/2025
5.1.1-beta-2 11 12/09/2025
5.1.1-beta-1 12 01/09/2026
5.0.1 12 01/01/2026
5.0.1-beta-2 10 01/01/2026
4.0.1 12 12/09/2025
4.0.1-beta-1 11 12/24/2025
3.0.6 13 12/14/2025
3.0.6-beta-1 14 01/09/2026
3.0.5 13 12/13/2025
3.0.5-beta-4 12 01/07/2026
3.0.5-beta-3 9 12/14/2025
3.0.5-beta-2 11 01/06/2026
3.0.4 18 12/09/2025
3.0.3 17 12/18/2025
3.0.2 10 12/09/2025
3.0.1 13 12/13/2025
3.0.0.3 10 01/09/2026
3.0.0.2 0 07/12/2015
3.0.0.1 0 07/12/2015
2.1.5.2 0 06/22/2015
2.1.5.1 0 06/11/2015
2.1.4.2 0 06/11/2015
2.1.4.1 6 01/10/2026
2.1.4 11 12/11/2025