UUID Generator Suite | v1, v4, v6, v7 & ULID Tools (2026) 2026 — Free Online Tool

Generate & validate RFC 4122/9562 UUIDs & ULIDs.

Cryptographically Secure: Powered by Web Cryptography API. RFC 4122 & RFC 9562 compliant. 100% client-side.
Generated Batch (10 items):Standard: V4
46ac5baf-5221-4acd-8332-90b459bdc943
63bcdf25-4505-4471-87c2-ca6335951488
0e373002-a942-4a6c-9ba8-334bc264bfa2
765d7cf5-d25e-4197-afeb-6c828b727cd8
09181212-9874-4af0-81a1-0c21f0a1ca26
0e8c6223-b429-40f0-b703-21384a677090
46d8813e-4aff-4d49-b0d8-2e05a3abaa12
8c8bc0bd-0ecb-42c1-a873-f39fa1442cbd
efc1f3c5-5254-4260-8649-197aad0a9426
f24b6481-eaed-4ef9-9105-b8eb54765292

💡 Click any UUID above to copy just that one

Click to Copy Individual UUIDs:

Complete Guide: UUID/GUID Batch Generator

UUID Versions Explained

A UUID is a 128-bit unique identifier standardized by RFC 4122 and updated by RFC 9562. It is formatted as 32 hex characters in 8-4-4-4-12 grouping.

  • v4 (Random): 122 bits of randomness. Most common, privacy-friendly.
  • v7 (Time-Ordered): 48-bit Unix timestamp + random. New standard for DB primary keys.
  • v1 (Timestamp): Uses MAC address. Privacy concerns. Legacy.
  • v6 (Reordered): Better sorting than v1. RFC 9562 standard.

Use Cases & Best Practices

  • Database Primary Keys: Use v7 for sequential B-tree insertion.
  • API Tokens: Use v4 for unguessable random tokens.
  • Distributed Systems: No central coordinator needed.
  • Session IDs: Use v4 or Nano ID for shorter URLs.

RFC 4122 & RFC 9562 Compliant

This tool generates RFC 4122 (v1, v3, v4, v5) and RFC 9562 (v6, v7, v8) compliant UUIDs using the browser's native Web Cryptography API (crypto.getRandomValues). 100% client-side. No data sent to servers.

How to Use This Tool

  1. Set batch quantity (1-500) and select UUID version (v4, v7, v6, v1, or NIL).
  2. Configure formatting: Uppercase, Hyphens, Quotes, or JSON Array output.
  3. Click Regenerate or press Space to generate fresh cryptographically secure UUIDs.
  4. Use the Validate tab to check single or bulk UUIDs. Use Extract Timestamp for v1/v7.
  5. Export to TXT, JSON, or CSV for database seeding, API tokens, or distributed systems.

Formula & Specifications

128-bit UUID = 32 Hex Digits | 3.4 × 10^38 Combinations | RFC 4122 & RFC 9562 Compliant

About UUID Generator Suite | v1, v4, v6, v7 & ULID Tools (2026)

Generate cryptographically secure UUIDs v1, v4, v6, v7 in bulk. RFC 4122 and RFC 9562 compliant. Validate, inspect, and export. Includes ULID, Nano ID, and Snowflake generators.

Frequently Asked Questions

What is a UUID and what does it stand for?

UUID stands for Universally Unique Identifier. It is a 128-bit number standardized by RFC 4122 (and updated by RFC 9562) used to uniquely identify information in computer systems without requiring a central coordinator. UUIDs are formatted as 32 hexadecimal characters in 8-4-4-4-12 grouping, e.g., 'e464800e-d6f4-4eb3-8aef-a6ddfe9badbe'.

What is the difference between UUID v1, v4, and v7?

UUID v1 uses the host's MAC address and timestamp (not privacy-friendly). UUID v4 uses 122 bits of cryptographically secure random data (most common, privacy-friendly). UUID v7 (RFC 9562) combines a 48-bit Unix timestamp with random bits, making it both time-sortable and random — ideal for database primary keys with sequential B-tree index insertion.

How many possible UUIDs are there?

There are 2^122 (approximately 5.3 × 10^36) possible UUID v4 values. To put this in perspective, you would need to generate 1 billion UUIDs per second for approximately 85 years to have a 50% chance of a single collision (birthday paradox). UUIDs are designed so that collisions in practice are virtually impossible.

Are UUIDs cryptographically secure?

UUID v4 is cryptographically secure when generated using a secure random number generator (CSPRNG) like the Web Cryptography API's crypto.getRandomValues(). UUID v1 is NOT cryptographically secure because it embeds the host's MAC address and timestamp, making it predictable. UUID v7 is secure because it uses CSPRNG for the random portion.

What is the difference between UUID and GUID?

UUID (Universally Unique Identifier) and GUID (Globally Unique Identifier) are essentially the same thing. UUID is the standard term from RFC 4122 / RFC 9562, while GUID is Microsoft's terminology (used in Windows COM, .NET). Microsoft GUIDs are binary-compatible with UUIDs.

How do I generate a UUID in JavaScript?

In modern JavaScript, use the Web Crypto API: crypto.randomUUID() returns a v4 UUID like 'e464800e-d6f4-4eb3-8aef-a6ddfe9badbe'. For Node.js (version 14.17+), the same API works. For older browsers, use the npm package 'uuid' or implement v4 generation using crypto.getRandomValues().

Should I use UUID v4 or v7 for database primary keys?

Use UUID v7 for database primary keys because: 1) It embeds a timestamp, so records are naturally sorted by creation time, 2) It improves B-tree index performance by reducing page fragmentation, 3) It still maintains 74 bits of randomness, making collisions practically impossible. Use UUID v4 only when you need truly opaque, unguessable identifiers (e.g., public-facing tokens).

What is a ULID and how is it different from UUID?

ULID (Universally Unique Lexicographically Sortable Identifier) is a 128-bit identifier like UUID, but uses Crockford Base32 encoding (26 characters instead of 36) and is time-ordered. ULIDs are case-insensitive, URL-safe, and monotonically increasing. Example: '01ARZ3NDEKTSV4RRFFQ69G5FAV'. They are popular alternatives to UUID v7.

What is a Nano ID and when should I use it?

Nano ID is a tiny, secure, URL-friendly unique string ID generator for JavaScript. It uses a larger alphabet (64 characters: A-Za-z0-9_-) than UUID, allowing you to use shorter IDs (21 chars by default) with the same or better collision resistance. Use Nano ID for short URLs, user-facing references, or when storage size matters.

Can I extract a timestamp from a UUID?

Yes, but only from v1, v6, and v7 UUIDs. For v1 and v6, decode the first 48 bits of the time field (with the Gregorian epoch offset 122192928000000000). For v7, simply parse the first 48 bits as a Unix millisecond timestamp. Our online tool has a built-in UUID timestamp extractor that automatically detects and displays the creation time.

How do I generate a random UUID v4 in Python?

In Python, use the built-in `uuid` standard module: `import uuid; print(uuid.uuid4())`. This generates a cryptographically random UUID v4 string (e.g., '123e4567-e89b-12d3-a456-426614174000'). For hex format without dashes, use `uuid.uuid4().hex`.

How do I generate a UUID in Java?

In Java, use the `java.util.UUID` class: `UUID uuid = UUID.randomUUID(); System.out.println(uuid.toString());`. Java uses SecureRandom under the hood to generate a 128-bit random UUID v4 string.

What is a Minecraft UUID generator and how does it work?

A Minecraft UUID generator converts a player's username or offline account name into a valid 128-bit UUID format. Offline Minecraft UUIDs use v3 MD5 hashing (`UUID.nameUUIDFromBytes(("OfflinePlayer:" + username).getBytes())`), while online player UUIDs are assigned directly by Mojang auth servers.

What is a Snowflake ID used by Twitter?

Snowflake ID is a 64-bit time-sortable ID format developed by Twitter (now X). It uses a 41-bit timestamp, 10-bit machine ID, and 12-bit sequence number. It is smaller than a 128-bit UUID, making it popular for high-throughput messaging systems and databases where 64-bit integers are preferred.

Is the NIL UUID valid?

Yes, the NIL UUID ('00000000-0000-0000-0000-000000000000') is a special reserved UUID defined in RFC 4122. It represents the 'absence of a UUID' and is used in some protocols as a null value. The Max UUID ('ffffffff-ffff-ffff-ffff-ffffffffffff') is also reserved. Both are valid UUIDs but should not be generated randomly.

What is the UUID version 8 used for?

UUID version 8 is reserved in RFC 9562 for custom or experimental UUIDs. It allows organizations to define their own meaning for the bits. The format is: 48-bit custom timestamp | 4-bit version (8) | 12-bit custom | 2-bit variant (10) | 62-bit custom. Some implementations use v8 for company-specific identifiers or blockchain hashes.

How to validate a UUID format online?

To validate a UUID: 1) Check length (36 characters including hyphens, 32 without), 2) Verify hex characters (0-9, a-f, A-F), 3) Confirm version digit (1-7 in the 13th position), 4) Verify variant bits (8, 9, a, or b in the 17th position). Our free online tool validates UUIDs and shows the version, variant, and creation timestamp (for v1/v7).

Are UUIDs case-sensitive?

Technically, UUIDs are case-insensitive (RFC 4122 specifies lowercase canonical form). The string 'E464800E-D6F4-4EB3-8AEF-A6DDFE9BADBE' and 'e464800e-d6f4-4eb3-8aef-a6ddfe9badbe' represent the same UUID. However, some systems normalize to lowercase. ULIDs and Nano IDs are case-sensitive.

Related Tools

Need to calculate something else?

Explore our suite of 74 free online tools. Type what you need below to search instantly.

Explore all 74 free tools on PakDigitalz.com

View All Tools