GUID Generator
Generate a new GUID instantly. This free random GUID generator creates globally unique identifiers locally in your browser — with uppercase and brace formatting for Windows, .NET, and SQL Server. Nothing is ever sent to a server.
What is a GUID?
A GUID (Globally Unique Identifier) is a 128-bit value used to uniquely identify objects, records, and resources. It is Microsoft's name for a UUID and follows the same 8-4-4-4-12 hexadecimal format, often shown in uppercase and wrapped in braces, like {3F2504E0-4F89-41D3-9A0C-0305E82C3301}.
GUIDs are widely used across Windows, .NET, COM, the registry, and SQL Server (the uniqueidentifier type). Because a random GUID can be created on any machine independently with an essentially zero chance of duplication, it is perfect for primary keys, component identifiers, and any place a guaranteed-unique value is required.
Why use localguid?
Generated locally in your browser
Values are created on your device using the Web Crypto API. Nothing is transmitted, logged, or stored on a server — the page even works offline once loaded.
Cryptographically secure randomness
Version 4 identifiers use crypto.getRandomValues() for high-entropy randomness, so collisions are astronomically unlikely.
Multiple versions & formats
Switch between v4 (random), v7 (time-ordered), v1 (timestamp), and Nil. Toggle uppercase, hyphens, and braces to match your platform.
Single or bulk output
Copy one value with a click, or generate thousands at once and download them as a plain-text file for seeding databases and tests.
Common use cases
SQL Server uniqueidentifier
Populate uniqueidentifier columns with a new GUID for primary keys and references without round-tripping to the database.
.NET, COM & the registry
Create GUIDs for class IDs, interface IDs, assembly identifiers, and registry keys in Windows development.
Component & resource IDs
Give installers, plugins, and configuration entries a stable, globally unique identifier that never clashes.
Test data & fixtures
Generate random GUIDs in bulk to seed databases, mock records, and integration tests.
Frequently asked questions
Is a GUID the same as a UUID?
Yes. A GUID (Globally Unique Identifier) and a UUID (Universally Unique Identifier) are the same 128-bit identifier. 'GUID' is the term Microsoft uses in Windows, .NET, and SQL Server; 'UUID' is used almost everywhere else. Both follow the same format and are interchangeable.
How is a random GUID generated here?
This generator creates Version 4 GUIDs using the browser's Web Crypto API for cryptographically secure randomness. Each value contains 122 bits of randomness, so the chance of generating a duplicate is negligible.
Can I generate uppercase GUIDs with braces?
Yes. Toggle 'Uppercase' to match the common Windows/.NET style, and toggle 'Braces' to wrap the value like {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} — the registry format. You can also remove hyphens for a compact 32-character string.
Are the generated GUIDs private?
Yes. Every GUID is generated locally in your browser using JavaScript. No value is transmitted to or stored on a server, and there are no ads or trackers. The page continues to work offline once it has loaded.
How unique is a GUID?
Extremely. A GUID is a 128-bit value, and a random (v4) GUID has 122 bits of randomness. In practical terms you could generate billions of GUIDs and never see a collision, which is why they are trusted as primary keys in distributed systems.