Cheat Sheets/Power Automate/base64
Power Automate (WDL) function

base64Power Automate (WDL) function reference

Encode text as base64.

Syntax

wdl
base64(value)

Examples

wdl
base64('hello')
Base64 text
wdl
base64(triggerBody()?['fileContentText'])
A base64-encoded string
wdl
concat('Basic ', base64(concat(parameters('ApiUser'), ':', parameters('ApiPassword'))))
A ready-to-use Basic auth header value

Common mistakes & gotchas

Related Workflow Definition Language functions

From Type conversion

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet