All guides

How to generate UUID v4, UUID v7, and ULID

Local identifiers in the browser: random v4, time-sortable v7, and ULID — not a primary-key consultant and not a password.

Pick a format on purpose

UUID Generator at /tools/uuid-generator can emit UUID v4 (random via crypto.randomUUID), UUID v7 (time-ordered), or ULID. Count is 1–100, one value per line, with copy-all and download. v4 is the usual “just give me an id.” v7 sorts roughly by creation time in a database index. ULID is a 26-character Crockford base32 form used in some APIs. None of these prove uniqueness across the planet; collisions are extremely unlikely for v4 at human scale, not a mathematical impossibility.

Steps

1) Open UUID Generator. 2) Choose v4, v7, or ULID. 3) Set how many to create (keep it small unless you need a fixture file). 4) Choose one-per-line, JSON array, or comma-separated output. 5) Copy or download. Regenerating replaces the list. Values are created in this tab — nothing is uploaded.

Not a secret and not a slug

A UUID is an identifier, not authentication. Do not treat it as a session token by itself. Slugify makes readable URL paths; Hash Generator fingerprints content; Password Generator makes secrets. Putting a v4 in a public URL can leak that a row exists — that is an application design choice, not something this page solves.

Worked example

Need ten fixture user ids for a demo API? v4, count 10, JSON array, paste into a mock. Need ids that sort by insert time in a log file? v7. Need a shorter string some codebases prefer? ULID. Compare two dumps with JSON Compare, not by eyeballing UUIDs. Close the tab if the ids map to real customers on a shared machine.

Related developer tools

Hash Generator when you need a digest of a payload. Fake JSON when you need whole objects, not just ids. HMAC when you need a keyed signature. Random Number Generator if you wanted integers instead of ids.

Privacy

Generation is local. Related: /tools/hash-generator, /tools/fake-json, /tools/password-generator. Toolora does not register these UUIDs with any namespace service.