UUID v4 · UUID v7 · ULID
Generate unique IDs.
Random UUIDs, time-ordered UUIDs, and ULIDs. Generated on the server, nothing stored.
22086df1-5ef4-42c2-b7b2-8d52b37036f9
curl
curl https://uuidgen.dev/api/v4
Endpoints: /api/v4, /api/v7, /api/ulid. Add ?n= for up to
10,000 IDs, one per line.
Which one?
- UUID v4 is 122 random bits. Use it when you just need something unique.
- UUID v7 puts a millisecond timestamp first, so IDs sort by creation time. Good for database primary keys.
- ULID is also time-ordered, written as 26 Crockford base32 characters. Shorter and URL-safe.