Skip to content
Free tool · Data & formats

UUID & ULID Generator

Generate random UUID v4, time-ordered UUID v7 and sortable ULIDs — one or a thousand at once, as plain lines, a JSON array or an SQL list. Paste any UUID, GUID or ULID to see its version, variant and the exact moment it was created.

Runs in your browser — nothing is uploadedNo sign-up · no tracking of your input
1–1,000

Random UUID (version 4): 122 random bits. The safe default for IDs that should not reveal anything.

0 UUIDs

Decode a UUID or ULID

Accepts hyphens or none, braces, upper or lower case and the urn:uuid: prefix.

IDs are generated in this browser with the Web Crypto random generator. Nothing is sent to a server or stored.

How to use the UUID & ULID Generator

  1. 1

    Choose the type

    Pick UUID v4 for purely random IDs, UUID v7 for database keys that sort by time, or ULID for short, URL-safe and sortable IDs.

  2. 2

    Set count and format

    Generate between 1 and 1,000 IDs, switch upper case, hyphens or braces, and choose lines, a JSON array or a quoted SQL list.

  3. 3

    Copy or decode

    Copy the whole list with one click. To inspect an existing ID, paste it into the decoder to read its version, variant and timestamp.

FAQ

UUID & ULID Generator: frequently asked questions

What is the difference between UUID v4 and UUID v7?

Version 4 is 122 bits of randomness and says nothing about when it was made. Version 7, standardised in RFC 9562 (2024), starts with a 48-bit Unix timestamp in milliseconds, so new IDs sort after old ones. That keeps B-tree indexes compact and inserts fast, which is why v7 is the better default for database primary keys.

Is a UUID really unique?

Practically yes. A v4 UUID has 2^122 possible values; you would need to create about 2.7 quintillion of them before the chance of a single collision reaches 50 %. Version 7 adds the timestamp, so collisions are only possible between IDs from the same millisecond.

What is a ULID?

A ULID (Universally Unique Lexicographically Sortable Identifier) packs a 48-bit millisecond timestamp and 80 random bits into 26 characters of Crockford Base32. It sorts by time as plain text, avoids ambiguous letters (I, L, O, U) and fits in URLs without escaping.

Can I see when a UUID was created?

Only for time-based versions. Versions 1 and 6 hold a 100-nanosecond timestamp since 1582, version 7 and ULIDs hold Unix milliseconds — the decoder shows all of them in UTC. Versions 3, 4 and 5 contain no time. Keep this in mind: a v7 ID reveals its creation time to anyone who sees it.

Are the generated IDs secure and private?

They are created in your browser with crypto.getRandomValues, the operating system's cryptographically secure random generator, and are never sent to a server. Even so, use UUIDs as identifiers, not as secrets: for tokens or passwords use a dedicated generator with more entropy.