Skip to main content
WizTools123
WizTools123
Free Online Tools

Tool Categories


Developer Tools New Tool

Free Online UUID Generator, v4, v7, v1 and v5, With Bulk and Validate

Generate UUIDs the version you actually need. Random v4, time-ordered v7 that sorts nicely in a database, classic v1, or a name-based v5 from a namespace. Make one or a thousand at a time, in upper or lower case, with or without hyphens. A validator reads any UUID back and tells you its version and the time inside it.

Free Forever Nothing Uploaded Bulk and Validate Time-Ordered v7
Free Online UUID Generator, v4, v7, v1 and v5, With Bulk and Validate
Share this tool
Advertisement Slot (Top Banner) Google AdSense Unit • Responsive Banner
UUID Generator Everything happens in this tab. Nothing you paste is sent anywhere.
Version
Name
Format

Your UUIDs
Validate

Buy Us A Coffee

Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.

Buy Us A Coffee
Sponsored Content (Below Tool) Google AdSense Placement

Which UUID Version to Use

Mostly v4. Sometimes v7. Rarely the others.

Version Made from Reach for it when
v4RandomYou just need a unique id and do not care about order. The default, and the right answer most of the time.
v7Time, then randomThe ids are a database primary key. Because they sort by time, they keep the index tidy instead of scattering writes.
v1Time and nodeYou need the classic time-based form for compatibility. v7 is the modern replacement for new work.
v5Namespace and a nameThe same input must always give the same id. Feeding "example.com" always produces one exact UUID.
v7 is the one worth knowing about, because it fixes a real database problem. Random v4 ids arrive in no order, so inserting them scatters writes all over a database index and slows things down as the table grows. v7 puts the current time in the front of the id, so new ids sort after old ones and land next to each other in the index. If you are choosing a primary key for a new table, v7 is usually the better default than v4.
v4 collisions are not something to worry about. A v4 UUID has 122 random bits, which is enough that you would need to generate billions of them per second for many years before a repeat became likely. The random source here is the browser\'s cryptographic generator, not the ordinary one, so the bits are properly unpredictable as well as unique.

Where Your Input Goes

Nowhere. And you can check that yourself.

UUIDs are generated in your browser with its own random source, and nothing is sent anywhere. It is all done by your own browser. Press F12, open the Network tab, and use the tool: the page fetches its own code and nothing else. Or load the page, turn off your wifi, and carry on. It still runs, because there was never a server in the middle.

How to Generate a UUID

A few steps, and nothing is uploaded.

1
Pick a version v4 for a plain unique id, v7 if it is a database key, v5 if the same input must always give the same id.
2
Choose how many and the format One or up to a thousand, upper or lower case, with or without hyphens.
3
Generate They appear in the box below. Press generate again for a fresh set.
4
Or validate one Paste any UUID into the validate box to read its version and, for v1 and v7, the time inside it.

What to Know About UUIDs

Including the things this tool cannot do.

v7 is the version most people have not met yet, and it is the one worth knowing. A random v4 id sorts in no order, so using it as a database key scatters inserts across the index and slows down as the table grows. v7 puts the current time at the front, so new ids sort after old ones and stay together in the index. For a new primary key, v7 is usually a better default than v4.
v5 is repeatable on purpose, and that is its whole point. Given the same namespace and the same name, v5 always produces the same UUID, because it is a hash of them rather than random. That is how you turn a natural key, like a domain or a file path, into a stable id that anyone can regenerate without a shared database. v4 and v7 are the opposite: never repeatable.
The randomness comes from the browser's cryptographic generator, not the ordinary one. Math.random is fine for a shuffle but not for ids that must be unpredictable as well as unique. This uses crypto.getRandomValues, so a v4 id cannot be guessed from the ones around it. A v4 has 122 random bits, far more than enough that collisions are not a practical concern.
The validator reads a UUID back, including the time hidden in v1 and v7. Paste any UUID and it tells you the version and variant, and for the time-based versions it decodes the timestamp into a real date. This is handy for confirming that ids from a system really are the version you expected, or for reading when a v7 record was created straight from its key.

Key Features & Capabilities

What this tool does, and what it deliberately does not.

Four versions v4 random, v7 time-ordered, v1 classic and v5 name-based.
One or a thousand Generate in bulk, upper or lower case, hyphens optional.
Time-ordered v7 The version that keeps a database index tidy instead of scattering it.
Validate and read Paste any UUID to see its version and the time inside a v1 or v7.
Cryptographic random v4 uses the secure generator, so ids are unpredictable, not just unique.
Runs in your browser No account, no upload, works offline once loaded.

About the UUID Generator

A UUID is a 128-bit identifier that two machines can both generate without ever talking to each other and still be confident they will not clash. That property makes it the default id for rows in a database, messages in a queue, files in a store and a hundred other things, which is why a generator for them is a tool a developer opens often.

This makes the versions that actually come up. v4 is plain random and the right choice most of the time. v7 is the newer time-ordered version that keeps a database index tidy, which matters more than it sounds when the table is large. v1 is the classic time-based form, and v5 is the repeatable one, built from a namespace and a name so the same input always yields the same id.

It generates one or a thousand at a time, in whatever case and hyphenation you need, using the browser's cryptographic random source so the ids are unpredictable as well as unique. And it reads them back: paste any UUID and it will tell you the version and, for the time-based ones, decode the timestamp buried inside it into a real date.

Frequently Asked Questions

Which version to use, why v7 helps a database, and whether v4 can collide.

v4 for a plain unique id, which is most cases. v7 if the id is a database primary key, because it sorts by time and keeps the index tidy. v5 if the same input must always produce the same id. v1 only for compatibility with older systems; for new work v7 replaces it.

Random v4 ids arrive in no order, so inserting them scatters writes across the index and gets slower as the table grows. v7 puts the current time at the front, so new ids sort after old ones and land next to each other. That keeps inserts fast and the index compact.

In theory yes, in practice no. A v4 has 122 random bits, so you would need to generate billions per second for many years before a collision became likely. The random source here is cryptographic, so the ids are also unpredictable, not just spread out.

Because that is what it is for. v5 is a hash of a namespace and a name, so the same inputs always produce the same id. It lets you turn a natural key like a domain or a path into a stable UUID that anyone can regenerate. If you want a different id each time, use v4 or v7.

No. They are generated in your browser using its cryptographic random source. Nothing is uploaded and it works offline once the page has loaded.

Other Developer Tools

Advertisement Slot (Bottom Banner) Google AdSense Unit • Responsive Banner