UUID / GUID Generator
Online RFC 4122 Version 4 UUID / GUID generator. Creates 128-bit v4 identifiers in batches of 1, 5, 10, or 25 using browser Web Crypto (crypto.randomUUID / crypto.getRandomValues) with instant toggles for UPPERCASE and Include Hyphens (Standard 8-4-4-4-12 vs. 32-char compact hex).
UUID / GUID Generator (Version 4)
Generate cryptographically secure RFC 4122 compliant version 4 UUIDs instantly in your browser.
How to Use UUID / GUID Generator
Click one of the **Count** preset buttons (**`1`**, **`5`**, **`10`**, or **`25`**) and toggle **UPPERCASE** or **Include Hyphens (Standard)** to format your identifiers, or click **Generate New** to mint a fresh batch. Every identifier follows the **RFC 4122 Version 4** specification (`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`, where the 13th hexadecimal digit is fixed to `4` for Version 4 and the 17th digit is restricted to `8`, `9`, `a`, or `b` for Variant 1). When supported by your browser, generation uses the native Web Crypto `crypto.randomUUID()` API or `crypto.getRandomValues(new Uint8Array(16))` with RFC 4122 bit masking (`122` random bits per ID; a standard `Math.random()` fallback is used only in legacy environments lacking Web Crypto). Uncheck **Include Hyphens (Standard)** when you need a compact 32-character hexadecimal string without dashes, and click the row copy icon or **Copy All** to export your batch. For custom alphanumeric tokens or random passwords, see our Random String Generator and Password Generator.
- 1
Select Batch Count (1, 5, 10, or 25)
Click 1, 5 (default), 10, or 25 in the Count selector to generate that number of Version 4 UUIDs.
- 2
Toggle UPPERCASE or Include Hyphens
Check UPPERCASE for capital hex letters or uncheck Include Hyphens (Standard) for a 32-character unhyphenated string.
- 3
Click Generate New for Fresh v4 IDs
Press Generate New to mint a new set of RFC 4122 v4 identifiers via the browser Web Crypto API.
- 4
Copy a Single UUID or Copy All
Click the copy icon next to any individual UUID row or click Copy All to copy the newline-separated batch.
Structure of an RFC 4122 Version 4 UUID (Hyphenated vs. Compact 32-Hex)
Version 4 UUIDs fix 6 version/variant bits and populate the remaining 122 bits from Web Crypto random bytes.
Generated via crypto.randomUUID() / crypto.getRandomValues(Uint8Array(16)).
bytes[6] = (bytes[6] & 0x0f) | 0x40 (Version 4) · bytes[8] = (bytes[8] & 0x3f) | 0x80 (Variant 10xx).
36 chars with hyphens (8-4-4-4-12) or 32 hex chars when Include Hyphens is unchecked.
Related Free Tools
Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.
Format, beautify, validate, and minify JSON online with 2-space or 4-space indentation, syntax error alerts, copy, and .json download.
Convert Unix epoch timestamps (10-digit seconds or 13-digit milliseconds) to UTC, Local, and ISO 8601 dates, or convert dates to timestamps.
Generate random passwords from 6 to 64 characters with uppercase, lowercase, number, symbol, and ambiguous-character controls.
Generate 1 to 25 random strings from 4 to 128 characters using uppercase, lowercase, number, and symbol character sets.