GUID / UUID Generator
Generate universally unique identifiers (UUIDs/GUIDs) instantly. Supports UUID v1, v4, and multiple output formats.
What is a UUID?
A UUID (Universally Unique Identifier) or GUID (Globally Unique Identifier) is a 128-bit identifier that is unique across space and time. UUIDs are used in databases, distributed systems, and anywhere you need a unique identifier without central coordination.
UUID Versions
- v1: Time-based, includes timestamp and MAC address
- v4: Random, most commonly used
- Nil: All zeros, represents "no UUID"
- Max: All ones (f's), maximum value
UUID Format
UUIDs follow the format: xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx where M indicates the version and N indicates the variant.
Common Uses
- Database primary keys
- Session identifiers
- API request tracking
- Distributed system coordination
How to generate a UUID
- Pick a version. UUID v4 is random and is the right default for most work. UUID v1 is time-based. Nil gives the all-zero UUID and Max gives the all-f UUID, which are handy as placeholders.
- Pick an output format: lowercase, UPPERCASE, wrapped in braces (the style many Windows and .NET tools show), or prefixed with
urn:uuid:. - Pick a quantity from 1 to 100 and generate. Each identifier is created in your browser, not by a server.
- Copy a single value, copy the whole list as one line per UUID, or remove the ones you do not need.
Where generated UUIDs are useful
- Test data and fixtures: generate a batch of IDs for seed files, mock API responses, or database rows without hand-typing them.
- Database keys: UUIDs let several services create records independently without asking a central counter for the next number.
- Request and trace IDs: tag a request with a UUID so you can follow it across logs.
- Placeholders: use the Nil UUID to represent "no value" in a schema or a test case.
GUID and UUID mean the same thing: GUID is the name Microsoft uses, UUID is the name used in the standard. If you only need one random value fast, the Random UUID Generator is quicker. If your tests rely on generated IDs, DebuggAI's AI Test Suites and PR Copilot can generate and run browser tests for you, and the JSON Formatter helps tidy the fixtures.
Need something simpler? Try our Random UUID Generator. Or decode tokens with our JWT Decoder.