🆔 UUID Generator
Generate up to 100 version 4, 1 or 7 UUIDs in lowercase or uppercase and copy them in one click.
Between 1 and 100
Click Generate to create UUIDs instantly.
UUID Versions
Random
122 random bits. The most widely used version — suitable for almost all use cases.
Uses crypto.randomUUID() where available.
Timestamp-based
Encodes the current time at 100 ns resolution since 15 Oct 1582. The node is randomised (browsers cannot read MAC addresses).
Unix Epoch (RFC 9562)
48-bit millisecond Unix timestamp + 74 random bits. Monotonically increasing — ideal for database primary keys and time-ordered sorting.
Related Tools
MD5 Hash Generator
Turn any text into its 32-character MD5 hash in the browser, with optional auto-hashing as you type.
Password Strength Checker
Check a password against six rules and see a live strength rating with targeted suggestions.
SHA256 Hash Generator
Produce the 64 character SHA-256 hexadecimal digest of any text, computed in your browser with the Web Crypto API.
QR Code Generator
Encode a URL or block of text as a QR code, choose its size and colours, and download the result as a PNG.
What the 128 bits actually contain
Version 4 fills everything else with random data, leaving 122 random bits. Version 1 encodes a 60-bit timestamp counted in 100-nanosecond intervals since 15 October 1582, together with a clock sequence and a node field, which in a browser is generated randomly rather than taken from a network card. Version 7 places a 48-bit count of milliseconds since the Unix epoch of 1 January 1970 in the leading bits, then fills the remainder with random data.
The randomness comes from the Web Crypto API, which is designed to be unpredictable, and the tool uses the browser's built-in randomUUID function for version 4 where it is available.
Reading a version 4 UUID character by character
Count the groups: 8 characters, then 4, then 4, then 4, then 12, giving 32 hexadecimal characters plus 4 hyphens, so 36 characters in total. The third group begins 4b36, and that leading 4 is the version marker showing this is a random UUID. The fourth group begins a1c5, and the leading a is a valid variant character, confirming the standard layout.
Now the scale. With 122 random bits there are 2 to the power 122 possible version 4 UUIDs, which is about 5.3 times 10 to the power 36. If you generated a billion identifiers every second for a hundred years, you would create roughly 3.2 times 10 to the power 18 of them, an utterly negligible fraction of the space.
A version 7 identifier of the same length might read 018f3b2c-7a10-7c4d-b9e2-5f81a0c3d764, where the leading digits encode the generation time and sort in order.
Picking a version, and what UUIDs are not for
Be aware that version 1 and version 7 identifiers reveal roughly when they were created. That is helpful for debugging and unhelpful if the creation time is sensitive, for example when identifiers appear in public URLs and reveal sign-up dates.
Two cautions. A UUID is an identifier, not a secret: it is not a substitute for an access token, a password reset code or an API key, because those need to be tied to authentication rather than merely hard to guess. And store UUIDs in a dedicated column type where your database offers one, since a 16-byte binary form is far more efficient than a 36-character string.