Processed entirely in your browser. Your input is not uploaded.

UUID Generator

Generate cryptographically secure bulk UUID v4 (random) and UUID v7 (time-ordered) identifiers. Bulk export as Plain Text, JSON array, SQL values, or CSV.

Last updated November 12, 2026

Loading tool workspace…

Overview

Generates universally unique 128-bit identifiers conforming to RFC 4122 (Version 4 Random CSPRNG) and RFC 9562 (Version 7 Unix Millisecond Timestamp). Export single keys or bulk batches as plain text, JSON arrays, SQL INSERT values, or CSV lists for database seeding and API development.

How it works

UUID v4 relies on 122 bits of cryptographic entropy generated via browser crypto.randomUUID (CSPRNG). UUID v7 combines a 48-bit big-endian Unix epoch millisecond timestamp with 74 bits of pseudo-random entropy. Because the timestamp occupies the most significant bits, UUID v7 values sort chronologically, preventing B-tree index fragmentation in high-throughput databases (PostgreSQL, MySQL, SQLite).

How to use the UUID Generator

1

Select Specification

Choose RFC 4122 Version 4 (Random) or RFC 9562 Version 7 (Time-Ordered).

2

Set Quantity & Options

Choose quantity (1 to 50) and toggle uppercase or hyphen formatting.

3

Copy or Download

Copy as Plain Text, JSON Array, SQL VALUES, or CSV, or download as .txt or .json.

When to use it

  • Creating sortable primary keys for database tables without B-tree page splits (UUID v7).
  • Generating cryptographically unpredictable request, session, or idempotency keys (UUID v4).
  • Exporting seed data directly into SQL INSERT queries or JSON fixtures.

Examples

UUID v4 (Random)

Input
CSPRNG entropy
Output
3f2504e0-4f89-41d3-9a0c-4ffd5651f123

Groups of 8-4-4-4-12 hex digits. The '4' starting group 3 marks RFC 4122 version 4.

UUID v7 (Time-Ordered)

Input
Epoch ms + entropy
Output
018db745-f02a-7f31-8e42-9b2f638101a9

The first 12 hex digits encode the current Unix millisecond timestamp; group 3 starts with '7'.

Key Features & Accuracy

Dual UUID Specifications

Supports both classic Version 4 random keys and modern Version 7 millisecond timestamped keys.

Developer Export Formats

Instant one-tap export to JSON arrays, SQL INSERT values, CSV lists, and downloadable files.

Limitations & important notes

crypto.randomUUID and crypto.getRandomValues are only available over HTTPS or localhost. In insecure contexts the tool falls back to pseudo-random numbers.
UUID v7 exposes creation time down to the millisecond in the first 48 bits, which may reveal generation order if used in public, secrecy-dependent tokens.

Frequently Asked Questions

UUID v4 is entirely random (122 random bits). UUID v7 begins with a 48-bit Unix millisecond timestamp followed by random bits, making it monotonically sortable and much faster for database indexing.