base32
Encode or decode base32 data from files or stdin, returning results as JSON. Useful for human-friendly encoding without ambiguous characters.
Instructions
Encode or decode base32 data from files or stdin. Read-only, no side effects. Returns JSON with the result by default; use --raw for raw output on stdout. Use for human-friendly encoding (avoids ambiguous characters). Not for compact encoding — use 'base64' for smaller output size. See also 'base64', 'basenc'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write raw encoded/decoded bytes to stdout. | |
| paths | No | Files to read, or '-' for stdin. Defaults to stdin. | |
| decode | No | Decode instead of encode. | |
| encoding | No | Output encoding (default: utf-8). Use 'auto' for BOM/autodetection. | utf-8 |
| show_encoding | No | Include encoding detection metadata in JSON result. | |
| encoding_errors | No | How to handle encoding errors (default: replace). | replace |
| encoding_profile | No | Locale-aware encoding fallback profile for auto-detection. | |
| max_output_bytes | No | Maximum JSON bytes to emit. |