Encode File as Base64

files · N062 · starter-package 7.0.1

Encode the raw bytes of a file as standard Base64 text.

Use the output in a JSON payload that expects Base64. It has padding and no data-URL prefix. The input limit is 768 KiB.

Inputs

ConnectorTypeUsage
filetextConnect a live file from this workflow. Required.

Outputs

base64 (Text). Fire signals successful completion.

What happens when it runs

If the block reports invalid input, check the file format and setting named in its message. Reconnect the matching output if the item came from an earlier run.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputfile — Filetextyes
Outputbase64 — Base64texton success
Inputfire — Firefireno
Outputfire — Firefireon success

Settings

This block has no saved settings.