UUID v4 · UUID v7 · ULID
Generate unique IDs.
Random UUIDs, time-ordered UUIDs, and ULIDs. Generated on the server, nothing stored.
4d58ae5f-c7ab-4311-948f-afa8a05ceb9b
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.