Use this free UUID generator to create random version 4 UUIDs or time-ordered version 7 UUIDs in a few clicks. Choose a version and a format, create one UUID or up to 100 at once, and copy the result. Everything is made in your browser, so nothing is sent to our servers or saved on this page.

A UUID is a unique label, not a secret. Use it to name a record, a file, or a request, and never as a password or an access key.

How to use the UUID generator

  • Choose the version: pick Version 4 for fully random UUIDs, or Version 7 for UUIDs that start with the current time and sort in the order they were made.
  • Choose the letter case: lowercase is the usual form, and uppercase suits systems that show UUIDs in capitals.
  • Choose the hyphens: keep them for the standard 36-character form, or remove them to get a plain 32-character string.
  • Choose how many: create 1, 10, 50, or 100 at once. A batch appears one per line.
  • Generate and copy: click Generate, then click Copy and paste the result into your code, database, or spreadsheet.

UUID version guide

VersionMade fromBest for
Version 4Random numbersGeneral ids, test data, and anywhere the order does not matter
Version 7Time plus random numbersDatabase keys and logs that should sort by creation time

If you are not sure which to pick, use Version 4. Choose Version 7 when you store the UUIDs as database keys and want new records to sit together in order.

What a UUID looks like

  • Length: a UUID holds 128 bits. It is written as 32 hexadecimal characters, usually split by hyphens into five groups (8-4-4-4-12), which makes 36 characters in total.
  • Version digit: the first digit of the third group shows the version. A version 4 UUID has a 4 there, and a version 7 UUID has a 7.
  • Random part: a version 4 UUID has 122 random bits, with the rest used for the version and variant. A version 7 UUID starts with a 48-bit timestamp in milliseconds, followed by random bits.

What this tool does and does not do

The tool builds each UUID from your browser's secure random number generator, and for Version 7 it adds the current time at the start. It does not store anything, check your database for duplicates, or remember anything between visits. Two random UUIDs matching is so unlikely that it is treated as impossible in practice, but the tool cannot see your existing data. Copy the result right away, because it is gone once you close or reload the page.

Tips for using UUIDs

  • Pick Version 7 for database keys: ordered values keep new rows together, which is often faster than fully random keys.
  • Remember that Version 7 shows the time: anyone can read the creation time from the first part, so use Version 4 if that should stay private.
  • Store them in a native type: many databases have a UUID type that uses 16 bytes instead of a 36-character string.
  • Keep one format: pick lowercase or uppercase, with or without hyphens, and use it everywhere so comparisons match.
  • Do not use a UUID as a secret: use a password generator or a purpose-built token for anything that grants access.
UUIDs let separate systems create ids on their own without ever checking with each other.

Common UUID problems

  • The system rejects the UUID: check whether it wants hyphens, and whether it needs lowercase or uppercase.
  • The UUID has no hyphens: choose With hyphens to get the standard 36-character form.
  • Keys sort in random order: Version 4 has no order. Use Version 7 if you need ids that sort by creation time.
  • A batch is hard to paste: each UUID is on its own line, which pastes cleanly into a spreadsheet column or a text file.
  • Copy does not work: some browsers block clipboard access. Select the text and copy it by hand.
  • You lost a UUID: nothing is saved here, so generate a new one and update the record that used it.

Frequently asked questions

Is this UUID generator safe to use?

Yes. UUIDs are created in your browser using its built-in secure random number generator. They are never sent to our servers and are not saved on this page.

Does the tool store my UUIDs?

No. Nothing is saved. A result stays on the screen until you generate again, reset the tool, or close or reload the page.

Are the UUIDs really unique?

A version 4 UUID has 122 random bits, so the chance of two matching is so small that it is treated as impossible in practice. The tool cannot check your own data, so if uniqueness is critical, keep a unique constraint in your database.

Which version should I use?

Use Version 4 for most needs, since it is fully random and widely supported. Use Version 7 for database keys, because its ids sort by creation time.

What is the difference between a UUID and a GUID?

They are the same kind of identifier. GUID is the name Microsoft uses, and GUIDs are often shown in uppercase, sometimes inside braces. You can switch to uppercase in this tool.

Can I use a UUID as a password or secret key?

No. A UUID is designed to be a unique label, not a secret, and many systems show or log them openly. Use a password generator or a proper token for anything that grants access.

Does a Version 7 UUID reveal when it was created?

Yes. The first 48 bits hold the creation time in milliseconds, and anyone with the UUID can read it. Use Version 4 if the creation time should stay private.

Share this article