Skip to content

Japanese ​

Japanese is one of the many supported locales in Faker. It uses the language code ja and is available as fakerJA.

Language data ​

KeyValue
NameJapanese
Local Name日本語
Languageja
ScriptJpan
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 { fakerJA } from '@faker-js/faker';
// const { fakerJA } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.