Generate random UUIDs and GUIDs instantly with our free online UUID Generator. Create RFC 4122-compliant UUID v4 (random), UUID v7 (time-ordered), and NIL UUIDs in any quantity - all produced locally in your browser using the Web Crypto API for cryptographically secure randomness and complete privacy.
Our UUID generator uses crypto.getRandomValues instead of Math.random() , so every identifier is unpredictable and safe to use for database primary keys, API tokens, distributed systems, and session IDs. Customize the version, quantity, case, hyphens, and GUID brace formatting.
crypto.getRandomValues ) - never Math.random() . A UUID (Universally Unique Identifier), also called a GUID (Globally Unique Identifier), is a 128-bit identifier standardized in RFC 4122 . It is most often shown as a 36-character hexadecimal string grouped as 8-4-4-4-12 , for example 550e8400-e29b-41d4-a716-446655440000 . Because the 128-bit space is astronomically large, randomly generated UUIDs are unique in practice without any central coordination, which makes them ideal primary keys, API tokens, and correlation IDs.
The hyphenated layout maps directly onto the UUID's internal fields. The 13th hex digit encodes the version , and the first digit of the fourth group encodes the variant , so any standards-compliant parser can tell a v4 from a v7 at a glance.
00000000-0000-0000-0000-000000000000 , used as a sentinel or placeholder meaning "no identifier assigned".