UUID Generator

Generate random version 4 and time-ordered version 7 UUIDs in bulk.

How to use the UUID Generator

  1. Choose UUID version 4 (random) or 7 (time-ordered) and how many to generate.
  2. Pick the formatting options you need.
  3. Click Generate and copy or download the list.

About this tool

Use this UUID generator whenever you need unique IDs, one at a time or in bulk. A UUID (universally unique identifier) is a 128-bit value used as an ID for database rows, files, API requests and distributed systems, written as 36 characters like 3f2b8c1e-9d4a-4b6f-8a2e-1c5d7e9f0a3b. The odds of two randomly generated UUIDs colliding are astronomically small.

Generate up to 1,000 UUIDs at once. Version 4 is fully random; version 7 starts with a timestamp, so values sort by creation time – much better for database indexes. Format the output in upper case, without hyphens or wrapped in braces, and validate existing UUIDs to see their version.

Frequently asked questions

Use v7 for database primary keys: because they are time-ordered, inserts stay fast and indexes stay compact. Use v4 when you do not want creation time to be visible.

In theory, yes; in practice, no. You would need to generate about a billion v4 UUIDs per second for 85 years to have a 50% chance of a single collision.

They are the same thing. GUID is Microsoft's name for a UUID.

Yes. GUID is Microsoft's name for the same 128-bit format, so every value the UUID generator creates is a valid GUID. Choose upper case with braces – {3F2B8C1E-…} – if your Windows or .NET tool expects the classic GUID style.