Skip to content
Devtoolry

UUID Generator

Generate UUID v4 and time-ordered UUID v7 identifiers (GUIDs) in bulk, with uppercase, hyphen and brace options, using a cryptographically secure generator.

Runs in your browser · Nothing uploadedFree · No sign-up

Something not working, or missing a feature? Send feedback

About the UUID Generator

The UUID Generator creates random version 4 UUIDs and time-ordered version 7 UUIDs in bulk. Version 7 sorts by creation time, which keeps database indexes efficient.

Everything is generated in your browser; nothing you enter is uploaded, and anything random comes from a cryptographically secure source.

How to use the UUID Generator

  1. Choose UUID v4 or v7 and how many to generate.
  2. Pick the format: upper or lower case, with or without hyphens, and optional braces.
  3. Copy the list.

Example

Time-ordered UUID v7

Input

Version 7 · count 3 · lowercase with hyphens

Result

019bb7a6-1f3e-7c2a-9d41-6f0b2e8a5c13
019bb7a6-1f3e-7d05-a2c8-3e91b4d7f0a6
019bb7a6-1f3f-7418-8b6e-c05a91d3e27f

Example values generated on 13 January 2026. The first 12 hex digits are the creation time in milliseconds, so v7 UUIDs generated together share a prefix and sort in order. The 7 after the second hyphen is the version.

Common mistakes

  • Random keys and database indexes. Random v4 primary keys land all over a B-tree index, which slows inserts on large tables. Time-ordered v7 keys are appended at the end instead.
  • v7 reveals creation time. Anyone can read the timestamp from a v7 UUID. Use v4 for public identifiers when that time should stay private.
  • Storing UUIDs as text. A UUID is 16 bytes but 36 characters as text. Use a native uuid column (PostgreSQL) or BINARY(16) (MySQL) for large tables.

Works well with the UUID Generator

Frequently asked questions

v4 or v7?

Use v7 for database primary keys, because new values sort after older ones. Use v4 when the creation time should not be visible.

Can two UUIDs collide?

In practice, no. A v4 UUID has 122 random bits, so the chance of a collision is negligible.

Is a GUID the same as a UUID?

Yes. GUID is Microsoft’s name for the same 128-bit identifier. Choose uppercase with braces for the {XXXXXXXX-…} style used in Windows and .NET.

Are these UUIDs secure?

They are generated with your browser’s cryptographically secure random number generator. Still, use them as identifiers, not as secrets or session tokens.

Guides and tutorials