Skip to content

French

French is one of the many supported locales in Faker. It uses the language code fr and is available as fakerFR.

Language data

KeyValue
NameFrench
Local NameFrançais
Languagefr
ScriptLatn
Directionltr

Usage

A few commonly localized methods are shown below. Reload this page to see more random examples. Not all methods are localized in all locales.

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

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

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

Released under the MIT License.