Apa yang dilakukan Mock Data Generator?
Mock Data Generator membantu menghasilkan keluaran langsung di browser serta menjelaskan hasil dan batasannya dengan jelas. Kemampuan yang telah diverifikasi: Seven field types, Seeded reproducible generation, English or Chinese data, JSON and CSV exports.
When should you use this tool?
Use this tool to create reproducible fixtures and sample tables. Use the existing UUID or Password Generator for cryptographic randomness; use an API schema to define production constraints.
Bagaimana cara menggunakannya?
- Define 1–30 unique field:type lines, for example id:uuid and name:fullName.
- Choose a count of 1–5000, an integer seed, data language, and output format.
- Select Run, inspect the generated records, and download JSON or CSV.
Contoh masukan dan keluaran nyata
Generate typed boolean test records
Masukan
Fields: active:boolean
Count: 3; seed: 42; language: EnglishKeluaran
[
{"active": true},
{"active": false},
{"active": false}
]Boolean fields remain JSON booleans. The adopted Faker version and seed determine the sequence; check actual output when changing versions.
Kesalahan umum dan perbaikannya
| Gejala | Kemungkinan penyebab | Perbaikan |
|---|---|---|
| A field definition is rejected. | The type is unsupported, a field name repeats, or the name is reserved. | Use unique field names and uuid, fullName, email, integer, boolean, company, or word. |
| A saved seed produces different results later. | The locale, field order, generation settings, or library version changed. | Keep all settings and the pinned Faker version together with the fixture. |
Supported behavior and limitations
Batas khusus alat ini: Generated values are synthetic test data and do not establish valid identities or deliverable email addresses. Integer fields range from 0 to 100. CSV converts cells to text and prefixes formula-like strings with an apostrophe; review imports in the target spreadsheet. Do not use seeded UUIDs as production secrets.
Standar dan referensi implementasi
- Faker repository (opens in a new tab)Browser data generation with locales and seeded randomness.
- Faker random seed (opens in a new tab)Documents reproducibility and version-dependent generated values.
Mock Data Generator — FAQ
Is my input uploaded?
No. Processing happens in a browser Worker. Engine files load from this website; tool input, output, and filenames are not sent to a processing API.
Do I need an account or API key?
No account, API key, or backend processing service is needed.
How do I save a result?
Review the result, then use the Copy or Download control available for that output. Modifying input clears stale results.
What are the limits?
Generated values are synthetic test data and do not establish valid identities or deliverable email addresses. Integer fields range from 0 to 100. CSV converts cells to text and prefixes formula-like strings with an apostrophe; review imports in the target spreadsheet. Do not use seeded UUIDs as production secrets.
Apa yang berubah?
Pembaruan substantif: Mock Data Generator: Added local processing, explicit size limits, cancellation, worked examples, error explanations, and downloadable results.