Foglift
UUID Generator
Generate UUID v4 (random) or UUID v7 (time-sorted) identifiers. Bulk generate, format, and copy.
5 UUIDs generated
e4e390b7-3cac-46ce-8965-a14d1feb7b13Click to copy53b2dea4-5a7a-44bf-8d5e-02e428b0e316Click to copya9ef2d0f-bd7b-4215-bb8c-88c84992c74aClick to copy6faf5be9-7549-4277-9165-afd9cc86b9f1Click to copyc77d083d-6034-4c41-b4b0-fd4965569cfdClick 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 →