UUID Generator

Random version 4 UUIDs, one to 100 at a time.

Version 4 UUIDs

    About this tool

    A UUID, also called a GUID, is a 128-bit identifier written as 32 hexadecimal digits in five groups, such as 123e4567-e89b-42d3-a456-426614174000. Developers use them as database keys, request IDs and file names because they can be generated anywhere without a central counter and are extremely unlikely to collide. This tool generates version 4 UUIDs, which are random, using the cryptographic random generator built into your browser. Choose how many you need, from one to 100, press Generate again for a fresh batch and copy the whole list with one tap. The values are created on your device and are not stored or sent anywhere. Random UUIDs are unique but not secret, so do not use them as passwords or access tokens.

    How to use it

    1. Enter how many UUIDs you need, from 1 to 100.
    2. Read the list in the result panel.
    3. Press Generate again if you want a fresh batch.
    4. Tap the copy icon to copy all the values, one per line.
    5. Paste them into your database, test data or code.

    How it works

    A version 4 UUID has 122 random bits. Four bits mark the version (the digit 4 in the third group) and two bits mark the variant (the first digit of the fourth group is 8, 9, a or b). The chance of two random v4 UUIDs matching is negligible for practical purposes.

    Example: A generated value looks like f47ac10b-58cc-4372-a567-0e02b2c3d479. The 4 at the start of the third group shows it is version 4.

    Common uses

    • Creating unique primary keys for database test data.
    • Generating request or correlation IDs while debugging an API.
    • Making unique file or record names without a central counter.

    Frequently asked questions

    What is the difference between a UUID and a GUID?
    They are the same thing. GUID is the term Microsoft uses; UUID is the standard name.
    Are the UUIDs really random?
    They come from the browser's cryptographically secure generator via crypto.randomUUID.
    Can two UUIDs be the same?
    In theory yes, but the probability is so small that it is ignored in practice.
    Can I use a UUID as a secret token?
    Not recommended. A UUID is designed to be unique, not secret. Use a purpose-built secret generator for tokens.
    Does it generate other versions?
    No. This tool generates version 4 (random) UUIDs only.

    Last reviewed 2026-11-01. Browse all tools