UUID Generator (v4 and v7)

Inputs

Results

A UUID (universally unique identifier, called GUID by Microsoft) is a 128-bit ID like 3f1c9a52-8d7e-4b21-9f0a-6c2e5d8b1a47. Anyone can make one without asking a central registry, and two will practically never collide.

How to use it

  1. Pick v4 or v7 and how many you need.
  2. Choose the format.
  3. Press Generate for a fresh batch, and copy.

v4 looks like xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx; v7 has a 7 in the same place and starts with the current time.

Questions and answers

v4 or v7?

v4 is fully random and the most widely supported. v7 (RFC 9562) starts with a timestamp, so new IDs sort in creation order, which keeps database indexes fast.

Can two UUIDs be the same?

In practice, no. A v4 UUID has 122 random bits; you’d need to make billions per second for many years to have a real chance of a duplicate. They come from your browser’s cryptographic random generator.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
countHow many, 1 to 500.
version4 (random) or 7 (time-ordered).
upper1 for uppercase.
hyphens1 with hyphens (default), 0 without.
braces1 to wrap each in { }.

Example: https://toolabelle.com/uuid-generator/#count=10&version=4&upper=0&hyphens=1&braces=0

Related tools