Foglift
UUID Generator
Generate UUID v4 (random) or UUID v7 (time-sorted) identifiers. Bulk generate, format, and copy.
5 UUIDs generated
3b82fd44-57b2-4fb9-bb8f-e1897df08111Click to copy2dfce552-dea4-4326-b7e2-53adb5b26e3fClick to copya70c283e-1866-42ba-b6c1-c95dd09f5dceClick to copy1318827f-239c-44d7-868e-3fdabec3fe0eClick to copy83c9f016-9635-46e7-876b-7c2a055068a3Click to copyWhat is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit identifier that is unique across space and time. UUIDs are used as primary keys in databases, API identifiers, session tokens, and anywhere you need a globally unique ID without coordinating with a central authority.
UUID v4 vs UUID v7
| Feature | UUID v4 | UUID v7 |
|---|---|---|
| Generation | Random | Time-sorted + random |
| Sortable | No | Yes (by creation time) |
| Database Index | Poor (random inserts) | Excellent (sequential) |
| Privacy | No timestamp leaked | Contains creation timestamp |
| Standard | RFC 4122 | RFC 9562 (2024) |
| Use Case | General purpose | Database primary keys |
When to Use UUIDs
- Database primary keys: Use UUID v7 for better index performance
- API resource IDs: Use UUID v4 for unpredictability
- Distributed systems: Generate IDs without central coordination
- File names: Avoid collisions in file uploads and storage
- Correlation IDs: Track requests across microservices
More Free Tools
Foglift offers 43+ free tools for developers and SEO professionals.
Browse All Tools →