Skip to content
toolgrid

No tool found. Try another word.

UUID Generator

Generate UUIDs (GUIDs) online: random version 4 or time-ordered version 7, up to 1000 at once, in lowercase or uppercase, with or without hyphens and braces.

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the UUID Generator

  1. 1 Choose version 4 or 7 and how many UUIDs you need.
  2. 2 Pick the format: uppercase, hyphens, braces.
  3. 3 Copy the list or download it as a text file.

About the UUID Generator

A UUID (universally unique identifier), called GUID (globally unique identifier) in the Microsoft world, is a 128-bit identifier written as 32 hexadecimal digits in five groups: 8-4-4-4-12. UUIDs can be created anywhere without a central registry and are still unique in practice, which makes them ideal as database keys, file names and request IDs.

Version 4 UUIDs consist of 122 random bits, generated with your browser's cryptographically secure random number generator; the chance of two ever colliding is negligible. Version 7 (RFC 9562, 2024) starts with the current time in milliseconds followed by random bits, so UUIDs created later sort after earlier ones. That keeps database indexes compact and fast, which is why v7 is now recommended for primary keys.

GUIDs in Windows and .NET are the same thing, often written in uppercase and wrapped in braces, like {3F2504E0-4F89-41D3-9A0C-0305E82C3301}. Use the format options to match what your system expects. The version digit (the first character of the third group) and the variant bits are set according to the standard.

Frequently asked questions

What is the difference between a UUID and a GUID?

None in practice: GUID is Microsoft's name for a UUID. GUIDs are often shown in uppercase and in braces.

Should I use v4 or v7?

Use v7 for database primary keys, because they sort by creation time and keep indexes efficient. Use v4 when the ID must not reveal when it was created.

Can two UUIDs be the same?

In theory yes, in practice no: with 122 random bits you would need to generate billions of UUIDs per second for many years to expect one collision.

Are these UUIDs secure enough for tokens?

They are generated with a cryptographically secure random generator, but UUIDs aren't designed as secrets. For session or API tokens, use a dedicated random token generator.