Generate realistic English test data instantly · Name/Email/Phone/Address/Company/Credit Card/Image/Date
⚙️ Custom JSON Fields
One field per line. Format: fieldName:type (supported types: name, email, phone, address, company, date, number(min-max))
💡 Example: user:name, email:email, age:number(18-60)
📖 Online Fake Data Generator: Your Mock Data Factory for Testing
Mock data is essential in software development and testing. Whether you're doing frontend prototyping, backend API debugging, database seeding, or load testing, you need realistic test data. The ng.cc online fake data generator requires no library installation (like Faker.js) – just open your browser and generate name, email, phone, address, company, credit card, placeholder image, date and more. It supports plain text, JSON object, and JSON array output. All generation happens locally in your browser – zero network requests, protecting your test data privacy.
🎯 8 ready‑to‑use data types
English names, US‑style phone numbers and addresses, well‑known global companies, placeholder image URLs, credit card numbers, standard dates. Covers 80% of testing scenarios.
📦 Flexible output formats
Plain text (one per line), JSON object (single), JSON array (multiple). Copy directly into code, databases, or Excel.
⚡ Batch generation
Generate up to 100 items at once. JSON array mode produces a ready‑to‑use mock API response structure.
🔒 100% local privacy
All data is generated inside your browser – never sent to any server. Zero risk of leaking commercial test data.
🎯 Who needs a fake data generator?
👨💻 Frontend developers
Populate components during development
🖧 Backend developers
API debugging, database seeding
🧪 Test engineers
Load testing, boundary tests
📊 Product managers
Prototype demos, UI mockups
🎓 Students
Practice projects, demo assignments
💡 How to use the fake data generator
🔹 3 steps to generate test data
- Choose data type: Select from the dropdown (name, email, phone, etc.).
- Set format & count: Choose plain text / JSON object / JSON array, and enter the number of items (1‑100).
- Generate & copy: Click “Generate” – the result appears instantly, then click “Copy Result” to paste wherever you need.
🔹 Advanced tips
- JSON array for quick API mocking: Select “JSON array” format to get a ready‑to‑use REST API response.
- Custom JSON object: Choose “Custom JSON Object” to combine multiple fields (e.g., name + email + phone + address).
- Placeholder image URLs: Generated links point to real placeholder services like picsum.photos, placekitten.com – usable directly in
<img> tags.
- Credit card numbers: Generated using the Luhn algorithm – valid test numbers for payment flow simulation (never real).
📊 Data types & examples
| Type |
Format |
Example |
| Name | English name | John Doe, Jane Smith |
| Email | local@domain | john.doe@example.com, jane@test.com |
| Phone | US/International | +1-212-555-1234, (415) 555-6789 |
| Address | US style | 123 Main St, New York, NY 10001 |
| Company | Global companies | Google, Microsoft, Amazon |
| Placeholder image | Image service URL | https://picsum.photos/200/300 |
| Credit card | 16 digits (space grouped) | 4111 1111 1111 1111 |
| Date | YYYY-MM-DD | 2024-01-01, 2025-10-01 |
❓ Frequently Asked Questions
❓ Q1: Can the generated phone numbers be called?
No. All generated numbers are test numbers that follow the pattern but are not assigned to anyone. Do not use them for any illegal purpose.
❓ Q2: Can I use the credit card numbers to pay?
Absolutely not. Although they pass the Luhn algorithm, they are fake test card numbers with no associated accounts. Use them only for UI demos and form validation testing.
❓ Q3: Why doesn’t my placeholder image URL open?
We use public placeholder services like picsum.photos, via.placeholder.com, and placekitten.com. In some regions, access may be unstable. You can try opening the URL directly in your browser; if it fails, consider using a different placeholder service or check your network.
❓ Q4: Is English data supported?
Yes, this version generates only English‑locale data – names, addresses, companies are all in English, suitable for international testing.
❓ Q5: How is this different from Faker.js / Mock.js?
- Faker.js / Mock.js: Need NPM installation, integrated into Node.js or frontend projects – great for continuous integration.
- This tool: Zero installation, zero dependencies – perfect for quick tests, demos, and cross‑device use.
They complement each other; this tool works out‑of‑the‑box without any environment setup.
❓ Q6: What’s the maximum number of items I can generate?
To maintain browser performance, we limit single runs to 100 items. For generating millions of test records, use dedicated database seeding tools or scripts.
❓ Q7: Is my data uploaded to ng.cc servers?
Absolutely not. This is a static HTML page – all data generation runs in your browser. You can even disconnect from the internet and the tool still works. Your test data never leaves your computer.
🔗 Related Tools
This tool is part of the ng.cc developer toolkit. You might also need:
⚡ All tools run locally, no data ever stored. Safe for commercial project testing.