Formatting
Hex encoder prints the UTF-8 bytes of whatever you type, one lowercase pair per byte, separated by spaces. Direction starts on encode. The sentence Odd socks in the dryer. is 4f 64 64 20 73 6f 63 6b 73 20 69 6e 20 74 68 65 20 64 72 79 65 72 2e, and the last pair, 2e, is the period.
The unit is a byte, not a character. The letter Å is the two pairs c3 85, because UTF-8 encodes U+00C5 as those two bytes. If you wanted the code point U+00C5, that is a different page. Mixing the two up is how people “fix” a string and make it longer.
Flip Direction to decode and the pairs come back, spaces or not. An odd number of digits fails. A byte that is not valid UTF-8 fails on the way back, which is what you want when the original input was text.
Direction encode. Text: Odd socks in the dryer.
4f 64 64 20 73 6f 63 6b 73 20 69 6e 20 74 68 65 20 64 72 79 65 72 2e
Spaces between pairs make a long line readable, and the decoder accepts the same line with the spaces removed.
UTF-8 encodes U+00C5 as the bytes C3 85. The code point page would show U+00C5. This page shows bytes.
No. Pairs are bare lowercase hex, separated by spaces. 4f, not 0x4f.
Yes. Direction has encode and decode. The decoder page is the same codec with decode already selected.
A newline is the byte 0A. A tab is 09. They show up as pairs, which is often why the hex is longer than the text looked.