UUID generator
Generate UUID v4, time-ordered UUID v7 and ULID identifiers, one or a thousand at a time, and decode any UUID or ULID.
Questions
Should I use v4 or v7?
Version 4 is fully random. Version 7 starts with a millisecond timestamp, so new IDs sort after older ones, which keeps database indexes compact. Both are defined in RFC 9562.
What is a ULID?
A 26 character ID made of a 48 bit millisecond timestamp and 80 random bits, written in Crockford base32. Like UUID v7 it sorts by creation time, and it avoids look-alike letters such as I, L, O and U.
Are these random enough?
Yes. The random bits come from your browser's cryptographic random generator (crypto.getRandomValues). Within one millisecond, v7 and ULID lists count up from a random start so they stay in order.