conversion_number_base
Convert text between ASCII, binary, hex, decimal, and octal encodings. Treats input as a sequence of byte/codepoint values, not a single number. Ideal for moving character data across base representations.
Instructions
ASCII / Binary / Hex / Decimal / Octal Converter. Convert a string of values between five textual encodings — ASCII text, binary, hexadecimal, decimal, and octal — treating the input as a sequence of byte/codepoint values rather than a single number. Use this when you need to move character data across base representations (e.g. binary "01001000" to ASCII "H"); use conversion_base_converter instead to convert one integer between arbitrary radixes 2-36, conversion_binary_decimal for signed/unsigned binary-decimal with a bit width, and conversion_decimal_hex for decimal-hex with two's-complement options. Runs locally on the supplied text: read-only, non-destructive, offline, no auth, default rate limit. Returns the converted string plus an analysis block (lengths, value range, encoding efficiency).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The value(s) to convert, parsed per from_format (space/comma-separated for numeric formats). | |
| from_format | Yes | Encoding of the input text. Decimal/octal values must be 0-1114111 per item. | |
| to_format | Yes | Encoding to produce in the result string. | |
| hex_delimiter | No | Separator between hex bytes when to_format is hex; use "\x" for \xNN style (no separator). Ignored otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the conversion succeeded. | |
| result | No | The input re-encoded in to_format (empty string on error). | |
| error | No | Error message; present only when success is false. | |
| analysis | No | Conversion stats (null on error): input_length, output_length, values_count, value_range{min,max}, formats{from,to}, printable_chars (ASCII input only, else null), encoding_efficiency{compression_ratio,space_saving}. | |
| format_info | No | Reference info for to_format (name, description, base, chars, example). |