Skip to content
everylittletool

UUID Generator

Generate random v4 or time-ordered v7 UUIDs, one or a thousand at a time.

Runs in your browser — nothing is uploaded

Version

0 UUIDs (v4)

    How to use UUID Generator

    1. 1

      Choose v4 (random) or v7 (time-ordered) under Version.

    2. 2

      Enter How many you need, up to 1,000.

    3. 3

      Tick Uppercase or No hyphens if your system expects that format.

    4. 4

      Click Copy all or Download .txt, or Generate new for a fresh batch.

    About this tool

    A UUID (universally unique identifier, also called a GUID) is a 128-bit value written as 32 hexadecimal digits in five groups, such as 3f2b8c1e-9a4d-4e7b-b1c2-5d6e7f8a9b0c. Version 4 UUIDs fill 122 of those bits with random data; the other six mark the version and variant. This tool uses the browser's crypto.randomUUID where available and falls back to crypto.getRandomValues.

    Version 7, defined in RFC 9562, starts with a 48-bit Unix timestamp in milliseconds, followed by random bits. Because the time comes first, v7 UUIDs sort in creation order, which keeps database indexes compact and makes inserts faster than with random v4 keys. When several are made in the same millisecond, this generator uses a 12-bit counter so the batch stays in order.

    The chance of two v4 UUIDs colliding is negligible: you would need to generate about 2.7 quintillion of them for a 50% chance of a single duplicate. Nothing you generate here leaves your device.

    Questions people ask

    What is the difference between UUID v4 and v7?

    v4 is entirely random apart from the version bits. v7 begins with a millisecond timestamp, so values created later sort after earlier ones, which suits database primary keys.

    Is a GUID the same as a UUID?

    Yes. GUID is Microsoft's name for the same 128-bit identifier format. Some Microsoft tools show GUIDs in uppercase, which you can match with the Uppercase option.

    Can two UUIDs ever be the same?

    In theory yes, in practice no. With 122 random bits, the odds of a duplicate are far smaller than the odds of a hardware error.

    Does removing hyphens change the UUID?

    No. The hyphens are only formatting; the 32 hex digits are the value. Many databases and APIs accept either form.