--- title: "convert hex to base64()" slug: "string-hex-to-base-64" updated: 2025-09-17T19:56:23Z published: 2025-09-22T09:16:08Z canonical: "docs.lobstersoftware.com/string-hex-to-base-64" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # convert hex to base64() This function converts a string **a**, which represents a hexadecimal value, into a Base64 value. ## Parameters | Parameter | Description | | --- | --- | | a | The string representing the hexadecimal value to be converted to a Base64 value. | | b | The separator between the bytes in value **a**. | ## Example | Parameter a | Parameter b | Result | | --- | --- | --- | | 0f:02:a5 | : | DwKl |