Tools / Generators

Random ID generator

Use this random ID generator to make UUID v4, UUID v7, NanoID, hex and numeric IDs in bulk. Copy them or download a text file.

Report a problem

How to use it

  1. Choose the kind of ID.
  2. Set how many you need, and the length where it applies.
  3. Copy them, or download a .txt file.

About this tool

This random ID generator makes UUIDs, NanoIDs, hex strings and numeric IDs in bulk. A random ID generator makes unique identifiers for databases, test data and file names. UUID v4 is fully random. UUID v7 starts with the time, so newer IDs sort after older ones, which suits database keys. NanoID is shorter and safe to put in a URL. Hex and numeric IDs are plain strings you can use for codes. They come from your browser’s secure random generator. These are identifiers for software, not official ID numbers.

Which ID to pick

Use UUID v4 when you just need a unique random ID. Use UUID v7 for database keys, because the time at the start keeps new rows in order. Use NanoID for short IDs in links, and hex or numeric IDs for codes and test data.

Generate many at once

Make up to 500 IDs in one go and copy them all or download a text file. They are created by your browser’s secure random generator, so they are unpredictable. For passwords and keys, use the password generator instead.

Questions

What is the difference between UUID v4 and v7?

v4 is random. v7 begins with a timestamp, so IDs created later sort later, which keeps database indexes tidy.

Can two IDs be the same?

For a UUID, the chance is so small that it is ignored in practice.

Is it safe for secrets?

They are made with a secure random generator, but use a password generator for passwords and keys.

Popular tasks with this tool

Last updated: 2026-11-23

Other tools