Every database row, session and file upload needs an identifier that cannot collide, anywhere, ever: that is what UUIDs deliver. Copy-pasting them one at a time from Stack Overflow is the part nobody enjoys.
Updated August 12, 2026, after a fresh review, with updated visuals and links.
Generate up to 50 fresh v4 (random) UUIDs per click below, uppercase if your stack prefers, all created by your browser's crypto engine, locally.

What a UUID actually is
128 bits written as 36 characters with dashes: 8-4-4-4-12 hexadecimal groups. Version 4 means 'random': the fixed '4' in the third group marks it.
Collision odds: generating a billion UUIDs per second for a century still leaves the chance of a single collision under one in millions of millions. Practically: it does not happen.
Use them for database primary keys when merging data from multiple sources, idempotency keys in APIs, file names that must never collide, and session tokens.
Worth remembering
- Sorting performance note: random UUIDs fragment B-tree indexes; for hot tables consider UUIDv7 (time-ordered) which many databases now support natively.
- Lowercase is the canonical form; some .NET stacks emit uppercase, hence the toggle.
Frequently asked
Are these safe for security tokens?
These v4 IDs come from crypto.getRandomValues, the same source used for key generation, so unpredictability is solid for tokens and nonces.
UUID vs GUID: difference?
Same thing: GUID is Microsoft's name for the 128-bit identifier. Format and bits are identical.