TXT · Text & Data tools

Text to Data Converter

Format
Input
Output
encodemodebinaryformatSingleinput0items0lines out0characters

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.

Frequently Asked Questions

The converter handles UTF-8 text, 8-bit binary bytes, 3-digit octal bytes, and 2-digit hexadecimal bytes.

Yes. Turn on batch mode to process one input per line. `Trim lines` removes leading and trailing whitespace before conversion.

No.

Looking for a faster, single-purpose workflow?

Try one of our format-specific converters below

Explore Our Tools

Browse all tools