130+ free tools. No sign-up. No hidden fees. Explore the toolkit

UUID Generator

Generate random version 4 UUIDs for database keys, API tokens and test data — create one or a whole batch of 100, then copy them all at once.

Lowercase is the standard style; uppercase suits systems that expect it.

Generated UUIDs

Save to Pinterest

How It Works

A UUID (Universally Unique Identifier) is a 128-bit ID written as 32 hexadecimal digits in five groups, separated by hyphens: 8-4-4-4-12. Version 4 UUIDs are generated from random numbers, so no central registry is needed — the chance of two randomly generated UUIDs colliding is so small that, for practical purposes, every UUID is unique. That is why databases and APIs use them as primary keys and request IDs: any device can mint one without asking a server.

This generator uses your browser’s built-in cryptographic random number generator, the same source of randomness used for secure web connections, so the UUIDs are suitable for real identifiers rather than just test data. Each UUID has the version digit 4 in the third group and a variant digit of 8, 9, a or b starting the fourth group. Generation happens entirely in your browser, so your IDs are never sent anywhere.

Worked Example

A version 4 UUID looks like this: 550e8400-e29b-41d4-a716-446655440000. The third group starts with 4 (the version), and the fourth with a (the variant). Every UUID this tool generates follows the same pattern, with different random digits each time — generate a batch of 5 and you get five different IDs, one per line, ready to paste into a database, a config file or a test script.

How to Use This Tool

Choose how many UUIDs you need (from 1 to 100) and whether you want lowercase or uppercase letters, then press Generate UUIDs. The results appear one per line in the box below, with a count at the top. Press Copy All to copy the whole batch to your clipboard.

Tips and Practical Advice

Last updated: