Base64 Decode
Command description
Decode Base64 content.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Content to Decode | any | Pure Base64 content to decode, usually str or bytes |
| Output Text | bool | When True, returns a string; when False, returns bytes |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Encoded Content | str or bytes | Decoded content. The parameter name is retained for workflow-schema compatibility |
AI Workflow Generation Notes
- If Content to Decode is bytes, it is decoded directly. Other values are converted to strings and then encoded as ASCII, so they must contain only Base64 characters.
- Input must be a pure Base64 string or byte sequence without a Data URL prefix such as
data:image/png;base64,. - For an image Data URL, remove everything through the first comma and keep only the Base64 content.
- Set Output Text to False for binary content such as images and files. Set it to True only when the decoded result is UTF-8 text.