Skip to content

Generators

All generators

319 generators across 29 namespaces. Each page lists every method with output the library actually produced.

import Decoy
import DecoyLocaleEN
var faker = Faker(seed: 1337, locale: DecoyLocaleEN.locale)
faker.person.fullName() // "Riley Bonneau"
faker.location.city() // "Duchesne"
Namespace Methods
airline 7 Airports, aircraft, flight numbers, seats, record locators.
animal 10 Animals, birds, fish, insects, breeds, pet names.
beverage 12 Invented beers, wines, whiskies, cocktails, coffees, teas.
brand 8 Cameras, phones, watches, fashion, sportswear, appliances.
color 5 Human colour names, hex, RGB, colour spaces.
commerce 12 Products, departments, prices, SKUs, barcodes, reviews.
company 11 Company names, legal forms, catchphrases, buzzwords.
crypto 8 Hashes and checksummed blockchain addresses.
database 4 Engines, collations, column names and types.
date 18 The same values as Foundation.Date. Only where Foundation exists.
faker 4
finance 13 IBANs, card numbers, account numbers, currencies, transactions.
food 11 Fruit, vegetables, cheeses, dishes, breads, seafood.
instant 18 Dates and times as Timestamp, with no Foundation dependency.
institution 5 Universities, football clubs, museums, newspapers, orchestras.
internet 19 Emails, usernames, domains, URLs, IPs, user agents, passwords.
location 29 Addresses, cities, subdivisions, postcodes, coordinates, countries.
lorem 8 Placeholder prose, in Latin.
media 10 Book, film and song titles, authors, genres, instruments.
nature 9 Mountains, rivers, lakes, islands, trees, flowers, gemstones, weather.
notable 12 Historical figures, plus a short list of living public ones.
person 17 Names, honorifics, job titles, gender, zodiac.
phone 4 Numbers in each locale’s own format, area codes, IMEI.
science 2 Chemical elements and SI units.
sport 5 Invented clubs, venues and trophies; real disciplines.
system 15 File names and paths, MIME types, semver, error messages.
vehicle 8 Manufacturers, models, fuel types, plates, VINs.
whimsy 27 Invented pubs, bands, codenames, superheroes, technobabble.
word 8 Single words by part of speech, from wordnets.