CodePersia

GUID Generator — Generate Globally Unique Identifiers

Tool processing happens entirely in your browser. Your input is never sent to our servers.

UUID Validator

Paste a UUID to check validity and detect its version.

NIL UUID:00000000-0000-0000-0000-000000000000

GUIDs in .NET and Microsoft Development

GUID (Globally Unique Identifier) is Microsoft's name for what the rest of the industry calls UUID (Universally Unique Identifier). They are the same thing: 128-bit identifiers in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

GUIDs in .NET/C#: In C#, you create GUIDs with Guid.NewGuid() which generates a random (v4) GUID. The .NET framework formats GUIDs with braces by default: {3F2504E0-4F89-11D3-9A0C-0305E82C3301}. Our tool supports this format.

Common GUID uses in Microsoft ecosystems:

  • Primary keys in SQL Server databases
  • COM component identifiers
  • Assembly identifiers in .NET
  • Windows Registry keys
  • SharePoint and Azure resource identifiers

GUID formats:

  • Standard: 3f2504e0-4f89-11d3-9a0c-0305e82c3301
  • Braces: {3F2504E0-4F89-11D3-9A0C-0305E82C3301}
  • No hyphens: 3F2504E04F8911D39A0C0305E82C3301
  • Uppercase: convention in .NET; lowercase: convention in most other platforms

Whether you call it a UUID or a GUID, the generation algorithm is identical. This tool generates cryptographically secure identifiers using the Web Crypto API, suitable for any platform.

For working with GUIDs in API payloads, the JSON Formatter helps validate your JSON structure. To encode GUIDs for URL parameters, use the URL Encoder/Decoder.

How to Use This GUID Generator

  1. Paste or type your input in the editor above
  2. Click the action button or the tool will process automatically
  3. View the result in the output panel
  4. Copy the result with one click using the Copy button

Frequently Asked Questions

GUID (Globally Unique Identifier) is Microsoft's term for UUID. They are identical 128-bit identifiers. GUIDs are commonly used in .NET, C#, SQL Server, and Windows development.

Yes. The tool offers a braces format option that wraps GUIDs in curly braces: {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}. This is the format commonly used in C# and .NET code.

It uses the exact same generation engine. This page targets developers searching for "GUID" (the Microsoft term) while the UUID Generator targets the standard term. Both produce identical identifiers.