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.

Count:
Generated UUIDs (5)
d0d6b0c1-84b6-4fdc-8e0a-b9de312d0683
b0c1149f-cf70-4860-baa9-d25cfe448356
4ceefd51-9be1-4023-8642-31929ddfd499
7f9c23a1-4c6e-4547-9e16-a18d21520785
169f7689-c090-482b-8976-505ba9d2ba38
Generated client-side with Cryptographically Secure Pseudo-Random Number Generation (CSPRNG).
Advertisement

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. 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. 2

    Toggle UPPERCASE or Include Hyphens

    Check UPPERCASE for capital hex letters or uncheck Include Hyphens (Standard) for a 32-character unhyphenated string.

  3. 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. 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.

Worked Input & Output Example

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.

1. Generator Controls
Count: 5 · UPPERCASE: OFF · Include Hyphens (Standard): ON

Generated via crypto.randomUUID() / crypto.getRandomValues(Uint8Array(16)).

2. RFC 4122 v4 Bit Masking

bytes[6] = (bytes[6] & 0x0f) | 0x40 (Version 4) · bytes[8] = (bytes[8] & 0x3f) | 0x80 (Variant 10xx).

Client-side calculation
3. Formatted UUID Output
f47ac10b-58cc-4372-a567-0e02b2c3d479

36 chars with hyphens (8-4-4-4-12) or 32 hex chars when Include Hyphens is unchecked.

UUID VersionRFC 4122 v4xxxx-4xxx-[89ab]xxx format
Standard Format36 Characters32 hex digits + 4 hyphens
No-Hyphen Format32 Hex CharsUncheck Include Hyphens
Batch Presets1, 5, 10, or 25Copy single or Copy All

Related Free Tools

Explore more browser-based tools in Daily & Text Utilities or browse the complete All Tools Directory.