UUID Generator
Generate universally unique identifiers (UUIDs) in v1, v4, and v7 formats with batch output up to 1000 at a time. All random bytes are sourced from the Web Crypto API, and v7 output preserves chronological sort order for use as time-ordered database keys.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
This UUID generator produces universally unique identifiers (UUIDs), 128-bit values written as 32 hexadecimal characters in the 8-4-4-4-12 pattern, one at a time or in batches, then applies casing, hyphen, brace, and quote formatting so the result drops straight into code, SQL seed scripts, or configuration files. A UUID is unique enough in practice that independently generated values do not collide, even without a central registry issuing them. Version 4 draws entirely from cryptographic randomness. Version 1 encodes a timestamp together with a node identifier that traditionally comes from a network MAC address, simulated here since a browser has no such address to read. Version 7 places a Unix millisecond timestamp in the leading bits, followed by random fill, so a batch of version 7 values sorts in creation order and can serve as a database primary key that also carries insertion order, without a separate auto-increment column.
A single batch can hold up to 1000 UUIDs. Formatting options adapt the output to its destination: uppercase hex matches Windows GUID and COM class-identifier conventions, removing hyphens yields a compact 32-character string, wrapping in braces produces the {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} form required by COM and .NET identifiers, and wrapping in quotes turns each value into a ready string literal. A batch can be separated by a newline, comma, semicolon, or space to match the destination format, whether that is a SQL insert list, a CSV column, or one identifier per line in a configuration file.
Each UUID follows the standard format of 8-4-4-4-12 hexadecimal characters separated by hyphens, for example xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. The version digit appears in the third group, and the variant bits occupy the fourth group. All random bytes are sourced from the Web Crypto API for high-quality randomness.
UUIDs serve as collision-resistant identifiers across a wide range of software engineering and data management scenarios. Below are practical applications where this UUID generator provides immediate value.
- Database Development: Generate primary keys for relational or document databases during schema design. Produce 50 v4 UUIDs to seed a test table with realistic row identifiers before running integration tests.
- API Testing: Create unique request identifiers and correlation IDs for tracing API calls through microservice architectures. Generate v7 UUIDs to maintain chronological sort order in log aggregation systems.
- Configuration Files: Produce braces-wrapped UUIDs in uppercase format for use in Windows registry entries, COM class identifiers, or .NET assembly GUIDs that require the {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} format.
- Distributed Systems: Assign unique node identifiers and partition keys in distributed databases, message queues, and event-driven architectures where coordination between services is minimal.
- Data Migration: Generate replacement identifiers when merging datasets from multiple sources that may have conflicting integer-based primary keys. Export a batch of 1000 UUIDs as a comma-separated list for bulk SQL insert statements.
- Mobile Development: Create device installation identifiers, session tokens, and anonymous analytics IDs that do not rely on hardware identifiers or personal information.
- Game Development: Assign unique identifiers to game objects, save files, multiplayer session rooms, and downloadable content packages to prevent collisions across player bases.
Inputs, outputs, and what the UUID Generator computes
What the UUID Generator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.
Inputs
- UUID Version · default: Version 4 (Random)
- Quantity (numeric input) · default: 1 · range: 1 to 1000
- Uppercase · default: off
- Remove hyphens · default: off
- Wrap in braces {} · default: off
- Wrap in quotes "" · default: off
- Separator · default: New line
- Generated UUID values
Controls
Generate · Reset · Copy to Clipboard