Skip to content

German ​

German is one of the many supported locales in Faker. It uses the language code de and is available as fakerDE.

Language data ​

KeyValue
NameGerman
Local NameDeutsch
Languagede
ScriptLatn
Directionltr

Usage ​

A few commonly localized methods are shown below. Click the refresh button to see more random examples. Not all methods are localized in all locales.

ts
import { fakerDE } from '@faker-js/faker';
// const { fakerDE } = require('@faker-js/faker'); // CJS

// Commonly localized methods:
fakerDE.person.fullName();
fakerDE.location.streetAddress();
fakerDE.location.city();
fakerDE.location.state();
fakerDE.location.zipCode();
fakerDE.phone.number();
fakerDE.commerce.productName();
fakerDE.internet.email();
fakerDE.internet.url();
fakerDE.date.month();
fakerDE.date.weekday();
fakerDE.word.noun();
fakerDE.word.verb();
fakerDE.company.name();

// Non-localized methods work as normal:
fakerDE.number.int();

Released under the MIT License.