Skip to content

Decodes a base64-encoded string to a binary value.

func.base64_decode_binary(<str>)
func.base64_decode_binary('SGVsbG8=')
┌──────────┐
b'Hello'
└──────────┘
BASE64_DECODE_BINARY(<str>)
SELECT BASE64_DECODE_BINARY('SGVsbG8=');
┌───────┐
│ Hello │
└───────┘