Skip to content
HandfulTools

UUID Generator

Create universally unique identifiers for database keys, API resources, test data or file names. Generate one or up to 1,000 at a time, in version 4 (random) or version 7 (time-ordered).

No data needed

Loading…

How to use

  1. Choose version 4 or 7.
  2. Set how many you need.
  3. Click Generate and copy the list.

How it works

UUID v4 contains 122 random bits from your browser's cryptographically secure generator; the chance of two ever colliding is negligible (you would need to generate about 2.7 quintillion to reach a 50% chance of one duplicate).

UUID v7, standardised in RFC 9562 (2024), starts with a 48-bit Unix timestamp in milliseconds followed by random bits. IDs created later sort after earlier ones, which keeps database indexes compact and fast.

Examples

v4
3f1c1b6e-8d0a-4b8c-9f1e-2a7d4c5b6e7f — the “4” in the third group marks the version.

Common uses

  • Primary keys in databases
  • Idempotency keys and request IDs
  • Unique file names and test fixtures

Privacy & security

This tool does not take any personal data or files. Results are generated on your device. How each tool handles files

Frequently asked questions

Should I use v4 or v7?

Use v7 for database primary keys (better index performance) and v4 when the ID must not reveal when it was created.

What is a GUID?

GUID is Microsoft's name for the same 128-bit identifier. The values are interchangeable.

Last updated: