UUID/GUID Generator

UUID Version Selection
Generated UUIDs
UUID Decoder & Validator
UUID Version Info
Version 4 - Random

Randomly generated UUID with 122 bits of randomness. Most commonly used version for general purposes.

UUID Structure

Standard UUID format:

xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
  • M: Version digit (1-7)
  • N: Variant bits (8, 9, A, or B)
  • Total: 128 bits / 32 hex digits
Common Use Cases
  • 🗄️ Database Primary Keys
  • 📡 API Resource IDs
  • 🔗 Unique Identifiers
  • 📊 Distributed Systems
  • 🔄 Message IDs
Quick Actions

Free Online UUID v6 Generator - Sortable Time-based Tool

Generate UUID v6 online for free. This browser-based tool creates time-sortable UUIDs with reordered timestamp bits - perfect for database indexing. No installation needed.

When to Use This Version

Use UUID v6 when migrating from v1 and need lexicographic time-sorting, or when you specifically need v1 compatibility with better sorting. For new projects, v7 is usually a better choice - simpler timestamps, better privacy, same sorting benefits.

Best Practices

V6 can be converted to/from v1 by bit rearrangement, useful for migrations. However, for new systems, prefer v7 which uses Unix timestamps (more widely understood) and doesn't embed MAC addresses (better privacy). V6 is mainly for v1 compatibility scenarios.

Compare with Other Versions

UUID Version 6 Questions

UUID v6 is a reordered version of v1 where timestamp bits are arranged for lexicographic sorting. Same information as v1 (time + clock + node), but IDs sort chronologically as strings.

V1 timestamps are stored in a scattered order that doesn't sort naturally. V6 rearranges these bits so newer UUIDs are lexicographically greater. Better for database indexes, log sorting, pagination.

V7 is usually better for new projects: it uses Unix timestamps (simpler), doesn't embed MAC address (privacy), and is the newer standard. V6 is mainly for v1 compatibility scenarios.

Yes, it's a bit rearrangement. The same timestamp, clock sequence, and node ID - just reordered. Useful for migrating v1 systems to sortable IDs without changing underlying data.