Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Brings the popular ruby faker gem to Java
Branch: master

Java Faker

Maven Status

Build Status

Coverage Status

This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data. It's useful when you're developing a new project and need some pretty data for showcase.


In pom.xml, add following between <dependencies> ... </dependencies>


In your Java code

Faker faker = new Faker();

String name =; // Miss Samanta Schmidt
String firstName =; // Emory
String lastName =; // Barton

String streetAddress = faker.address().streetAddress(); // 60018 Sawayn Brooks Suite 449

How to build

  1. Make sure Apache Maven 3 is installed. ($ mvn --version)
  2. $ mvn package


Copyright (c) 2014 DiUS Computing Pty Ltd. See the LICENSE file for license rights and limitations.

Something went wrong with that request. Please try again.