Random Generators

Generator de Date Mock

Generează date mock realiste pentru testare, dezvoltare și prototipare. Exportă în format JSON, CSV sau SQL.

Configurare Date
Configură tipul și cantitatea de date de generat
Selectează Câmpuri
Date Generate

Apasă "Generează Date" pentru a crea date mock

Tips & Use Cases

Perfect for:

  • • API testing and development
  • • Database seeding
  • • UI/UX prototyping
  • • Performance testing
  • • Demo applications

Features:

  • • Realistic data generation
  • • Multiple export formats
  • • Customizable record count
  • • Various data types
  • • Consistent relationships
Frequently Asked Questions

Is the generated data realistic enough for testing?

Yes! Our data follows realistic patterns - emails match names, phone numbers use proper country codes, and relationships between fields are maintained.

Can I use this data in production?

This data is for testing and development only. Never use mock data in production systems as it may contain unrealistic patterns.

How do I import the SQL data?

Copy the generated SQL and run it in your database management tool. The CREATE TABLE statement sets up the structure, followed by INSERT statements.

Can I customize the data patterns?

Currently, patterns are predefined for realism. For highly customized data, consider using the generated data as a starting point and modifying it.

Why are some fields missing from my export?

Only selected fields are included in the export. Make sure to check all the fields you want before generating the data.

API Documentation
Integrate mock data generation into your applications

GET /a/v1/mock-data

Generate realistic mock data for testing

Parameters
typestringData type (users, products, addresses, companies, transactions)
countnumberNumber of records (1-1000, default: 10)
formatstringOutput format (json, csv, sql, default: json)
includeIdsbooleanInclude ID fields (default: true)
fieldsstringComma-separated list of fields to include
Example Request
curl "https://random-generators.com/a/v1/mock-data?type=users&count=2&fields=firstName,lastName,email"
Example Response
{
  "data": [
    {
      "id": 1,
      "firstName": "John",
      "lastName": "Smith", 
      "email": "[email protected]"
    },
    {
      "id": 2,
      "firstName": "Jane",
      "lastName": "Johnson",
      "email": "[email protected]"
    }
  ],
  "count": 2,
  "type": "users",
  "format": "json"
}