Skip to content
MixTool

UUID generator

Create secure random v4 or database-friendly v7 UUIDs in bulk, and inspect any UUID you already have.

  • Runs entirely in your browser
  • Free · no sign-up
  • Works on phone and desktop
Loading tool…

Unique IDs for every use

A UUID (also called a GUID) is a 128-bit identifier written as 32 hex digits, like f47ac10b-58cc-4372-a567-0e02b2c3d479. Version 4 UUIDs are fully random and the most widely used. Version 7, standardized in RFC 9562, starts with a timestamp, so new IDs sort in creation order — which keeps database indexes compact and fast.

Generate one UUID or up to 1,000 at once, in uppercase or lowercase, with or without hyphens or braces, as a plain list, JSON array, comma-separated values or a quoted SQL list. Paste any UUID into the inspector to see its version and variant, and for versions 1, 6 and 7, when it was created.

How to generate UUIDs

  1. 1

    Choose version 4 or 7

    Random, or time-ordered for databases.

  2. 2

    Set how many

    From 1 to 1,000.

  3. 3

    Pick the format

    Case, hyphens, braces and list style.

  4. 4

    Copy or download

    Or generate a new batch.

Key features

  • Cryptographically secure

    Uses the browser's Web Crypto generator.

  • UUID v7 support

    Time-ordered IDs with monotonic ordering within the same millisecond.

  • Bulk output formats

    Lines, JSON, CSV or SQL.

  • UUID inspector

    Version, variant and embedded timestamp.

Common uses

  • Database primary keys: v7 IDs insert efficiently into B-tree indexes.
  • Test data: Generate hundreds of IDs for fixtures and seeds.
  • Distributed systems: Create IDs without a central counter.

Tips and good to know

  • Use v4 when IDs must not reveal when they were created; v7 exposes its creation time to anyone who inspects it.
  • Need random strings instead of UUIDs? Try the Random String Generator.

Frequently asked questions

Can two UUIDs ever be the same?

In theory, but a v4 UUID has 122 random bits. You'd need to generate about a billion per second for 85 years to have a 50% chance of one collision.

Should I use UUID v4 or v7?

Use v7 for database keys and anything you want sorted by creation time. Use v4 when the ID shouldn't leak timing information.

Is a GUID the same as a UUID?

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

Are the UUIDs generated on your server?

No. They're created in your browser and never sent anywhere.