Bogus 28.0.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 Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.
No packages depend on Bogus.
## v28.0.3
Release Date: 2019-08-28
* Issue 249: Fixed `Internet.Url()` including spaces in domain names for `pt_BR` locale or any locale with compound first names that may contain spaces. Thanks RodrigoRodriguesX10!
* PR 241: General code quality improvements in `DataSets.System`. Better XML docs and lower array allocations. Thanks bartdebever!
* PR 245: XML doc improvements to `DataSets.Lorem`. Thanks bartdebever!
## v28.0.2
Release Date: 2019-07-07
* PR 235: Added `Bogus.DataSets.Vehicle.GbRegistrationPlate()` in `Bogus.Extensions.UnitedKingdom` extension namespace to generate GB registration plates. Thanks @colinangusmackay.
## v28.0.1
Release Date: 2019-07-02
* BREAKING: Deterministic sequence values may have changed for fake email addresses derived from `Internet.Email()` or `Internet.UserName()` in locales other than `en`.
* Issue 229: Adds `Finance.Iban(countryCode)` ISO3166 country code parameter. Allows generating IBAN codes for specific countries. The country code must be a supported otherwise an exception is thrown.
* Issue 225: Better support for transliteration of international Unicode characters to US-Latin/Roman ASCII character sets. `Internet.Email()` and `Internet.UserName()` are more respectful of specified locale using character transliteration.
* Added `.Transliterate()` string extension method in `Bogus.Extensions` namespace.
* Added `Internet.UserNameUnicode()` that preserves Unicode characters in user names.
* Minor performance improvement to `Utils.Slugify` using compiled Regex.
* Issue 232: Adds `.OrNull[T]() where T : struct` overload which makes it easier to work with nullable types without type casting.
* Added `defaultValue` parameter to `.OrDefault(f, weight, defaultValue)` that can default to a different value than the `default` keyword.
## v27.0.1
Release Date: 2019-05-02
* Issue 218: Fixed bug that prevented global static `Faker.DefaultStrictMode` from working.
* Issue 210: Added `Randomizer.Utf16String` that generates technically valid Unicode with paired high/low surrogates.
* Added `placeholder.com` image service.
## v26.0.2
Release Date: 2019-03-22
* New `Person(seed)` constructor for seeding person objects by integer. Thanks @sgoguen!
* Fixed `Person.DateOfBirth` not using `Date.SystemClock` as 'now' reference.
Full History Here: https://github.com/bchavez/Bogus/blob/master/HISTORY.md
.NET Framework 4.0
- No dependencies.
.NET Standard 1.3
- NETStandard.Library (>= 1.6.1)
- System.Globalization.Extensions (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
.NET Standard 2.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 35.6.5 | 5 | 10/29/2025 |
| 35.6.4 | 14 | 09/29/2025 |
| 35.6.3 | 21 | 04/14/2025 |
| 35.6.2 | 19 | 02/28/2025 |
| 35.6.1 | 30 | 09/03/2024 |
| 35.6.0 | 23 | 07/21/2024 |
| 35.5.1 | 37 | 05/27/2024 |
| 35.5.0 | 26 | 03/13/2024 |
| 35.4.1 | 32 | 03/13/2024 |
| 35.4.0 | 33 | 01/19/2024 |
| 35.3.2 | 34 | 01/19/2024 |
| 35.3.1 | 30 | 01/19/2024 |
| 35.3.0 | 30 | 01/04/2024 |
| 35.2.0 | 31 | 12/31/2023 |
| 35.0.1 | 31 | 12/12/2023 |
| 34.0.2 | 1,964 | 07/21/2022 |
| 34.0.1 | 69 | 09/04/2022 |
| 33.1.1 | 2,167 | 06/27/2022 |
| 33.0.2 | 53 | 09/08/2022 |
| 33.0.1 | 64 | 08/24/2022 |
| 32.1.1 | 57 | 09/03/2022 |
| 32.0.2 | 79 | 09/07/2022 |
| 32.0.1 | 65 | 09/08/2022 |
| 31.0.3 | 44 | 09/08/2022 |
| 30.0.4 | 41 | 08/24/2022 |
| 30.0.1-beta-4 | 38 | 09/07/2022 |
| 30.0.1-beta-3 | 67 | 09/07/2022 |
| 30.0.1-beta-2 | 57 | 09/08/2022 |
| 30.0.1-beta-1 | 61 | 08/21/2022 |
| 29.0.2 | 98 | 09/08/2022 |
| 29.0.1 | 42 | 08/21/2022 |
| 28.4.4 | 54 | 09/07/2022 |
| 28.4.3 | 43 | 09/08/2022 |
| 28.4.2 | 64 | 09/03/2022 |
| 28.4.1 | 56 | 09/01/2022 |
| 28.3.2 | 34 | 09/08/2022 |
| 28.3.1 | 72 | 08/01/2022 |
| 28.2.1 | 49 | 09/07/2022 |
| 28.1.1 | 56 | 08/21/2022 |
| 28.0.3 | 74 | 09/07/2022 |
| 28.0.2 | 40 | 08/21/2022 |
| 28.0.1 | 41 | 09/08/2022 |
| 27.0.1 | 63 | 08/11/2022 |
| 26.0.2 | 73 | 08/23/2022 |
| 26.0.1 | 74 | 09/07/2022 |
| 25.0.4 | 43 | 08/01/2022 |
| 25.0.3 | 34 | 09/07/2022 |
| 25.0.2 | 41 | 08/20/2022 |
| 25.0.1 | 65 | 07/31/2022 |
| 24.3.1 | 73 | 08/11/2022 |
| 24.3.0 | 57 | 08/24/2022 |
| 24.2.0 | 46 | 07/21/2022 |
| 23.0.2 | 36 | 08/25/2022 |
| 22.3.2 | 67 | 09/03/2022 |
| 22.3.1 | 76 | 09/02/2022 |
| 22.2.1 | 57 | 09/02/2022 |
| 22.1.4 | 63 | 08/11/2022 |
| 22.1.3 | 39 | 09/03/2022 |
| 22.1.2 | 38 | 09/07/2022 |
| 22.1.1 | 56 | 08/24/2022 |
| 22.0.9 | 56 | 08/24/2022 |
| 22.0.8 | 66 | 09/03/2022 |
| 22.0.7 | 41 | 08/20/2022 |
| 22.0.6 | 57 | 08/11/2022 |
| 22.0.5 | 36 | 09/07/2022 |
| 22.0.3 | 84 | 09/02/2022 |
| 22.0.2 | 88 | 08/24/2022 |
| 22.0.1 | 55 | 09/07/2022 |
| 21.0.5 | 37 | 08/23/2022 |
| 21.0.4 | 40 | 09/08/2022 |
| 21.0.2 | 44 | 08/24/2022 |
| 20.0.2 | 63 | 09/08/2022 |
| 20.0.1 | 40 | 09/02/2022 |
| 19.0.2 | 42 | 09/09/2022 |
| 18.0.2 | 93 | 09/02/2022 |
| 18.0.1 | 40 | 09/02/2022 |
| 17.0.1 | 63 | 09/08/2022 |
| 16.0.3 | 55 | 09/01/2022 |
| 16.0.2 | 62 | 09/08/2022 |
| 15.0.7 | 68 | 09/09/2022 |
| 15.0.6 | 55 | 08/26/2022 |
| 15.0.5 | 56 | 09/08/2022 |
| 15.0.3 | 58 | 08/11/2022 |
| 15.0.1 | 39 | 09/07/2022 |
| 12.0.1 | 65 | 09/02/2022 |
| 11.0.5 | 88 | 09/07/2022 |
| 11.0.4 | 55 | 09/07/2022 |
| 11.0.3 | 34 | 09/08/2022 |
| 11.0.2 | 62 | 08/24/2022 |
| 11.0.1 | 40 | 09/08/2022 |
| 10.0.1 | 74 | 09/02/2022 |
| 9.0.2 | 35 | 08/21/2022 |
| 9.0.1 | 40 | 09/07/2022 |
| 8.0.4 | 76 | 09/10/2022 |
| 8.0.3 | 73 | 09/10/2022 |
| 8.0.2 | 53 | 08/11/2022 |
| 8.0.1 | 40 | 08/11/2022 |
| 8.0.1-beta-1 | 55 | 08/21/2022 |
| 7.1.7 | 35 | 09/02/2022 |
| 7.1.6 | 59 | 09/08/2022 |
| 7.1.5 | 57 | 08/24/2022 |
| 7.1.4 | 72 | 08/23/2022 |
| 7.1.3 | 52 | 07/31/2022 |
| 7.1.3-beta-1 | 70 | 09/07/2022 |
| 7.1.2 | 37 | 07/21/2022 |
| 7.1.2-beta-1 | 36 | 08/26/2022 |
| 7.1.1 | 63 | 09/08/2022 |
| 7.1.1-beta-1 | 70 | 09/02/2022 |
| 6.1.1 | 53 | 08/22/2022 |
| 6.1.1-beta-1 | 62 | 08/11/2022 |
| 5.1.1-beta-3 | 44 | 08/25/2022 |
| 5.1.1-beta-2 | 71 | 09/08/2022 |
| 5.1.1-beta-1 | 63 | 08/20/2022 |
| 5.0.1 | 55 | 09/08/2022 |
| 5.0.1-beta-2 | 101 | 09/02/2022 |
| 4.0.1 | 55 | 09/08/2022 |
| 4.0.1-beta-1 | 74 | 09/02/2022 |
| 3.0.6 | 37 | 09/02/2022 |
| 3.0.6-beta-1 | 68 | 09/08/2022 |
| 3.0.5 | 84 | 08/26/2022 |
| 3.0.5-beta-4 | 68 | 09/04/2022 |
| 3.0.5-beta-3 | 62 | 08/24/2022 |
| 3.0.5-beta-2 | 70 | 09/08/2022 |
| 3.0.4 | 70 | 08/23/2022 |
| 3.0.3 | 59 | 08/21/2022 |
| 3.0.2 | 73 | 08/11/2022 |
| 3.0.1 | 41 | 08/22/2022 |
| 3.0.0.3 | 46 | 09/08/2022 |
| 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 | 91 | 07/31/2022 |
| 2.1.4 | 58 | 09/07/2022 |