UUID & ULID tool
Generate UUID v4, time-ordered UUID v7 and ULID identifiers, and read the time inside one.
How it works
Random values come from your browser’s secure random generator. UUID v7 and ULID start with the creation time in milliseconds.
Questions
Which should I use for database keys?
UUID v7 or ULID: they sort by time, which keeps indexes compact and inserts fast.
Can two IDs collide?
In practice no: each has at least 74 random bits.