Bogus 22.0.8

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 Bogus to create UIs with fake data or seed databases. 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.
62
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
54
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
53
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
49
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
45
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
44
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
43
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
42
AutoBogus
A C# library complementing the Bogus generator by adding auto creation and population capabilities.
41

## v22.0.8 * New `Company.EIN()` to generate employer identification numbers. * Preparing release of extended data sets for Bogus. ## v22.0.7 * New `Internet.Color()` format options: CSS `rgb(...)` and delimited RGB. * New `System.AndroidId()` to generate GCM registration ID. * New `System.ApplePushToken()` to generate a random Apple Push Token. * New `System.BlackBerryPin()` to generate a random Black Berry PIN. * New `Randomizer.Hash()` to generate random hashes of specified length. * New `Randomizer.String2()` to generate random strings with specified character sets. ## v22.0.6 * Added `Randomizer.String` method to generate strings. Uses `Chars()` method. * PR 136: Improve speed of `DataSet.ParseTokens()`. Thanks @danij! ## v22.0.5 * Bogus now throws exceptions for locales it doesn't recognize. Improves developer experience. * New extension method `.ToBogusLocale()` on `System.Globalization.CultureInfo` to help translate from **.NET** locale codes to **Bogus** locale codes. ## v22.0.3 * Generate more realistic Bitcoin addresses. * New extension method `Faker<T>.GenerateBetween(min, max)` that generates N objects between `min` and `max`. Located in `Bogus.Extensions`. N should be considered non-deterministic but technically depends on the parameters each time this extension method was called. * Added `Lorem.Paragraphs(min, max)` overload. * Added improved XML doc comments and parameter names on `Lorem.Paragraph`. * UK extension method `.ShortCode()` renamed to `.SortCode()` as originally intended. * Marked `DataSet.Get/.GetObject/BObject` methods as `protected internal`. Reducing API surface noise. * Added new `.OrNull` in `Bogus.Extensions` to help create randomly null values. Example: `.RuleFor(x=>x.Prop, f=>f.Random.Word().OrNull(f))`. * New groundwork for extending Bogus with premium (paid) data sets and tooling. Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md

.NET Framework 4.0

  • No dependencies.

.NET Standard 1.3

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
35.6.5 8 10/27/2025
35.6.4 14 9/28/2025
35.6.3 35 4/17/2025
35.6.2 31 2/25/2025
35.6.1 35 9/9/2024
35.6.0 35 8/9/2024
35.5.1 45 5/5/2024
35.5.0 46 4/30/2024
35.4.1 50 3/9/2024
35.4.0 44 3/9/2024
35.3.2 49 3/9/2024
35.3.1 45 3/9/2024
35.3.0 57 3/9/2024
35.2.0 49 3/9/2024
35.0.1 36 3/9/2024
34.0.2 60 7/2/2023
34.0.1 53 7/2/2023
33.1.1 49 7/2/2023
33.0.2 53 7/2/2023
33.0.1 46 7/2/2023
32.1.1 50 7/2/2023
32.0.2 46 7/2/2023
32.0.1 51 7/2/2023
31.0.3 43 4/12/2022
30.0.4 51 7/2/2023
30.0.1-beta-4 41 7/2/2023
30.0.1-beta-3 52 7/2/2023
30.0.1-beta-2 51 7/2/2023
30.0.1-beta-1 49 7/2/2023
29.0.2 48 7/2/2023
29.0.1 44 7/2/2023
28.4.4 46 7/2/2023
28.4.3 45 7/2/2023
28.4.2 45 7/2/2023
28.4.1 48 7/2/2023
28.3.2 48 7/2/2023
28.3.1 52 7/2/2023
28.2.1 49 7/2/2023
28.1.1 48 7/2/2023
28.0.3 48 7/2/2023
28.0.2 43 7/2/2023
28.0.1 44 7/2/2023
27.0.1 45 7/2/2023
26.0.2 44 7/2/2023
26.0.1 45 7/2/2023
25.0.4 42 7/2/2023
25.0.3 43 7/2/2023
25.0.2 50 7/2/2023
25.0.1 46 7/2/2023
24.3.1 41 7/2/2023
24.3.0 42 7/2/2023
24.2.0 47 7/2/2023
23.0.2 44 7/2/2023
22.3.2 52 7/2/2023
22.3.1 50 7/2/2023
22.2.1 47 7/2/2023
22.1.4 42 7/2/2023
22.1.3 48 7/2/2023
22.1.2 45 7/2/2023
22.1.1 58 7/2/2023
22.0.9 42 7/2/2023
22.0.8 45 7/2/2023
22.0.7 49 7/2/2023
22.0.6 45 7/2/2023
22.0.5 48 7/2/2023
22.0.3 50 7/2/2023
22.0.2 54 7/2/2023
22.0.1 51 7/2/2023
21.0.5 49 7/2/2023
21.0.4 49 7/2/2023
21.0.2 42 7/2/2023
20.0.2 54 7/2/2023
20.0.1 59 7/2/2023
19.0.2 43 7/2/2023
18.0.2 49 7/2/2023
18.0.1 49 7/2/2023
17.0.1 43 7/2/2023
16.0.3 47 7/2/2023
16.0.2 45 7/2/2023
15.0.7 50 7/2/2023
15.0.6 43 7/2/2023
15.0.5 45 7/2/2023
15.0.3 47 7/2/2023
15.0.1 56 7/2/2023
12.0.1 49 7/2/2023
11.0.5 50 7/2/2023
11.0.4 44 7/2/2023
11.0.3 49 7/2/2023
11.0.2 46 7/2/2023
11.0.1 49 7/2/2023
10.0.1 48 7/2/2023
9.0.2 41 7/2/2023
9.0.1 43 7/2/2023
8.0.4 41 7/2/2023
8.0.3 34 7/2/2023
8.0.2 44 7/2/2023
8.0.1 44 7/2/2023
8.0.1-beta-1 41 7/2/2023
7.1.7 40 7/2/2023
7.1.6 39 7/2/2023
7.1.5 47 7/2/2023
7.1.4 47 7/2/2023
7.1.3 54 7/2/2023
7.1.3-beta-1 49 7/2/2023
7.1.2 50 7/2/2023
7.1.2-beta-1 44 7/2/2023
7.1.1 43 7/2/2023
7.1.1-beta-1 48 7/2/2023
6.1.1 45 7/2/2023
6.1.1-beta-1 39 7/2/2023
5.1.1-beta-3 43 7/2/2023
5.1.1-beta-2 45 7/2/2023
5.1.1-beta-1 52 7/2/2023
5.0.1 35 7/2/2023
5.0.1-beta-2 45 7/2/2023
4.0.1 41 7/2/2023
4.0.1-beta-1 41 7/2/2023
3.0.6 43 7/2/2023
3.0.6-beta-1 41 7/2/2023
3.0.5 45 7/2/2023
3.0.5-beta-4 45 7/2/2023
3.0.5-beta-3 48 7/2/2023
3.0.5-beta-2 47 7/2/2023
3.0.4 44 7/2/2023
3.0.3 46 7/2/2023
3.0.2 49 7/2/2023
3.0.1 39 7/2/2023
3.0.0.3 40 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 46 7/2/2023
2.1.4 46 7/2/2023