NinjaFunction (Ninja Function) logo

UUID Generator

Generate random (v4) or time-ordered (v7) UUIDs in your browser. Create up to 1,000 at once, copy or download them, and check any UUID.


Options

UUID version

Format

Made in your browser with secure random numbers. Nothing is sent to a server.

Your UUIDs

Your UUIDs will appear here.

About This Tool

NinjaFunction's UUID Generator creates unique identifiers (UUIDs, also called GUIDs) in seconds. Choose version 4 for random IDs or version 7 for IDs that sort by time, create up to 1,000 at a time, and copy or download the list. You can also paste any UUID into the checker to see its version. Everything runs in your browser using secure random numbers, so nothing is sent to a server.

πŸ”‘ How to Use

  1. Pick a version. Use Version 4 if you are not sure. Choose Version 7 if the IDs will be stored in a database.
  2. Choose how many. Type a number from 1 to 1,000, or click one of the quick buttons.
  3. Set the format. Tick uppercase, no hyphens or braces to match what your system expects.
  4. Click Generate. Your UUIDs appear on the right straight away.
  5. Copy or download. Copy one UUID, copy them all, or download them as a text file.

πŸ’‘ Pro Tips

  • βœ” Changing the version makes new UUIDs right away. Format options only change how they look.
  • βœ” Press Enter in the number box to generate.
  • βœ” Use the checker to see which version a UUID is, and when a version 7 UUID was made.

UUID Versions Explained

VersionHow it is madeBest for
Version 4122 random bitsGeneral use: API IDs, file names, test data
Version 7Current time in milliseconds, then random bitsDatabase primary keys and anything you want sorted by creation time
NilAll zerosA placeholder that means no value

Older versions also exist. Version 1 uses the time and the computer that made it, and versions 3 and 5 turn a name into a UUID. This tool covers the versions that most developers use today.

When Should You Use a UUID?

  • Database records: create an ID in your code before saving the row, even when several servers write at the same time.
  • APIs and URLs: use IDs that do not reveal how many records you have, unlike 1, 2, 3.
  • Files and uploads: give every uploaded file its own name so two files never overwrite each other.
  • Testing: fill a test database or mock data set with unique values.
  • Tracking and logs: tag a request or event so you can follow it across systems.

A UUID is longer than a counter such as 1, 2, 3, so it takes more space. In return it can be created anywhere, with no central counter to ask. Need to test a token or hash instead? Try the Hash Generator or the JWT Decoder.

Frequently Asked Questions

What is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit value, usually written as 32 hexadecimal characters in five groups, for example 123e4567-e89b-42d3-a456-426614174000. It is used to label things such as database records, files and API objects so that each one has its own ID.

Is a UUID the same as a GUID?

Yes. GUID (Globally Unique Identifier) is the name Microsoft uses for the same kind of value. A GUID looks like a UUID and is used in the same way.

Can two UUIDs ever be the same?

It is possible in theory but extremely unlikely. A version 4 UUID has 122 random bits, so you would need to create about a billion UUIDs every second for roughly 85 years to reach a 50% chance of a single repeat.

What is the difference between version 4 and version 7?

Version 4 is completely random. Version 7 starts with the current time, so newer UUIDs sort after older ones. That makes version 7 a better fit for database keys, because new rows are added at the end of the index instead of in random places.

Is it safe to use a UUID as a password or secret?

No. A UUID is meant to be an identifier, not a secret. Anyone who sees it can use it. For passwords and tokens, use the Password Generator instead.

Are my UUIDs sent to a server?

No. The UUIDs are created in your browser with its built-in secure random number generator. They are not sent or stored anywhere.

Always FreeAll tools are 100% free to use.
No Sign UpNo registration or login required.
Blazing FastInstant results, always.