Skip to main content

UUID Generator

Generate UUID v4 (random) or UUID v7 (time-sorted) identifiers. Bulk generate, format, and copy.

0 UUIDs generated

What 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

FeatureUUID v4UUID v7
GenerationRandomTime-sorted + random
SortableNoYes (by creation time)
Database IndexPoor (random inserts)Excellent (sequential)
PrivacyNo timestamp leakedContains creation timestamp
StandardRFC 4122RFC 9562 (2024)
Use CaseGeneral purposeDatabase 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 →