File to Base64
Read a file (a PDF, an image, any file) as Base64 text, for web services that take attachments as text.
Command in the File toolkit · id ooa.file/to_base64 · 1 input (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | File to read; up to 50 MB. |
Outputs
| Output | Type | What it is |
|---|---|---|
| base64 | String | The file's contents as Base64 text. |
| size_bytes | Number | Size of the file. |