Przejdź do treści głównej
FreeOnlineTools Go
Polski

UUID Generator

Generuj random UUIDs (v4) natychmiast w przeglądarce. Bez przesyłania, fully całkowicie prywatne.

Local processing

What is UUID Generator?

A UUID (Universally Unique Identifier, also called GUID) is a 128-bit identifier rendered as 32 hex digits in 8-4-4-4-12 groups, e.g., 550e8400-e29b-41d4-a716-446655440000. UUIDs are designed to be globally unique without coordination between issuing parties, making them ideal for distributed-system identifiers, database primary keys, and request tracing. UUIDv4 uses random bits (122 of them) for a collision probability so low it is considered negligible.

How It Works

The generator produces UUIDv4 by drawing 16 random bytes from the Web Crypto API (crypto.getRandomValues). It sets the version nibble to 4 (bits 48-51) and the variant nibble to the RFC 4122 variant (bits 64-65 = 10), then formats the bytes into the canonical 8-4-4-4-12 hex string with hyphens. Because randomness comes from the OS CSPRNG, the output is suitable for security-sensitive identifiers.

Common Use Cases

  • Generating database primary keys — use UUIDs to avoid sequential-ID enumeration and shard cleanly
  • Correlating distributed requests — tag each API call with a UUID for end-to-end tracing
  • Creating unique file or resource names — avoid collisions in shared storage without a central counter
  • Issuing one-time tokens — generate a random UUID for password-reset or email-verification links

Technical Details

Standard: RFC 4122. Version 4 (random): 122 random bits → ~5.3 × 10^36 possible values. Collision probability: after 2.71 × 10^18 IDs, ~50% chance (birthday bound) — practically never. Randomness: crypto.getRandomValues (CSPRNG). Format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where y is 8, 9, a, or b. Output is lowercase hex.

How to Use

Enter your input above. The result updates automatically. Use the copy button to copy the result.

Privacy

All processing happens in your browser. Your data is never uploaded to any server.

FAQ

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit identifier that is virtually guaranteed to be unique.

Which UUID version is generated?

This tool generates UUIDv4, which uses random numbers from the Web Crypto API.

Are generated UUIDs uploaded or stored?

No. UUIDs are generated entirely in your browser using crypto.getRandomValues. The output is never transmitted or persisted. Close the tab and the values are gone — copy them before navigating away.

Related Tools