UtilityBase logoUtilityBase

Generators

UUID Generator

Generate RFC 4122 version 4 UUIDs — single or in bulk.

Updated February 15, 2026

How to use the uuid generator

  1. 1Choose how many UUIDs you need.
  2. 2Toggle uppercase if your convention requires it.
  3. 3Click Generate, then copy one UUID or the whole list.

Common uses

  • Create primary keys and request IDs during development.
  • Generate batch IDs for test fixtures.
  • Mint unique identifiers for documents and assets.

Frequently asked questions

What is a version 4 UUID?

A 128-bit identifier formatted as 8-4-4-4-12 hex digits, where 122 bits are random. The '4' in the third group marks the version. Randomness makes coordination unnecessary — any system can mint IDs independently without collisions.

Can two generated UUIDs ever collide?

With 122 random bits, the probability is so small it's ignored in practice: you'd need to generate billions of UUIDs per second for decades before a collision becomes likely.

Is a UUID the same as a GUID?

Yes — GUID is Microsoft's name for the same 128-bit identifier format. They're interchangeable.

Are UUIDs secure enough to use as secret tokens?

A v4 UUID from a secure source has 122 bits of entropy, which is unguessable. That said, purpose-built tokens (longer, URL-safe) are generally preferred for secrets; UUIDs are designed as identifiers.

About this tool

The UUID generator creates version 4 UUIDs (universally unique identifiers) using the browser's native crypto.randomUUID, which draws from a cryptographically secure source. Generate one or up to 1,000 at a time, in lowercase or uppercase, with one-click copy for a single ID or the whole batch. Version 4 UUIDs contain 122 random bits, making collisions effectively impossible — which is why they're the default choice for database keys, request IDs, and distributed systems.

Like everything on UtilityBase, the uuid generator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more generators here.

Was this tool helpful?

Related tools