GUID Converter

Oct 18, 2021

GUID Converter is used to convert between GUID formats. It supports standard, integer, hex and base64 formats.

Input Type:
..
The type of the input GUID either explicitly specified or automatically detected
Standard:
..
GUID in standard format
Int:
..
GUID in Number format
Hex:
..
GUID in Hex format
Base64:
..
GUID in Base64 format

GUID Generator

Generate random GUID / UUID based on RFC 4122 Version 4

View Tool

GUID

A GUID or (UUID) is a universally unique identifier which is a 128-bit number or (16 byte long).

They are used for generating globally unique IDs that are guaranteed to be unique without using a central repository (like a database) to generate them. Typical uses are in various project files (like .csproj or .aip). Read more at wikipedia.

Comments 4

Luis

Luis

  • 9 months ago

How are you realizing the conversion of the Guid to Int, in the code? I'm trying to replicate this same process in a C# script.

sdfsdfsdf

sdfsdfsdf

  • 4 months ago

// Turn a GUID into a string and strip out the '-' characters.
BigInteger huge = BigInteger.Parse(modifiedGuidString, NumberStyles.AllowHexSpecifier)

Oysgelt

Oysgelt

  • 2 months ago

Any chance you could make the code available for perusal? Would like to understand how to convert from a string which is the Hex representation of a guid (i.e. 5FA6334EA726504981FB33B7DF5B96B0) into the guid's standard format.

Oysgelt

Oysgelt

  • 2 months ago

public static String convertMSGUIDToHexFormat(String msGuid) {
return msGuid
.replaceAll("(.{2})(.{2})(.{2})(.{2}).(.{2})(.{2}).(.{2})(.{2})(.{18})",
"$4$3$2$1$6$5$8$7$9")
.replaceAll("-", "")
.toUpperCase(Locale.ROOT);
}

History
Oct 18, 2021
Support for 64-bit ZFS GUID
Mar 23, 2019
Tool Launched