Bogus 18.0.2

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 mock up data. Get started by using Faker class or a DataSet directly.

Showing the top 20 packages that depend on Bogus.

Packages Downloads
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
35
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
27
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
26
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
25
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
24
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
23
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
22
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
21
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
20

## v18.0.2 * Issue 86: Removed diacritic mark/accents (á, í, ó, ú, etc) from generated email addresses and user names. * Added `string.RemoveDiacritics` helper method. ## v18.0.1 * Fixed bug in Finland's `f.Person.Henkilötunnus` personal identity code generator that sometimes produced 11 characters. * Added `f.Finance.Ethereum`. Generate an Ethereum address. * Added `f.Finance.CreditCardCvv`. Generate a random credit card CVV number. * Improved `f.Finance.CreditCardNumber`. Generate a random credit card number. * Added `f.Random.Hexadecimal`. Generates a random hexadecimal string. * Added `f.System.DirectoryPath`. Generates a random directory path. * Added `f.System.FilePath`. Generates a random file path. * Added `f.Date.Soon`. Generates a date and time that will happen soon. * Added `f.Random.ArrayElements`. Gets a random subset of an array. * Added `f.Random.ListItems`. Gets a random subset of a list. * Added `f.Company.Cnpj` extension method for Brazil. Generates Brazilian company document. * Improved `f.PhoneNumbers`. More realistic US phone numbers. * Improved `f.Address.Latitude/Longitude` with min and max parameters. * Minimum for `f.Commerce.Price` is now $1.00 (not zero). * Reduced assembly size by removing redundant locale data. * Locale updates: * `en_AU` - Update Australian postcode ranges. * `en_IND` - Indian postcodes are always numeric. * `ru` - Word corrections. ## v17.0.1 * Migration to **.NET Standard 2.0**. ## v16.0.3 * With additional overloads for `.PickRandom(IList)` and `.PickRandom(ICollection)` we can now add `.PickRandom("cat", "dog", "fish")` back to the API. ## v16.0.2 * BREAKING CHANGE: `Faker.Generate(n)` now calls `.ToList()` under the hood to escape LINQ deferred execution. Remembering to call `.ToList()` after `.Generate(n)` was a sticking point for new users writing test assertions on generated values. Please do not call `Faker.Generate(n).ToList()` as it would execute `.ToList()` twice. Simply, `Faker.Generate(n)` is enough. * `f.Generate` and `f => f.Make` now return `IList<T>` to signify the breaking change above. * Issue #92: Added `.GenerateLazy` to keep old behavior and returns `IEnumerable<T>`. * Issue #93: Renamed a `PickRandom` overload to avoid the compiler from picking wrong `PickRandom` method. * Added `f.PickRandomParam("cat","dog","fish")`. * Removed `[Obsolete]` methods. Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

.NET Framework 4.0

.NET Standard 2.0

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