About the Byte to ASCII Converter
A byte dump is what you get out of a packet capture, a hex editor, a serial monitor or a log that printed a buffer instead of a message. Each value between 0 and 255 stands for one character, and this converter turns the whole run back into text. The base is detected from the values themselves: a 0x prefix or any letter from a to f means hex, eight character groups of ones and zeros mean binary, and everything else is read as decimal. Pin the base in the toolbar when the sample is ambiguous, for example 10 11 12, which is valid in three bases at once.
Separators are flexible. Spaces, commas, semicolons and colons all work, and an unbroken hex string such as 48656C6C6F is split into pairs automatically. Line structure is preserved, so twenty captured packets on twenty lines come back as twenty decoded lines rather than one run on paragraph.
Bytes above 127 are where encodings diverge. UTF-8 mode groups continuation bytes so that C3 A9 decodes to a single accented character, which is what modern protocols send. Latin-1 mode maps every byte straight to the code point of the same number, which is what older Windows systems and many serial devices produce. Control bytes below 32 are shown as dots by default, can be escaped as \x0A style sequences, or kept raw when you need the real newlines back. Tick the byte table to get a decimal, hex, binary and character row for every byte. To go the other way, open Text to Binary or Hex Encode.
How to use
- Paste the byte values, one packet or record per line.
- Leave the base on Auto detect, or pin it when the values could be read in more than one base.
- Pick UTF-8 for modern data or Latin-1 for a legacy device dump.
- Tick Append byte table to see each byte in decimal, hex and binary next to its character.
Common questions
- Why do I see dots in the output?
- Those are control bytes below 32, such as a line feed or a null. Switch the control byte option to Escape to see which one it was, or to Keep raw to restore them.
- A byte value of 300 was rejected. Why?
- A byte only holds 0 to 255. A value above that means the numbers are code points rather than bytes, so use the Decimal to ASCII Converter instead.
- Can I paste a hex string with no spaces?
- Yes. An even length hex run is split into pairs automatically, so 48656C6C6F decodes without any editing.
- What is the difference between UTF-8 and Latin-1 here?
- UTF-8 joins multi byte sequences into one character, while Latin-1 maps each byte to the code point of the same value. They agree for every byte below 128.