conversion_octal_text
Convert text to octal byte values or decode octal back to text. Handles ASCII or UTF-8 encoding, with space or newline separators.
Instructions
Octal And Text Converter. Convert text to space- or newline-separated octal (base-8) byte values, or decode such octal values back to text, with ASCII or UTF-8 byte handling. Use this for octal specifically (e.g. reading C/assembly octal escapes or Unix-style byte dumps); for general radix math between bases 2-36 use conversion_number_base or conversion_base_converter, for hexadecimal text use encoding_decoding_hex_ascii, for binary text use encoding_decoding_binary_text, and for parsing numeric strings use conversion_string_number. Runs locally via a Node bridge on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Invalid octal digits (outside 0-7), values above 255, or malformed UTF-8 byte sequences return an error. Returns the converted string plus a per-byte breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Data to convert: plaintext when mode is text-to-octal, or whitespace-separated octal byte values (each 0-7 digits, max 377 octal / 255 decimal) when mode is octal-to-text. Must not be blank. | |
| mode | Yes | Conversion direction. text-to-octal encodes text into octal byte values; octal-to-text decodes octal byte values back into text. | |
| encoding | No | Byte encoding. ascii maps each character to a single byte (codepoints > 127 become 63 / "?"); utf8 encodes/decodes multi-byte UTF-8, rejecting invalid sequences on decode. | utf8 |
| format | No | Separator for the octal output values when encoding (input octal is split on any whitespace regardless). space joins with single spaces; newline puts one value per line. | space |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the conversion succeeded. | |
| result | No | The conversion result object. |