Skip to content
SPCXTools

UUID Generator

Generate secure random UUIDs (v4) or sortable time-based UUIDs (v7), singly or in bulk.

Runs locally — files never leave your device

Loading tool…

How to use UUID Generator

  1. 1Choose v4 (random) for general-purpose IDs or v7 (time-ordered) for database keys that sort by creation time.
  2. 2Set how many UUIDs you need, from 1 to 1,000.
  3. 3Optionally switch to uppercase, remove hyphens, or wrap each value in braces (the Microsoft GUID style).
  4. 4Click Generate for a fresh batch, then copy or download the list.

Generate UUIDs and GUIDs instantly

This UUID generator creates standards-compliant identifiers right in your browser. Pick the version, set a quantity and you get fresh values immediately — one to paste into a test, or a thousand to seed a database. Every UUID is produced with your browser's cryptographically secure random number generator, and none are sent to or stored on any server.

Features

  • UUID v4 – 122 random bits, the most widely used version.
  • UUID v7 – a 48-bit Unix millisecond timestamp followed by random bits, so IDs sort by creation time.
  • Bulk generation of up to 1,000 UUIDs at once, with copy and download as a .txt file.
  • Formatting options – uppercase, without hyphens (32 characters), or wrapped in {braces}.

Common uses

Database primary keys. UUIDs let application servers create IDs before inserting a row, which simplifies distributed systems and data merges. Prefer v7 for this: random v4 keys scatter inserts across an index, while v7 keys arrive in order.

API resources and idempotency keys. Many APIs identify orders, payments and messages by UUID, and accept a client-generated UUID as an idempotency key so that a retried request is not processed twice.

Test data and fixtures. Generate a list of IDs to fill a spreadsheet, a mock API or a unit test.

File and object names. A UUID makes a collision-free name for uploads, cache entries or temporary files.

Reading a UUID

A UUID such as 01928f4e-7a3c-7b21-9d4e-5f6a7b8c9d0e has a fixed layout. The first digit of the third group is the version (4 or 7). The first digit of the fourth group is the variant, which for standard UUIDs is 8, 9, a or b. In a v7 UUID, the first 12 hex digits encode the creation time in milliseconds since 1970.

Need other random values? Create strong passwords with the Password Generator or random numbers in any range with the Random Number Generator.

Frequently asked questions

What is a UUID?
A UUID (Universally Unique Identifier), also called a GUID, is a 128-bit value written as 32 hexadecimal digits in five groups, for example 550e8400-e29b-41d4-a716-446655440000. UUIDs let separate systems create identifiers without coordinating, with practically no risk of collision.
Should I use UUID v4 or v7?
Use v4 when you just need an unpredictable unique ID. Use v7 for primary keys in databases — because v7 begins with a timestamp, new IDs are roughly in order, which keeps B-tree indexes compact and inserts fast. v7 is defined in RFC 9562 (2024).
Can two generated UUIDs be the same?
In theory yes, in practice no. A v4 UUID has 122 random bits; you would need to generate about a billion UUIDs per second for around 85 years to have a 50% chance of a single duplicate.
Are these UUIDs secure?
They are generated with the browser's cryptographically secure random number generator (crypto.getRandomValues). Note that v7 reveals the creation time in its first 48 bits, so do not use v7 where the timestamp should stay private.
Is a GUID different from a UUID?
No — GUID is Microsoft's name for the same format. Some Microsoft tools display GUIDs in uppercase and inside braces, which you can reproduce with the formatting options.
Are the UUIDs stored or logged?
No. They are created in your browser and are never sent to or stored on our server.