Skip to main content

Text: Short UUID To UUID

Decode a base64-flavored 22-char "short UUID" (ShortGuid) back into the canonical 36-char UUID v4 string. Fails if the input is not a valid ShortGuid. The parser also accepts a canonical 36-char UUID as input, in which case it is passed through unchanged — the function is effectively idempotent.

Example
Input: "yaZG05xhTLe_ze4lIsj2Mw"
Output: "c9a646d3-9c61-4cb7-bfcd-ee2522c8f633"

Parameters

This function has no parameters.

Input

short uuidrequired

A 22-character ShortGuid (a canonical 36-character UUID is also accepted).

Output

uuid
The expanded canonical UUID.