1. Home
  2. Generators & Encoders
  3. UUID / GUID Generator

Online UUID GUID Generator

Generate random UUID version 4 identifiers in your browser. Nothing is sent to the server.

What it is for?
Runs in your browser Free, no sign-up

What it is for?

A UUID is an ID you can create anywhere without asking a database for the next number. Use one as a primary key, a request or correlation ID in logs, a file name for an upload, or test data for a fixture. Two systems can each create IDs offline and merge them later without a clash.

About UUID v4

A version 4 UUID is a 128-bit random identifier, written as 32 hexadecimal digits in five groups. GUID is the name Microsoft uses for the same thing. Values are generated with your browser's cryptographic random number generator.

Six of the 128 bits are fixed, so 122 bits are random. The first digit of the third group is always 4, and the first digit of the fourth group is 8, 9, a or b. You can use this to spot a v4 value in a log.

Options

  • How many: from 1 to 50 values per click, one per line, ready to paste into a seed file or a spreadsheet.
  • Uppercase: some Windows and .NET tools print GUIDs in capitals. Most systems compare UUIDs without caring about case, but a plain string comparison does care.
  • Remove hyphens: gives the 32-digit form that some databases and URLs use. Store one form only, or the same ID will not match itself.

Things to keep in mind

A v4 UUID is unique enough for any real system, but it is not secret by design. Do not use it as a password reset token when a proper random token is easy to make. Random keys are also spread across the whole index, which can slow inserts on very large tables; time-ordered versions such as v7 exist for that, and this page does not make them.

It stays in the browser

The values are created in this tab. Nothing is sent to a server and nothing is stored.