Datafaker
datafaker.net
Spec sheet
- Purpose
- Datafaker generates fake data for JVM programs.Read 8 Oct 2026 · datafaker.net
- License
- The project repository identifies its license as Apache-2.0.Read 8 Oct 2026 · github.com
- Build tools
- The project README provides dependency examples for Maven and Gradle.Read 8 Oct 2026 · github.com
- Current release
- The getting started page identifies version 2.7.0 as the latest version.Read 8 Oct 2026 · datafaker.net
- Custom data
- Users can create custom providers in code or load provider data from YAML files.Read 8 Oct 2026 · datafaker.net
- Customization
- The README links instructions for adding custom providers to an application.Read 8 Oct 2026 · github.com
- Data providers
- The site lists 263 data providers across base, entertainment, food, healthcare, sport, and videogame groups.Read 8 Oct 2026 · datafaker.net
- Expressions
- Expressions support replacements such as letters, digits, regular-expression-based output, and generated CSV or JSON.Read 8 Oct 2026 · datafaker.net
- Installation
- The library is hosted on Maven Central and the site shows Maven, Gradle, and Ivy dependency examples.Read 8 Oct 2026 · datafaker.net
- Java requirement
- For Datafaker 2.x, Java 17 is the target; the site recommends Datafaker 1.x for older Java versions.Read 8 Oct 2026 · datafaker.net
- Languages
- The project describes support for Java, Kotlin, and Groovy.Read 8 Oct 2026 · github.com
- Maker attribution
- The documentation footer credits Erik Pragt and shows copyright years 2016–2026.Read 8 Oct 2026 · datafaker.net
- Minimum Java version
- Datafaker 2.x requires Java 17; the README says Datafaker 1.x is built on Java 8 and is no longer maintained.Read 8 Oct 2026 · github.com
- Output formats
- The README describes generating CSV and JSON, and points to documentation for YAML and XML; the formats page labels its XML functionality deprecated.Read 8 Oct 2026 · github.com
- Provider customization
- A custom faker can extend Faker and register a custom provider for use in code.Read 8 Oct 2026 · datafaker.net
- Providers
- The homepage says Datafaker offers more than 250 data providers.Read 8 Oct 2026 · datafaker.net
- Release
- The site lists version 2.7.0 as a release.Read 8 Oct 2026 · datafaker.net
- Release feature
- Version 2.7.0 added an HTTP faker for status codes, headers, user agents, and more.Read 8 Oct 2026 · datafaker.net
- Sequences
- Datafaker supports fake collections and fake streams, including sequences with configurable lengths and null rates.Read 8 Oct 2026 · datafaker.net
- Use case
- The project says it is useful when developing a new project and needing data for a showcase.Read 8 Oct 2026 · github.com
- Use of YAML
- The documentation says YAML files may be preferable when a custom provider needs to load a large data set.Read 8 Oct 2026 · datafaker.net
- Weighted selection
- Weighted random selection is documented as proof of concept and currently available only for custom hardcoded providers.Read 8 Oct 2026 · datafaker.net
Where Specifiction places it
- Test Data Generation Tools#19 of 287.4