Skip to main content

UUID generator

Create as many random UUID v4 identifiers as you need, then copy them quickly for testing, technical data, or temporary identifiers.

  • Clipboard
  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Was this tool useful?

How does this tool work?

Create between 1 and 100 version 4 UUIDs for test objects, API resources or imported records. Each request produces a new batch in your browser without contacting a remote generation service. Identifiers appear one per line and can be displayed in uppercase. Choose this version when you need independent random identifiers: a v4 UUID contains no creation date and does not put records into chronological order.

A UUID contains 128 bits and is normally written as 32 hexadecimal digits with four hyphens in groups of 8-4-4-4-12. Version 4 reserves bits for its version and variant; the remaining 122 bits are random. The third group starts with 4, and the fourth with 8, 9, a or b. These markers describe the format but do not, by themselves, prove that a generator uses good randomness.

The tool requests each value from crypto.randomUUID, the browser’s cryptographic API. It needs a compatible browser and a secure context, usually HTTPS or localhost. Quantity must be a whole number between 1 and 100: empty, fractional and out-of-range inputs are rejected. An unavailable API produces a different message from an invalid quantity.

Changing case only changes how hexadecimal letters are written; uppercase and lowercase represent the same identifier. Clicking Generate again, however, produces new values. Editing the options hides the previous list so it cannot be mistaken for a batch generated with the new settings. Save any list you need before starting another generation.

How to use this tool

  1. Set up the batch

    Enter a whole number from 1 to 100 and optionally select uppercase. This is a per-request interface limit, not a limit on the number of possible UUIDs.

  2. Generate in your browser

    Start generation on a secure page. If the browser cannot provide the API, check compatibility and the page context before trying again.

  3. Save the identifiers

    Copy or download the list before generating another batch. Output is plain text with one value per line, rather than a ready-made JSON array.

Use cases

Create test references

Assign separate identifiers to objects in a JSON fixture without reusing production keys. Put each UUID in a quoted string field rather than treating it as a number.

Prepare an import

Generate a short list for an identifier column. Check the database’s expected type and retain a uniqueness constraint when importing the records.

Identify demonstration resources

Prepare independent references for test routes or documents without exposing production environment keys.

Examples

Generate one value

Observed output from an execution; your result will differ. Here the third group begins with 4 and the fourth with b, indicating version and variant.

Input

1

Result

a63c3251-497f-4834-b013-31b606e6b306

Display two uppercase values

These are executed examples, not repeatable expected results. Uppercase changes the spelling; generating again also changes the identifiers.

Input

2

Result

44143C71-2BDD-4463-A759-E4593D1942D6
D6642C7B-EDFE-4904-9C9E-688D5A9E2C44

Tips and best practices

  • A random UUID is not an authorization check. Protect resource access even when an address contains an identifier that is hard to guess.
  • Do not replace existing system keys without updating their references: generating another list can break relationships between objects.
  • Use a native UUID database type where available; uppercase presentation does not create a different identifier type.

Sources and references

Frequently asked questions

Are all generated UUIDs guaranteed to be different?

Collisions are extremely unlikely with a correct generator, but they are not mathematically impossible. Keep a uniqueness constraint wherever your system requires one.

Can I generate v1, v5 or v7 UUIDs?

No. This interface generates v4 only. It provides neither v7 timestamps nor deterministic generation from a name and namespace.

Does uppercase change the UUID?

No. It changes its hexadecimal representation. Still check the receiving system’s text comparison rules to avoid duplicate spellings of one value.

Why does generating again change my list?

Every click requests new random values, without a configurable seed or recovery of the previous batch. Save the identifiers before running the operation again.

Related tools

Tools similar or complementary to this one.

Similar tools

Generate realistic fake datasets in JSON, CSV or SQL.

DevelopmentUse this tool

Format, minify, and validate JSON to make it easier to read or more compact.

DevelopmentFeaturedUse this tool

Encode text as Base64 or decode a Base64 string back to its original content.

DevelopmentFeaturedUse this tool