Encode or decode UTF-8 bytes
Use encode mode to turn text into binary, octal, or hex byte values. Use decode mode to turn those byte values back into UTF-8 text.
Text is encoded with TextEncoder, so non-ASCII characters become their UTF-8 byte sequences. Decoding uses UTF-8 and may show replacement characters when the bytes do not form valid text.
Format choices
Binary output uses 8-bit groups such as 01000001. Octal output uses 3-digit groups such as 101. Hex output uses 2-digit groups such as 41.
Decoding ignores characters outside the selected format. Binary keeps 0 and 1, octal keeps 0-7, and hex keeps 0-9 plus a-f. Incomplete trailing chunks are ignored.
Batch mode
Batch mode converts each line separately and keeps one output line per input line. Use it for short lists of strings, byte samples, or values copied from a log.