encoding_decoding_hex_ascii
Convert hex strings to ASCII text or encode text to hex. Support spaced, continuous, or custom separators, uppercase/lowercase, and ASCII/Latin1/UTF8 encoding.
Instructions
Hex to ASCII Converter (Bidirectional). Convert hexadecimal strings to ASCII/text and text back to hex, with selectable byte delimiter (spaced, continuous, or custom separator), upper/lowercase hex, and character encoding (ascii, latin1, utf8). Use conversion_number_base for multi-radix ASCII/binary/hex/octal/decimal byte conversion, encoding_decoding_binary_text for the binary representation of text, or encoding_decoding_base64 for MIME-safe binary transport. Runs locally on the input you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns the converted string plus hex pairs, byte values, and a statistics block (length, byte count, entropy, printable ratio, character range).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Direction of conversion. "hex_to_ascii" decodes hex into text; "ascii_to_hex" encodes text into hex. | hex_to_ascii |
| input | Yes | Data to convert: a hex string when operation is "hex_to_ascii", or plaintext when "ascii_to_hex". Must not be empty. | |
| format | No | Hex byte layout. "spaced" separates pairs with a single space; "continuous" emits unbroken hex; "custom_separator" uses the separator field. | spaced |
| separator | No | Delimiter between hex pairs. Only used when format is "custom_separator" (for example "0x" or backslash-x). | |
| case | No | Letter case of emitted hex digits. Applies only to "ascii_to_hex". | lowercase |
| encoding | No | Character encoding used to map bytes to characters. "ascii" rejects bytes above 127; "latin1" allows 0-255; "utf8" decodes multi-byte sequences. | ascii |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether the conversion succeeded. | |
| operation | No | The operation performed ("hex_to_ascii" or "ascii_to_hex"). | |
| input | No | The submitted input, echoed back. | |
| output | No | The converted result: ASCII/text when decoding, a hex string when encoding. | |
| format | No | The hex layout that was applied. | |
| encoding | No | The character encoding that was applied. | |
| hex_pairs | No | The individual two-character hex bytes produced or parsed. | |
| byte_values | No | Decimal byte values (present only for "hex_to_ascii"). | |
| analysis | No | Statistics about the converted data. |