UUID v6 reorders the timestamp fields of v1 to improve sorting. This generator uses a random node value and does not read your hardware MAC address.
UUID v6 or v7?
Use v6 when compatibility with a v1-oriented design is important. For a new system needing time-ordered identifiers, generally prefer v7, which uses Unix milliseconds.
Neither format proves uniqueness or creation time. Database performance depends on the schema and workload; benchmark your actual system.
Frequently asked questions
- Is UUID v6 deprecated?
- No. RFC 9562 defines UUID v6. It is primarily intended for systems migrating from UUID v1; v7 is generally preferred for new designs.
