Generate random (v4), time-based (v1), or time-ordered (v7) UUIDs instantly.
UUID Version
Number of UUIDs
4
Embed this tool on your site
Free · No account or API key required · 100% client-side
Free
UUID Generator
A UUID (Universally Unique Identifier) is a 128-bit label used for information in computer systems. The term GUID (Globally Unique Identifier) is also used, typically in Microsoft software.
This tool allows you to generate standard UUIDs instantly. You can choose between:
Version 4 (Random): The most common UUID version. It is generated using random numbers and provides a very high probability of uniqueness. Recommended for most use cases like database keys, session IDs, and file names.
Version 1 (Time-based): Generated using the current time and the MAC address of the computer (or a random node ID). This version is useful when you need to sort UUIDs chronologically or ensure uniqueness across different machines.
Version 7 (Time-ordered): A newer standard that combines a timestamp with random data. It is sortable by time (like v1) but doesn't expose the MAC address and is more compact in databases. Ideal for modern distributed systems.
Common Use Cases
Database Primary Keys: Using UUIDs allows for distributed database systems without collision risks.
Session Identifiers: Securely identify user sessions in web applications.
Transaction IDs: Track unique events or transactions in logs and systems.
File Naming: Generate unique filenames to prevent overwriting user uploads.
Examples
Standard v4 UUID
Input
Default generation
Output
3b241101-e2bb-4255-8caf-4136c566a962
RFC 4122 v4 randomly generated UUID with standard hyphens.
Uppercase Without Hyphens
Input
Uppercase + No Hyphens setting
Output
3B241101E2BB42558CAF4136C566A962
Formatted for systems requiring compact alphanumeric identifiers.
Common pitfalls
!
v1 vs v4 Predictability: v1 UUIDs incorporate timestamp and MAC addresses, which can expose device timing information. For security-sensitive tokens, always use v4.
Frequently asked questions
Can two generated UUID v4 identifiers ever collide?+
The probability is astronomically small. With 122 bits of randomness, you would need to generate over 1 billion UUIDs every second for 85 years to have a 50% probability of a single collision.
Are UUIDs generated on this page sent to a database?+
No. Generation executes 100% locally in your browser using window.crypto. No generated UUID is ever transmitted or logged.