Seed a test database
Generate IDs for mock users or products and copy the list into a fixture or seed file.
Generate one or multiple random UUID v4 identifiers. Choose uppercase or remove hyphens, then copy the list for application records and test data.
About UUIDs:
Generate one or multiple random UUID v4 identifiers. Choose uppercase or remove hyphens, then copy the list for application records and test data.
A UUID is a 128-bit identifier commonly written in five groups separated by hyphens. The v4 option creates random identifiers for records, test data, and application fixtures. The time-based option is labeled v1-like because it is a custom format, not a standards-compliant UUID v1.
Create sample identifiers for database rows, mock API responses, and local tests without keeping a manual counter.
Use v4 when an application accepts random identifiers and performs its own uniqueness checks.
Choose v4 or v1-like and select one of the available batch sizes: 1, 5, 10, 25, 50, or 100. Generate the identifiers, then copy one value or the full list. Optional controls use uppercase or remove hyphens; you can also remove individual values or clear the list.
Generate IDs for mock users or products and copy the list into a fixture or seed file.
Paste a v4 value into a form or API test to verify that an identifier field accepts the expected format.
Choose v4 when your application expects a standard random UUID; v1-like is not a compliant v1 value.
Leave hyphens and lowercase enabled unless the receiving system accepts compact or uppercase values.
A v4 collision is extremely unlikely but not impossible. Keep a uniqueness constraint where identifiers are stored.
The v4 option uses crypto.randomUUID, available in current browsers in secure contexts such as HTTPS. Identifiers are generated in the browser; clipboard permissions can affect copying.
The timestamp option is labeled v1-like and is not a standards-compliant UUID v1 generator. Use v4 when your application expects standard random UUIDs; check whether it requires the normal hyphenated format.