Skip to main content

UUID Generator

Generate UUID v1, v4, and v5 online for free. Copy unique identifiers in bulk. Private UUID generator — no data is sent to our servers.

Options
Result

What Is a UUID?

A UUID (Universally Unique Identifier), also known as a GUID (Globally Unique Identifier) in Microsoft ecosystems, is a 128-bit label standardized by RFC 4122 and later adopted by ISO/IEC 9834-8. The format defines a sequence of 32 hexadecimal digits grouped into five segments separated by hyphens — for example, 550e8400-e29b-41d4-a716-446655440000 — making it immediately recognizable to developers across every platform and programming language. The Yanapex UUID Generator is a free, browser-based tool that lets you produce one or up to a hundred UUIDs instantly, with no account, no installation, and no data leaving your computer. It supports three of the most widely deployed UUID versions: v1 (time-based), v4 (random), and v5 (name-based using a namespace and SHA-1 hash). UUID version 1 is generated from the current timestamp combined with the MAC address of the generating machine, or a random node value when the MAC address is unavailable. Because it encodes the creation time, v1 UUIDs carry temporal information that can be decoded later, which is useful for time-ordered records. However, this also means two v1 UUIDs generated on the same machine in rapid succession will be very close in value, and the MAC address embedding raises privacy considerations in some contexts. UUID version 4 is the most widely used variant. It is generated entirely from cryptographically secure random numbers, with only a few bits reserved to mark the variant and version. Because the remaining 122 bits are random, the probability of generating the same v4 UUID twice across all systems in all of recorded history is so vanishingly small that collision is a practical non-issue for virtually any application. UUID version 5 uses a combination of a namespace identifier and a user-supplied name string to deterministically produce a UUID via SHA-1 hashing. The same namespace and name always produce the same UUID, making v5 ideal for scenarios where you need repeatable, stable identifiers derived from a fixed input — such as assigning a permanent ID to a resource based on its canonical URL. The tool also exposes formatting controls: you can strip the hyphens to produce a compact 32-character hex string commonly used in database column definitions and some REST API formats, or switch the output to uppercase letters, which some legacy systems and Microsoft SQL Server environments traditionally expect. Developers, database architects, backend engineers, DevOps professionals, QA testers, students learning API design, and content creators building structured workspaces all rely on UUIDs as the backbone of distributed systems where multiple nodes must assign identifiers independently without coordinating through a central registry.

How to Use the UUID Generator

Using the Yanapex UUID Generator is straightforward, but understanding what each control does will help you get exactly the output your workflow requires. Start by selecting the UUID version from the version selector at the top of the tool. Three options are available: v1 (time-based), v4 (random), and v5 (namespace and name). For most general-purpose development tasks — creating test fixtures, seeding databases, generating primary key values for a new table — v4 is the right choice because its randomness requires no additional input and produces identifiers that are immediately usable. Choose v1 when you need identifiers that can be sorted or inspected chronologically, or when you are working in a system that explicitly requires time-based UUIDs. Choose v5 when you need a deterministic UUID derived from a consistent namespace and a specific name string. When you select v5, two additional fields appear: a namespace selector where you can choose from the standard options (DNS, URL, OID, and X500) or supply a custom namespace UUID, and a name field where you type the input string whose corresponding UUID you want to compute. Next, use the quantity slider or the numeric input field to choose how many UUIDs you want to generate at once. The tool supports between 1 and 100 UUIDs per request. If you need a large batch for test data, set this to 100 and click Generate to produce a full set instantly. The formatting options sit below the version selector. The hyphens toggle controls whether the output uses the five-group hyphenated format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or a compact 32-character hex string without any separators. Most programming libraries and REST APIs accept both forms; strip the hyphens if your database schema stores UUIDs as CHAR(32) rather than CHAR(36), or if your wire protocol expects a raw hex string with no punctuation. The case toggle switches output between lowercase — the canonical form specified in RFC 4122 and the default expected by most JSON APIs and PostgreSQL uuid columns — and uppercase, which is preferred by legacy Microsoft tooling, MSSQL stored procedures, and certain enterprise middleware platforms. Once you click the Generate button, the results appear in the output area below. Each UUID is displayed on its own line. Next to every individual UUID there is a copy icon that transfers that single value to your clipboard — useful when you need one specific ID in one specific place in your code or configuration. Above the output area, the Copy All button transfers the entire batch to your clipboard as newline-separated values, ready to paste into a spreadsheet, a SQL INSERT statement, a Postman environment file, or a JSON fixture. If you need to persist the batch to disk, the Download button exports the results as a plain text file. A practical tip: if you are generating UUIDs for use in TypeScript or JavaScript, leave the format set to lowercase with hyphens, which matches the default output of the most commonly used uuid npm package functions. This ensures your test data is formatted identically to what your production code generates, avoiding subtle comparison bugs when UUIDs are checked as strings.

Why Use UUIDs?

The most obvious alternative to an online UUID generator is to use a programming library in the language you are already working in: the uuid package in Node.js, java.util.UUID in Java, uuid.uuid4() in Python, or the Guid class in C#. Those work well when you are already inside a coding environment, but they require you to write a small script, open a REPL, or start a terminal just to produce a handful of identifiers. For a developer who is writing documentation, filling in a Notion template, configuring a Postman environment, or mocking data for a Figma prototype, that detour into a terminal is unnecessary friction. The Yanapex UUID Generator removes that friction entirely: open the browser tab you likely already have, generate what you need, and copy it. The privacy argument for browser-side generation is particularly meaningful for UUIDs. Because v1 UUIDs may encode MAC address information, and because UUIDs are frequently used as session tokens, API keys, correlation IDs, and internal record identifiers, generating them through a third-party web service means transmitting potentially sensitive context — the shape of your system's identifier space — to an external server whose logging and data retention practices you do not control. The Yanapex tool runs entirely in your browser using the Web Crypto API and standard JavaScript. No UUID you generate is ever sent to any server, stored in any database, or written to any log. For QA engineers and developers writing integration tests, the ability to generate up to 100 UUIDs with a single click and download them as a plain text file is a genuine time-saver. Seeding a test database with realistic foreign key values, preparing fixtures for an API contract test suite, or generating a block of correlation IDs to inject into log search queries are all tasks that become trivial with batch generation rather than manual scripting. The formatting options carry real practical value. Many database schemas store UUIDs as CHAR(32) without hyphens rather than CHAR(36) to reduce storage costs and index size in high-volume tables. Being able to toggle the format without post-processing the output in a text editor or reaching for a sed command saves time and eliminates transcription errors. Similarly, the uppercase option means teams working with MSSQL or legacy enterprise systems can produce correctly formatted identifiers without reformatting them downstream. For students encountering distributed systems or REST API design for the first time, a visual tool that shows what different UUID versions look like side by side is a concrete learning aid. Seeing the version and variant bits in their correct positions within actual generated output — and understanding why v4 requires no input while v5 requires both a namespace and a name — makes abstract RFC text immediately tangible.

Common Use Cases

A back-end developer building a REST API in Node.js with Express decides to use v4 UUIDs as primary keys for a users table instead of auto-incrementing integers, which would expose record counts in URLs and complicate multi-region database setups. Before writing the schema migration, she opens the Yanapex tool, generates ten sample v4 UUIDs, and pastes them into her Postman collection as example resource IDs to document the expected format for her front-end colleague. A DevOps engineer at a SaaS company is authoring a Terraform infrastructure deployment that provisions dozens of S3 bucket suffixes and IAM role tags that must be globally unique across environments. He generates a batch of 50 v4 UUIDs from the Yanapex tool, downloads the text file, and pulls values from it during dry-run testing before wiring the final generation logic into the Terraform random_uuid resource for production. A QA automation engineer is building a Cypress end-to-end test suite for an e-commerce platform. Each test run needs to create user accounts that have never existed before, to avoid state pollution from previous runs. She generates 100 v4 UUIDs from the Yanapex tool and uses them as unique email address prefixes in her fixtures file, guaranteeing clean, collision-free test identities across the entire CI pipeline. A database architect at a healthcare company is migrating from a monolithic SQL Server application to a distributed microservices architecture. The legacy system used GUIDs formatted in uppercase with no hyphens inside stored procedures. He enables the uppercase and no-hyphen toggles in Yanapex to generate sample identifiers that exactly match the legacy format, allowing him to write and validate data migration scripts without spinning up a full SQL Server instance just to produce test values. A content creator building a structured Notion workspace for a consulting firm needs stable reference codes for each service offering and project template. She uses v5 UUIDs with the URL namespace, entering each service name as the input string. Because v5 is deterministic, she obtains the same UUID every time she types the same service name — meaning she can regenerate identifiers months later without maintaining a separate lookup table or risking reference drift. A mobile game developer working in Unity needs to assign unique IDs to in-game items, achievements, and player profile records during the design phase, before the back-end database schema has been finalized. He generates batches of v4 UUIDs using the Yanapex tool, copies them into a design spreadsheet shared with the art team, and uses them as placeholder IDs in Unity ScriptableObject assets so that all serialized references are already globally unique when the real database is eventually connected. A computer science student preparing a presentation on distributed systems needs to demonstrate UUID collision probability and version differences to classmates. She uses the Yanapex tool to generate multiple batches of v4 and v1 UUIDs side by side, showing how the time-encoded prefix in v1 makes successive identifiers visually similar while v4 values appear completely independent. The visual comparison makes the RFC 4122 specification concrete in a way that reading the document alone does not. A security researcher writing a proof-of-concept report for an insecure direct object reference vulnerability assessment needs realistic-looking UUID-based API endpoint paths to include as examples in the written findings. He generates a set of properly formatted v4 UUIDs from the Yanapex tool and uses them as example vulnerable resource URLs in his report, ensuring the documentation looks authentic and correctly formatted without accidentally including real identifiers from the client's production environment.

Y
Yanapex

Yanapex provides free online tools to solve everyday problems. No signup required, privacy-focused, just tools that work.

Language

© 2026 Yanapex. All rights reserved.