stakritools
Developer
  • Base64 Encoder/Decoder
  • Color Picker & Converter
  • CSS Minifier
  • CSV to JSON Converter
  • Hash Generator
  • HTML Minifier
  • JS Minifier
  • JSON Formatter & Validator
  • JSON to CSV Converter
  • JWT Decoder
  • Markdown Editor
  • Password Generator
  • Regex Tester
  • SQL Formatter
  • Unix Timestamp Converter
  • URL Encoder/Decoder
  • UUID Generator
  • XML Formatter
  • YAML Formatter
View all
Image
  • Favicon Generator
  • Image Compressor
  • Image Cropper
  • Image Flipper
  • Image Resizer
  • Image Rotator
  • Image to Base64
  • JPG to PNG Converter
  • PNG to JPG Converter
  • QR Code Generator
  • SVG to PNG Converter
  • Watermark Image
  • WebP Converter
View all
SEO
  • FAQ Schema Generator
  • Meta Description Generator
  • Open Graph Generator
  • Robots.txt Generator
  • SEO Site Auditor
  • SERP Preview
  • Slug Generator
  • Twitter Card Generator
View all
Text
  • Case Converter
  • Find and Replace
  • Lorem Ipsum Generator
  • Random Text Generator
  • Remove Duplicate Lines
  • Remove Extra Spaces
  • Text Diff Checker
  • Word Counter
View all
Calculator
  • Age Calculator
  • BMI Calculator
  • Compound Interest Calculator
  • Date Difference Calculator
  • Discount Calculator
  • EMI Calculator
  • GST Calculator
  • Income Tax Calculator
  • Loan Calculator
  • Percentage Calculator
  • SIP Calculator
  • Tip Calculator
  • Unit Converter
View all
Blog
stakritools

205+ free, browser-based tools for developers, marketers, and creators — no sign-up, no clutter.

Developer Tools

  • Base64 Encoder/Decoder
  • Color Picker & Converter
  • CSS Minifier
  • CSV to JSON Converter
  • Hash Generator
  • HTML Minifier
  • JS Minifier
  • JSON Formatter & Validator
  • JSON to CSV Converter
  • JWT Decoder
  • Markdown Editor
  • Password Generator
  • Regex Tester
  • SQL Formatter
  • Unix Timestamp Converter
  • URL Encoder/Decoder
  • UUID Generator
  • XML Formatter
  • YAML Formatter

Image Tools

  • Favicon Generator
  • Image Compressor
  • Image Cropper
  • Image Flipper
  • Image Resizer
  • Image Rotator
  • Image to Base64
  • JPG to PNG Converter
  • PNG to JPG Converter
  • QR Code Generator
  • SVG to PNG Converter
  • Watermark Image
  • WebP Converter

SEO Tools

  • FAQ Schema Generator
  • Meta Description Generator
  • Open Graph Generator
  • Robots.txt Generator
  • SEO Site Auditor
  • SERP Preview
  • Slug Generator
  • Twitter Card Generator

Text Tools

  • Case Converter
  • Find and Replace
  • Lorem Ipsum Generator
  • Random Text Generator
  • Remove Duplicate Lines
  • Remove Extra Spaces
  • Text Diff Checker
  • Word Counter

Calculator Tools

  • Age Calculator
  • BMI Calculator
  • Compound Interest Calculator
  • Date Difference Calculator
  • Discount Calculator
  • EMI Calculator
  • GST Calculator
  • Income Tax Calculator
  • Loan Calculator
  • Percentage Calculator
  • SIP Calculator
  • Tip Calculator
  • Unit Converter

Company

  • Blog
  • About
  • Privacy Policy
  • Contact
© 2026 stakritools. All rights reserved.
  1. Home
  2. Developer
  3. UUID Generator
Developer

UUID Generator

Generate UUID v1, v4, v5, and v7 identifiers in bulk (up to 100 at once). Choose uppercase or lowercase, with or without hyphens, or generate the Nil UUID.

Try:

Fully random

How To Use

  1. 1.Choose a UUID version: v1 (timestamp-based), v4 (fully random), v5 (deterministic, name-based), v7 (timestamp-ordered), or Nil (all-zero) — see the version guide below if you're unsure.
  2. 2.For v5, provide a namespace UUID (a standard one is pre-filled) and a name — the same namespace and name combination will always produce the same UUID.
  3. 3.Set how many UUIDs to generate at once, from 1 up to 100, and toggle uppercase and hyphens to match the format your system expects.
  4. 4.UUIDs regenerate automatically whenever you change a setting, or click Generate New to get a fresh batch without changing any settings.
  5. 5.Copy any UUID individually, copy the full list, or download it as a text file — useful for seeding a database or generating test fixtures in bulk.

Examples

Single v4
The most common case: one fully random v4 UUID, suitable for almost any general-purpose unique identifier need.
Bulk 10× v4
Ten random v4 UUIDs at once, useful for quickly seeding test data or generating IDs for a batch of new records.
Timestamp-ordered v7
A v7 UUID, which sorts chronologically by creation time — ideal for database primary keys where insertion order matters for indexing performance.
Nil UUID
The special all-zero UUID, often used as a sentinel value meaning 'no ID' or 'not set' in systems that expect a UUID type.
Deterministic v5
Switch to v5 mode and try entering the default DNS namespace with a name like 'example.com' to see how the exact same inputs always produce the exact same UUID.

About UUID Generator

What is a UUID?

A UUID (Universally Unique Identifier), also called a GUID (Globally Unique Identifier) in Microsoft ecosystems, is a 128-bit identifier formatted as a 36-character string of hexadecimal digits arranged in five groups separated by hyphens, like 550e8400-e29b-41d4-a716-446655440000. It's designed to be generated independently, by different systems, in different locations, at different times, without any central coordinating authority — and still be, for all practical purposes, guaranteed unique.

UUIDs are standardized in RFC 9562 (which superseded RFC 4122), and are used everywhere unique identification matters without relying on an auto-incrementing counter from a single database: primary keys in distributed databases, session tokens, API request IDs for tracing and logging, device identifiers, and object references in countless software systems. Unlike a simple incrementing integer ID, a UUID doesn't reveal how many records exist or in what order they were created (except for the newer time-ordered versions, which deliberately expose creation order as a feature), and can be generated safely offline or across multiple servers without any risk of collision.

UUID v1 vs v4 vs v5 vs v7 Explained

UUID v1 combines the current timestamp (to 100-nanosecond precision) with a 'node' identifier, historically the computer's MAC address, though modern implementations (including this tool) typically substitute a random number for privacy, since embedding a real MAC address can leak information about the machine that generated the ID. v4 is the simplest and most widely used version: 122 bits of cryptographically random data, with no embedded information whatsoever — just pure randomness, which is why it's the default choice for most general-purpose use cases.

v5 is deterministic rather than random: it's a SHA-1 hash of a namespace UUID plus a name string you provide, meaning the exact same namespace and name will always produce the exact same UUID, every time, on any system — useful when you need a stable, reproducible ID derived from existing data rather than a random one. v7, the newest version (standardized in 2024), combines a Unix millisecond timestamp with random bits, similar in spirit to v1 but using a modern timestamp format and no node identifier — its key advantage is that v7 UUIDs sort chronologically by creation time, which dramatically improves database index performance compared to the effectively-random ordering of v4.

UUID Use Cases in Software

UUIDs solve a specific coordination problem: generating unique identifiers across multiple systems, servers, or offline clients without needing to check with a central authority first. Distributed databases use UUIDs as primary keys specifically because multiple database nodes can generate IDs independently and merge their data later without any risk of two records accidentally sharing the same ID — something an auto-incrementing integer can't safely do across multiple write nodes. API design commonly uses UUIDs for request IDs and trace IDs, since they let you correlate a single request across dozens of microservices in a distributed system's logs without any service needing to coordinate ID generation with the others.

Other common uses include session tokens and API keys, object storage keys (like S3 bucket file names), device and installation identifiers for analytics, feature flag and A/B test bucketing, and idempotency keys that let a client safely retry a failed API request without accidentally processing it twice. Anywhere you need an identifier that's guaranteed unique without a central sequence generator, a UUID is almost always the right default choice.

Are UUIDs Truly Unique?

Not with mathematical certainty, but close enough that collisions are considered a non-issue in virtually every real-world scenario. A v4 UUID has 122 bits of randomness, giving roughly 5.3 × 10³⁶ possible values — to put that in perspective, you'd need to generate around 1 billion UUIDs per second for about 85 years before there's just a 50% chance of a single collision occurring anywhere in that entire set, a scenario so far beyond any realistic application's actual UUID generation volume that it's treated as effectively impossible in practice.

The 'universally unique' guarantee is therefore probabilistic, not absolute — but the probability is so astronomically small that essentially every major database, cloud platform, and software system treats UUID collisions as a non-concern. The one caveat worth knowing: v5's uniqueness depends entirely on your namespace-plus-name combination being unique, since it's deterministic rather than random — generate v5 UUIDs from duplicate namespace/name pairs and you will, correctly and predictably, get duplicate UUIDs back, which is the expected behavior, not a flaw.

FAQs

UUID v1 combines a timestamp with a node identifier (traditionally a MAC address, though this tool substitutes a random value for privacy) — it's rarely used today because it can leak timing and machine information. v4 is fully random, using 122 bits of cryptographic randomness with no embedded information at all, making it the simplest and most widely adopted choice for general-purpose unique IDs. v5 is deterministic: it's a SHA-1 hash of a namespace UUID and a name you provide, so the same inputs always produce the same output, which is useful for generating stable, reproducible IDs from existing data rather than random ones. v7 is the newest standard, combining a millisecond-precision Unix timestamp with random bits, and its defining advantage is that v7 UUIDs sort chronologically, which significantly improves index performance in databases compared to the random ordering of v4.

Yes, for the versions where security matters. v4 and v7 use your browser's Web Crypto API (crypto.getRandomValues), a cryptographically secure random number generator suitable even for security-sensitive contexts, rather than the weaker Math.random(), which is fast but predictable and unsuitable for anything requiring genuine unpredictability. v1 also incorporates randomness for its node identifier in this implementation. v5, by contrast, is deterministic by design — it doesn't use randomness at all, since its entire purpose is to reliably produce the same output for the same namespace-and-name input, so 'security' in the randomness sense doesn't apply to it the way it does to v4 or v7. Regardless of version, generation happens entirely inside your browser, with nothing transmitted to or stored on a server at any point.

This is expected, correct behavior, not a bug. v5 is a deterministic hash function: it takes your namespace UUID and name string as input and always produces the exact same 128-bit output for that exact same input, using the SHA-1 hashing algorithm under the hood. If you generate a v5 UUID, then click Generate New without changing the namespace or name, you'll get back the identical UUID every time, because there's no randomness involved anywhere in the v5 algorithm — unlike v4 or v7, which draw fresh random or timestamp-based data on every call. This determinism is actually the entire point of v5: it lets you derive a stable, predictable, always-reproducible UUID from something like a domain name or email address, so two different systems processing the same input independently will always arrive at the identical UUID without needing to communicate.

Yes — use the Hyphens and Uppercase toggles above the generated list. Turning Hyphens off strips the four hyphen separators, converting a UUID like 550e8400-e29b-41d4-a716-446655440000 into the 32-character unhyphenated form, which some systems and database column formats expect. Turning Uppercase on converts all hexadecimal letters (a–f) to their uppercase equivalents (A–F); the underlying value is completely unaffected either way, since hexadecimal digits are case-insensitive by definition. Both toggles apply instantly to whatever UUIDs are currently displayed and to every UUID generated afterward, so you can switch formats freely without needing to regenerate.

For most general-purpose needs — API keys, object identifiers, session tokens, anything that just needs to be unique — v4 is the safe, simple default, and it's what this tool starts with. If you're specifically generating primary keys for a database table that will be queried and indexed heavily, consider v7 instead: its timestamp-ordered structure means new rows insert near the end of the index rather than scattered randomly throughout it, which meaningfully improves insert and query performance at scale compared to v4, a benefit that's driven a lot of database systems to recommend v7 for new schemas since its 2024 standardization. Reach for v5 specifically when you need the same input to always produce the same output, and v1 essentially only for compatibility with older systems that specifically expect it.

A namespace in UUID v5 is itself just another UUID that acts as a 'category' or context for the name you're hashing, ensuring that the same name used in two different contexts produces two different UUIDs rather than colliding. The RFC defines four standard, pre-registered namespace UUIDs for common cases — DNS (for domain names), URL (for full URLs), OID (for object identifiers), and X.500 DN (for directory names) — and this tool defaults to the DNS namespace, prefilled in the Namespace field. You can also generate and use your own custom namespace UUID (for example, one generated using v4) if you want a private namespace specific to your own application, ensuring your v5 UUIDs never collide with anyone else's v5 UUIDs generated from the same name string under the standard namespaces.

No — a UUID, even a random v4 one, is not designed or suitable as a password or secret token, despite superficially looking like a long random string. UUIDs are meant to be identifiers, not secrets: many systems log, display, or embed UUIDs in URLs and API responses on the assumption that they're not sensitive, which means a UUID used as a secret could easily leak through logs, browser history, or referrer headers. Additionally, while v4 UUIDs do use 122 bits of randomness, the format itself reserves several bits for version and variant markers, slightly reducing the effective randomness compared to a purpose-built secret generated by a dedicated tool like this site's Password Generator, which is specifically designed and intended for generating values meant to stay confidential.

100 per batch, generated with fresh, independent randomness (or timestamp/hash computation, depending on version) for each one — there's no artificial restriction beyond that cap, which exists mainly to keep the results list manageable and quick to scroll through rather than any technical limitation. If you need more than 100, simply generate multiple batches of 100 and combine the downloaded text files, since UUIDs from separate v4 or v7 batches are just as independently unique as UUIDs generated within a single batch, with no coordination needed between batches to maintain uniqueness.

Related Tools

UUID Generator covers one kind of identifier. These related developer tools handle passwords, hashes, and encoded tokens you'll often need alongside unique IDs.

Password Generator
DeveloperGenerate cryptographically secure passwords — a different tool for a different job: UUIDs identify, passwords protect.
Hash Generator
DeveloperGenerate MD5, SHA-1, or SHA-256 hashes of any text, the same hashing family that powers UUID v5 under the hood.
JWT Decoder
DeveloperDecode a JSON Web Token to inspect its claims — JWTs often embed a UUID as the token's unique jti (JWT ID) claim.
Base64 Encoder/Decoder
DeveloperEncode or decode Base64 strings, useful when a UUID needs to be embedded inside a larger encoded payload or token.