Skip to content
PrivBay

UUID generator for four ID types

Make UUID v4, UUID v7, ULID or Nano ID values using your browser’s cryptographic random source.

The browser uses a cryptographic random source to generate IDs on this device.

Ready. Your files stay on this device.

How to generate UUIDs, ULIDs and Nano IDs

  1. Choose an ID type and enter the Number of IDs.
  2. For Nano ID, set Nano ID length if you need a different length.
  3. Select Generate IDs. Choose the Output format, then select Copy result or Download IDs.

Compare UUID v4, UUID v7, ULID and Nano ID formats

This UUID generator and GUID generator produces RFC 9562 identifiers alongside compact modern alternatives. UUID v4 uses 122 random bits and is the standard choice when creation order should not be exposed. UUID v7 embeds a 48-bit millisecond Unix timestamp at the start of the same 36-character hyphenated layout so new database rows append cleanly in B-tree indexes. The ULID generator packs a 48-bit timestamp and 80 random bits into 26 Crockford Base32 characters, while the Nano ID generator uses a 64-character URL-safe alphabet with customizable length.

ID type Length Time-ordered Alphabet & layout Typical use
UUID v4 (GUID) 36 chars No Hexadecimal 8-4-4-4-12 Unpredictable primary keys and tokens
UUID v7 36 chars Yes (ms) Hexadecimal 8-4-4-4-12 Indexed database primary keys (RFC 9562)
ULID 26 chars Yes (ms) Crockford Base32 (0-9, A-Z without I,L,O,U) Lexicographically sortable event IDs
Nano ID 21 chars (8–64) No URL-safe A-Za-z0-9_- Short URLs, client state and slugs

Generate test data in batches

Choose the number of identifiers from 1 to 1,000 for seed scripts, test fixtures or API mocks. Copy one value per line into an editor, export a JSON array for JavaScript and TypeScript fixtures or download a CSV file with an id header column for spreadsheet imports. Every value is generated locally using your browser’s crypto.getRandomValues source.

Use the output with your development tools

Paste a JSON array export into the JSON formatter when inspecting it alongside a larger fixture. If you are preparing database seed scripts, use the SQL formatter to clean up the query layout. For user secrets or API keys that require specific punctuation rules, use the password generator.

Frequently asked questions

What is the difference between a UUID and a GUID?

UUID (Universally Unique Identifier, standardized in RFC 9562) and GUID (Globally Unique Identifier) refer to the same 128-bit 36-character hyphenated format.

Which formats carry time information?

UUID v7 and ULID contain a Unix timestamp with millisecond resolution. IDs made in the same millisecond may sort in a different order from generation.

What is the Nano ID length range?

Nano ID defaults to 21 characters. You can choose a length from 8 to 64.

How many IDs can I generate?

Generate from 1 to 1,000 IDs per batch.

What is in the CSV file?

It contains one column named id with one value per row.

Last updated November 11, 2026