Encode or decode a local Base64 file
abox_base64Encodes local file bytes to Base64 text or decodes Base64 into a binary file, with padded, URL-safe, and strict or relaxed decoding options.
Instructions
Encode arbitrary local file bytes as Base64 text or decode Base64 into a new binary file using the existing abox.tools byte codec. Supports standard padded or URL-safe unpadded encoding. Relaxed decoding accepts whitespace, either alphabet and missing padding; canonical decoding requires the requested exact spelling and zero unused bits. Supports empty files, verifies a byte round trip, and never returns file contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| url_safe | No | ||
| canonical | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |