Skip to main content
CodeLint.Dev Dev Tools
1 UUID · v4 random
  1. 1 6ed14a7a-92b1-4446-b8cb-f43fbacec9ca
UUID v1 — Time-based

Encodes the current timestamp plus a random node ID. Values generated within the same millisecond are monotonically incremented. Useful when you need to trace when a record was created.

UUID v4 — Random

All significant bits are filled with cryptographically secure random data. The most widely used UUID version — ideal for primary keys, session tokens, and correlation IDs where ordering does not matter.

UUID v7 — Time-ordered RFC 9562

Embeds a Unix millisecond timestamp in the most-significant bits, making UUIDs sortable by creation time. Dramatically improves database index performance compared to v4. Recommended for new database primary keys.