What hex shows you about text that the text itself hides
A computer stores text as numbers, one or more bytes per character, and hexadecimal is the usual way to write those bytes down. A byte holds a number from 0 to 255. In hex, the digits run from 0 to 9 and then a to f for ten to fifteen, so any byte fits in exactly two digits: 0 is 00, 72 is 48 and 255 is ff. That neat fit, two characters per byte, every time, is why programmers read bytes in hex rather than in decimal, where a byte might take one, two or three digits.
Type "Hi" into the box above and you get 48 69. H is character 72, which is 48 in hex, and i is 105, which is 69. For plain English, one character is one byte, because those characters are ASCII, a table from the 1960s that UTF-8 kept for compatibility. Now try "café". The result is 63 61 66 c3 a9: five bytes for four characters. The é is not in ASCII, so UTF-8 writes it as two bytes. The first, c3, starts with the bits 110, which tells a reader that one more byte follows; the second, a9, starts with 10, which marks it as a continuation. Between them they carry the number 233, the code point of é.
That is the useful part of looking at text in hex: it shows things that look identical on screen but are not. A word with é typed as one character (c3 a9) and the same word typed as e followed by a combining accent (65 cc 81) look the same but compare as different strings. A non-breaking space shows up as c2 a0 instead of 20. A file that starts with ef bb bf has a byte order mark that some programs choke on. A curly quote is e2 80 99 where you expected 27. When two strings refuse to match, or a field is longer than it looks, the hex usually tells you why in a second.
Hex arrives in many shapes, depending on where it came from. A debugger prints spaced pairs, C source writes 0x48, 0x69, a Python bytes literal prints \x48\x69, and network tools use colons. The decoder accepts all of them: it ignores spaces, line breaks, commas, colons and semicolons, and drops 0x and \x prefixes before reading the digits. It does insist on two things. Every character left must be a hex digit, and there must be an even number of them, because each byte takes exactly two. When either rule fails, the message says where.
There is a limit worth stating. Not every run of bytes is text. Hex copied out of an image file or a network packet will often contain sequences that are not valid UTF-8, and printing them as characters would only produce a row of question marks. In that case the tool says the bytes are not UTF-8 text rather than guessing. It also does not convert numbers: the number 255 is ff, but the text "255" is three characters, 32 35 35, and this tool works on the text.