UUID Generator
FreeGenerate one or many UUIDs at once in version 4 (random), version 7 (timestamp-ordered), version 1 (legacy), or nil, with optional uppercase, hyphen-free, braced, or urn:uuid: formatting, and inspect any existing UUID to reveal its version, variant, and embedded timestamp, all running entirely in your browser.
Runs entirely in your browser. Nothing is ever uploaded anywhere.
Recent Activity
Visible to everyone. Last 20 uses across all visitors, newest first.
Inspected a UUID
1 hour ago
Inspected a UUID
1 hour ago
Inspected a UUID
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
Generated 5 UUID(s) (v4)
1 hour ago
Generated 5 UUID(s) (nil)
1 hour ago
Generated 5 UUID(s) (v1)
1 hour ago
Generated 5 UUID(s) (v7)
1 hour ago
Generated 5 UUID(s) (v4)
1 hour ago
Generated 1 UUID(s) (v4)
1 hour ago
What this tool does
This tool generates one or many UUIDs at once in version 4 (random), version 7 (timestamp-ordered), version 1 (legacy timestamp-based), or the all-zero nil UUID, with optional uppercase, hyphen-free, braced, or urn:uuid: formatting, and can also parse any existing UUID to show its version, variant, and embedded timestamp.
How It Works
A UUID is 128 bits laid out in a fixed pattern: a few of those bits are reserved to mark the version and variant, and the rest carry either random data or, for version 1 and version 7, a timestamp. This tool fills the random bits using your browser's cryptographically secure random number generator, computes the timestamp bits directly from the current time for version 1 and version 7, sets the version and variant bits to the correct fixed values, and writes the result out in the standard 8-4-4-4-12 hexadecimal grouping before applying any formatting you chose. Inspecting a UUID simply reverses this: it reads the version and variant bits directly, and for version 1 or 7 decodes the timestamp bits back into a calendar date.
Problems it solves
- Generating a batch of unique IDs for database seeding, test fixtures, or placeholder data all at once.
- Choosing a UUID version that sorts well as a database primary key instead of defaulting to plain random v4.
- Checking which version a UUID you found in code or a database actually is, and roughly when it was created if it is a v1 or v7.
- Matching the exact formatting (braces, uppercase, no hyphens, urn: prefix) that a particular system or API expects.
Frequently asked questions
›What is the difference between UUID v4, v7, and v1?
v4 is almost entirely random and is the most common choice when you just need a unique identifier with no other meaning; v7 embeds the current timestamp in its first 48 bits so that UUIDs generated later always sort after earlier ones, which makes it a good fit for database primary keys; v1 also embeds a timestamp but uses an older, more complex layout and is mostly kept around for compatibility with older systems.
›Are these UUIDs safe to use, or could two people generate the same one?
Yes, they are safe. v4 and the random portions of v1 and v7 are generated using your browser's cryptographically secure random number generator (crypto.getRandomValues), the same source used for cryptographic keys; the chance of two v4 UUIDs ever colliding is astronomically small, far lower than the odds of a hardware failure.
›Why would I want a timestamp embedded in a UUID?
A v7 UUID sorts chronologically by its text value because the timestamp comes first, which means a database index on a v7 primary key stays efficient the way it would for an auto-incrementing integer, while a v4 UUID inserted into the same index scatters rows randomly and fragments the index over time.
›What do the "Validate & Inspect" results actually tell me?
Pasting in any UUID shows its version number and variant (almost all modern UUIDs are "RFC 4122"), and for version 1 or version 7 UUIDs it also decodes the embedded timestamp back into a readable date, which is useful for figuring out roughly when a particular UUID was generated.
›Does this tool send my data anywhere?
No, every UUID is generated and every inspection is performed entirely in your browser using built-in JavaScript functions; nothing is ever uploaded to a server.
Related Tools
Text
SSL Certificate & Key Pair Checker
Check whether an SSL/TLS private key, certificate, and optional CSR actually belong to the same key pair, decode and view the certificate's subject, issuer, validity, SANs and fingerprints, all running entirely in your browser.
FreeText
SSL Certificate Format Converter
Convert SSL/TLS certificates between PEM and DER encoding, bundle certificates into or extract them from a PKCS#7 (.p7b) file, and package a certificate and private key into a password-protected PKCS#12 (.pfx / .p12) file or extract them back out, all running entirely in your browser.
FreeText
SSL Certificate Viewer
Decode one or more PEM or DER X.509 certificates and view every field in plain language: subject, issuer, validity, fingerprints, public key details, and every standard extension including Key Usage, Subject Alternative Names, and Authority Information Access, all running entirely in your browser.
FreeText
Text Diff Checker
Compare two blocks of text and see exactly what was added, removed, or changed at the line, word, or character level, with a unified or side-by-side view and a downloadable standard diff file, all running entirely in your browser.
FreeText
Text To ASCII Converter
Convert text into its ASCII character codes and back again, with the result also shown in binary, hexadecimal, and octal, all running entirely in your browser with nothing ever uploaded.
FreeText
Text To Binary Converter
Convert text into its binary character codes and back again, with the result also shown in decimal, hexadecimal, and octal, all running entirely in your browser with nothing ever uploaded.
FreeText
Text To Hex Converter
Convert text into its hexadecimal character codes and back again, with the result also shown in decimal, binary, and octal, all running entirely in your browser with nothing ever uploaded.
FreeText
Unicode Converter
Convert text into Unicode escape sequences in JavaScript, ES6, and HTML entity formats, and decode escape sequences back into readable text, automatically handling surrogate pairs for emoji, all running entirely in your browser.
Comments (0)
Found this tool useful? Leave a comment, share a tip, or tell us how we can make it better.
No comments yet. Be the first to share your thoughts!