About the Handiwork UUID Generator
The UUID Generator creates universally unique identifiers (UUIDs/GUIDs) on demand. Generate random version 4 UUIDs or time-based version 1 UUIDs, produce them one at a time or in bulk, and copy them straight into your database, code, or configuration.
How to use the Handiwork UUID Generator
- Choose the UUID version (v4 random or v1 time-based).
- Generate a single UUID or a batch of them.
- Copy the identifiers you need.
UUID v4 vs. v1
UUID v4 is generated from random bits and is the common default because it reveals no creation time. UUID v1 includes a 100-nanosecond timestamp measured from the UUID epoch. This generator uses a random node identifier with its multicast bit set, so it does not expose a device MAC address. The standard text form is not reliably chronological when sorted as a string; use UUIDv7 when database sort order is the goal.
Why use UUIDs?
UUIDs let independent systems create unique identifiers without coordinating with a central authority, which avoids collisions when merging data, generating database primary keys, naming files, or tracking distributed events.
Assumptions and limitations
- UUID uniqueness is probabilistic, not mathematically guaranteed. Systems with strict collision requirements should still enforce a unique constraint.
- UUIDv1 embeds a timestamp and should not be used when creation-time disclosure is undesirable. This implementation uses a random node identifier rather than a hardware address.
- The canonical UUIDv1 string layout is not chronological under ordinary text sorting. Prefer a UUID version designed for sortable identifiers when ordering is a requirement.
Sources and standards
These authoritative references were used to verify the method and guidance on this page.
Frequently asked questions
Are these UUIDs really unique?
UUID v4 has 122 bits of randomness, making collisions astronomically unlikely — for practical purposes you can treat each generated value as unique.
What is the difference between a UUID and a GUID?
They are the same thing. GUID (Globally Unique Identifier) is Microsoft’s name for a UUID; the format is identical.
Does UUID v1 reveal my MAC address?
Not in this generator. It uses a random 48-bit node identifier and sets the multicast bit, as the UUID standard permits for nodes that are not hardware addresses.