Help Centre › Building Processes
Encode an image file to base64 string.
Add it to a process
In the process designer, open the Add step tab. Find Encode image to base64 under File & Folder › Encode & Decode, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | Yes | Enter the file path, or use a variable such as {folders::desktop::path}\file.txt. |
| Variable | Yes | Name of the variable where the result will be stored |
What it gives back
{variable}
See all File & Folder steps.
Errors
| Error | Description |
|---|---|
| File not found | The specified file does not exist |
Tips
- Converts an image file to base64 encoding
- Useful for embedding images in API calls