Skip to content

Indonesian (Indonesia)

Indonesian (Indonesia) is one of the many supported locales in Faker. It uses the language code id_ID and is available as fakerID_ID.

Language data

KeyValue
NameIndonesian (Indonesia)
Local NameBahasa Indonesia (Indonesia)
Languageid
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 { fakerID_ID } from '@faker-js/faker';
// const { fakerID_ID } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.