Skip to main content
Free · in your browser

GUID Generator

Generate GUIDs for your code, database or tests: random or time-ordered, one or a hundred, in the format you need.

100% local
Version
Quantity 1
Result

The result will appear here

Details
VersionV4
Quantity0
FormatWith dashes · abc

UUID v4 uses cryptographically secure random numbers. Best for general-purpose unique identifiers.

Learn more

GUIDs, without the guesswork

GUID or UUID: the same thing

GUID (Globally Unique Identifier) is the name Microsoft uses, in .NET, Windows and SQL Server, for what the standard calls a UUID: a 128-bit identifier written as 32 hexadecimal digits in five groups (8-4-4-4-12). Any GUID made here is a valid UUID, and the reverse: you can paste it into a C# Guid, a SQL Server uniqueidentifier column, a PostgreSQL uuid column or a JSON document.

Random (v4) or time-ordered (v7)

A v4 GUID is fully random: it is what Guid.NewGuid() in .NET and NEWID() in SQL Server give you. A v7 GUID starts with the time it was made, so new values sort after older ones: as a primary key it keeps database indexes compact, which random GUIDs don't (.NET 9 has Guid.CreateVersion7() for it).

Made in your browser

The GUIDs are drawn with your browser's cryptographic random generator, never on our server, and nothing is stored. Generate up to 100 at once, in upper or lower case, with or without dashes, then copy them all in one click.

How it works

How to generate a GUID

  1. Choose the version

    v4 for a random GUID, v7 for GUIDs that sort by creation time (database keys).

  2. Pick the format and the count

    Upper or lower case, with or without dashes, from 1 to 100 GUIDs.

  3. Copy them

    Copy one GUID or the whole list and paste it into your code, your SQL script or your test data.

Practical guides

Tips & guides

Which one for a primary key?

For a table that grows a lot, prefer v7: rows inserted one after the other get neighbouring keys, so the index stays ordered and inserts stay fast.

Keep v4 when the identifier must not reveal when it was created, for example a public token in a URL.

Tip

Private by design

GUIDs are generated on your device with the Web Crypto API, the same source browsers use for encryption keys.

Nothing is sent to us or kept: closing the page forgets them.

Privacy
Frequently asked questions

Frequently asked questions

GUIDs in short