Skip to content
Agents tracked: 444 Releases (7d): 644 Agent status: 4 with issuesSince last limit reset: Claude 31d · Codex 3d Updated Oct 23, 2026

Faker (faker.js) by Faker community

agent.md for AI agents

JavaScript library that generates fake but realistic data (names, addresses, text, numbers, images, 70+ locales) in Node and the browser.

Placeholder images, data and text Library

Is Faker (faker.js) free for commercial use? Yes →

Price
Free
Fully free.
Commercial use
Yes
MIT
Credit the author
Not needed
No credit needed
Agent access
Package (npm/PyPI)

Faker (faker.js) popularity

Gid Score
63 /100
same scale as developer tools
GitHub stars
15.5K
1,141 forks · faker-js/faker
Downloads
9.7M
npm, last 7 days, @faker-js/faker · +10.0% in 4 weeks
Used in agent projects
62
@faker-js/faker in our scan
Faker (faker.js): downloads per weeknpm, @faker-js/faker 9,663,998
Faker (faker.js): GitHub starsfaker-js/faker 15,525

Downloads from api.npmjs.org, stars and forks from GitHub, checked Oct 22, 2026. How the Gid Score is calculated.

Rules for your agent

- Faker (faker.js) (Placeholder images, data and text). JavaScript library that generates fake but realistic data (names, addresses, text, numbers, images, 70+ locales) in Node and the browser. Price: free; commercial use OK; no credit needed.
  Connect: npm @faker-js/faker.
  Get files: npm install @faker-js/faker --save-dev, then import { faker } from '@faker-js/faker' (json).
  Not allowed: Keep the MIT notice when redistributing the library
  Rule: Keep the MIT copyright notice with copies of the library.
  Rule: Generated data is fake; do not present it as real.
  License: https://raw.githubusercontent.com/faker-js/faker/next/LICENSE (checked 2026-10-21; details: https://agentgid.com/assets/faker-js/)

Paste it into your prompt or AGENTS.md. It is built from the license and API terms below.

License

LicenseMIT
Commercial useCommercial use OK
“Permission is hereby granted, free of charge, to any person obtaining a copy of this software” raw.githubusercontent.com/faker-js/faker/next/LICENSE
CreditNo credit needed
Same clause as quoted for commercial use.
Inside your app or gameCan ship inside your app
Same clause as quoted for commercial use.
AI trainingNot stated
Bots and bulk downloadsNot stated
Rules
  • Keep the MIT copyright notice with copies of the library.
  • Generated data is fake; do not present it as real.

Connect it to an agent

How an agent gets filesnpm install @faker-js/faker --save-dev, then import { faker } from '@faker-js/faker'. · no sign-in
File formatsjson
Not allowed
  • Keep the MIT notice when redistributing the library
MCP serverNone found
APINo public API: download by hand
npmnpm install @faker-js/faker
In AI-agent projects@faker-js/faker is in 62 of 4,828 JavaScript projects (1.3%) in our scan of repos set up for AI coding agents.
GitHubfaker-js/faker

Use it in your stack

Node.js Install command is from https://fakerjs.dev/guide/ .
npm install @faker-js/faker --save-dev

import { faker } from '@faker-js/faker';

const randomName = faker.person.fullName(); // Rowan Nikolaus
const randomEmail = faker.internet.email(); // Kassandra.Haley@erich.biz

From the official docs: fakerjs.dev/guide/usage

HTML/CSS Browser/CDN usage.
<script type="module">
  import { faker } from 'https://esm.sh/@faker-js/faker';

  const randomName = faker.person.fullName();
  const randomEmail = faker.internet.email();
</script>

From the official docs: fakerjs.dev/guide/usage

Pricing

FreeFully free.
Paid from—
Usage price—
Good to knowInstall command is the standard npm one; the home page read does not show it.

Sources

Read on Oct 21, 2026: fakerjs.dev, raw.githubusercontent.com/faker-js/faker/next/LICENSE.

Not confirmed: Package name @faker-js/faker and repo faker-js/faker are from general knowledge, not shown verbatim on the pages read. Image helper URLs from faker depend on third-party services not checked.

Not legal advice. Check the license page before you ship.

Alternatives to Faker (faker.js)

All placeholder images, data and text

Pick for your agentSourcePriceLicense Agent access
JSONPlaceholder
Free fake REST API with 100 posts, 500 comments, 100 albums, 5000 photos, 200 todos and 10 users, for tests and prototypes.
Free Commercial OK API
Lorem Picsum
Free placeholder photo service: random or fixed images at any size via URL (/id, /seed, grayscale, blur, jpg/webp), photos from Unsplash.
Free Commercial: conditions API
Mockaroo
Browser tool and API that generates up to 1,000 rows of realistic test data per run as CSV, JSON, SQL or Excel, with mock APIs.
Free tier · from $5/mo Commercial: conditions API
DummyJSON
Free fake REST API with products, carts, users, posts, comments, recipes, quotes and todos in JSON, plus a dummy image generator and mock HTTP.
Free Commercial: unclear API
Placedog
Placeholder dog photo service that returns images by URL with set width, height, filters and optional random selection.
Free Commercial: unclear No credit API
placehold.co
Placeholder image generator by URL: size, colors, text, font and retina in SVG, PNG, JPEG, GIF, WebP or AVIF.
minimalflat
Free Commercial: unclear API
Random User Generator
Free open-source API that returns random fake user profiles (name, address, photo) as JSON, XML, CSV or YAML.
Free Commercial: unclear API
Lipsum.com (Lorem Ipsum generator)
Web generator for Lorem Ipsum placeholder text (paragraphs, words, bytes, lists) and mock banners.
Free Commercial: unclear Download