Skip to content
ToolSprint

UUID Generator

Generate random version 4 UUIDs in bulk.

Loading tool…

UUIDs are generated locally with crypto.randomUUID or crypto.getRandomValues. They are not sent anywhere or recorded, so no one else knows which IDs you generated.

What is the UUID Generator?

The UUID Generator creates random version 4 UUIDs (also called GUIDs) using your browser's cryptographically secure random number generator. Generate one or up to 1,000 at a time and format them in lowercase, uppercase, without hyphens or wrapped in braces.

Who is the UUID Generator for?

  • Developers who need test IDs or primary keys.
  • QA engineers creating sample data.
  • Anyone who needs unique random identifiers in bulk.

Key features

  • Version 4 UUIDs from the browser's secure random generator.
  • 1 to 1,000 per batch.
  • Formatting options such as uppercase, braces and hyphens; copy all or download as text.

Why use it?

UUIDs are used as database keys, request IDs, file names and test fixtures because they can be created independently on any machine with a negligible chance of collision.

How to use the UUID Generator

  1. Enter how many UUIDs you need.
  2. Click Generate.
  3. Adjust formatting options; the list updates without generating new values.
  4. Copy all or download them as a text file.

Examples

Seeding test data

Generate 100 UUIDs and paste them into a CSV to give each test record a unique ID.

Windows registry style

Tick Uppercase and braces to get the {XXXXXXXX-XXXX-…} form used by some Microsoft tools.

Supported formats and inputs

  • Output: RFC 4122 / RFC 9562 version 4 UUIDs, 1 to 1,000 per batch.

Limitations to know about

  • Only version 4 (random) UUIDs are generated. Time-ordered versions such as v7 are not currently offered.

Privacy

UUIDs are generated locally with crypto.randomUUID or crypto.getRandomValues. They are not sent anywhere or recorded, so no one else knows which IDs you generated.

Frequently asked questions

Can two UUIDs ever be the same?

In theory yes, but with 122 random bits the probability is so small that it can be ignored for practical purposes.

Are these UUIDs safe to use as secrets?

They are generated from a secure random source, but UUIDs are designed as identifiers. Use dedicated token generation for security tokens.

What is the difference between a UUID and a GUID?

They are the same thing. GUID is the name Microsoft uses; UUID is the name used in the RFC standards. Both are 128-bit identifiers written as 32 hexadecimal digits.

Are UUID v4 values good database primary keys?

They work well when IDs must be created on many machines without coordination. Because they are random, they can fragment some database indexes; time-ordered UUIDs (v7) reduce that effect for very large tables.

How do I validate a UUID?

A version 4 UUID has the form 8-4-4-4-12 hex digits, the 13th digit is always 4, and the 17th digit is 8, 9, a or b.

Hash Generator

MD5, SHA-1, SHA-256, SHA-384 and SHA-512 for text or files.

Timestamp Converter

Convert Unix timestamps to dates and back.

Base64 Encoder/Decoder

Encode and decode Base64 text and files, UTF-8 safe.

JSON Formatter

Pretty-print or minify JSON with custom indentation.

Browse all developer tools →