UUID v6 Generator

Reordered Time-based UUIDs for databases.

Output
Click the value to copy
Tap/click to copy

What is UUID v6?

Version 6 UUIDs are a field-compatible version of UUID v1, reordered for improved database locality. They place the timestamp's high bits at the beginning of the UUID, making them sortable by creation time.

Key Features

  • Sortable: Lexicographically sortable by time, which indexes better than v1 or v4 in B-tree databases.
  • Backward Compatible: Uses the same fields/structure as v1, just in a different order.
  • Transitional: Generally considered a transition path for legacy v1 systems.

When to use UUID v6?

Use Version 6 if you have an existing system using UUID v1 and want to improve database performance without changing the underlying data structure significantly. for new applications requiring time-sorted UUIDs, UUID v7 is the standard recommendation (RFC 9562).