Skip to the tool
Binary Translator Free tools

Hex to ASCII converter

Paste hex and read it as ASCII. Strict ASCII is on, so any byte above 7F is pointed out rather than guessed.

Updated · Written and checked by Murugan Vellaichamy

Waiting for input
Text
Binary
Try:

Byte by byte

Every byte of your input, with the place values that add up to it. Hover a row to find that byte in the output.

CharacterBinaryPlace valuesDecimalHex

Hex ranges in ASCII

HexDecimalWhat they are
00 to 1F0 to 31Control characters, such as 09 tab, 0A line feed and 0D carriage return
2032Space
30 to 3948 to 57Digits 0 to 9
41 to 5A65 to 90Capital letters A to Z
61 to 7A97 to 122Small letters a to z
21 to 7E (the rest)33 to 126Punctuation and symbols
7F127DEL (delete)
80 to FF128 to 255Not ASCII: their meaning depends on the encoding

Why bytes above 7F aren’t ASCII

ASCII defines 128 characters, codes 0 to 127, which is 00 to 7F in hex. A byte from 80 to FF has no ASCII meaning. It may be part of a UTF-8 character (C3 A9 is “é”) or a single character in an older encoding such as Windows-1252 (E9 is also “é” there).

When the converter finds such a byte, it marks it and offers to read the input as UTF-8 instead. The hex to text converter starts in UTF-8 if that’s what you need.

Sources and method

Hex can be pasted as spaced pairs, one unbroken run (split into pairs), 0x prefixes or \x escapes. Each pair is one byte, and the bytes are decoded with the same rules as the binary translator.

The ASCII option here is strict 7-bit ASCII (codes 0 to 127, per RFC 20) and rejects anything else. Browsers treat the label “ascii” as Windows-1252, which is why the two are listed separately.

Questions

What is 0A 0D in hex?

0A is line feed and 0D is carriage return. Windows text files end each line with 0D 0A (CR LF); Linux and macOS use 0A alone.

Why does the converter reject C3?

C3 is 195, above ASCII’s range of 0 to 127. It usually starts a two-byte UTF-8 character; choose UTF-8 to read it.

Do I need spaces between bytes?

No. An unbroken run such as 414243 is split into pairs.

More converters

Copied