🔑 UUID Generator

Generate UUID v4, UUID v7, ULID, and Nano IDs. Bulk generation with one click.

Last updated: November 8, 2026 · By the BoltQuickTools team

-

Get unique IDs for test data and database keys

Seeding a table, writing a fixture or mocking an API all need IDs that will not clash, often in bulk. This page makes four common kinds with your browser's cryptographic random source, with no library or install.

Generating IDs

Choose a tab: UUID v4, UUID v7, ULID or Nano ID. Choosing one creates a new ID in the box, and Generate makes another. Click the box to copy it.

For a batch, enter a number in Bulk count and press Generate Bulk. Copy All copies the list if one is showing, otherwise the single ID. Clear removes both.

What each format looks like

IDs are random, so yours will differ. These came from this page's functions:

TypeSampleStructure
UUID v435e54731-2432-4bd5-b435-fc51512589a0122 random bits. The 4 marks the version.
UUID v701a1be75-2845-7b74-ad1b-cf0afe3ac8fbThe first 12 hex digits are a millisecond timestamp, and the rest is random.
ULID01M6Z7AA16R5RSZGVR1DR5RSZG10 timestamp characters, then 16 Crockford Base32 characters.
Nano IDLoEqU-VumcIHYIC0y4aXm21 characters from A-Z, a-z, 0-9, _ and -.

In the v7 sample, 01a1be752845 decodes to 2026-11-09T03:58:31.493Z, the moment it was made. A v7 ID therefore reveals when it was created, while a v4 ID reveals nothing.

Limits to know before using these in production

Choosing a format

Which one should I use for a database primary key?

UUID v7 is usually the better choice, because rows inserted around the same time get nearby key values, which suits B-tree indexes better than random v4 keys. The article on UUID v7 for new databases covers the trade-offs.

Are collisions something to worry about with Nano ID?

Not at this size. 21 characters from 64 symbols gives 64 to the power 21 possible values, which is 126 bits. By the birthday approximation, a 1% chance of any collision takes roughly 10 to the power 18 IDs.

Is a UUID safe to use as a secret?

Treat it as an identifier. For tokens or passwords, use the password generator and pick a length to suit.