Skip to content

Portuguese (Brazil)

Portuguese (Brazil) is one of the many supported locales in Faker. It uses the language code pt_BR and is available as fakerPT_BR.

Language data

KeyValue
NamePortuguese (Brazil)
Local NamePortuguês (Brasil)
Languagept
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 { fakerPT_BR } from '@faker-js/faker';
// const { fakerPT_BR } = require('@faker-js/faker'); // CJS

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

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

Released under the MIT License.