Hex to Ascii (String) Converter

To use this hex to string converter, type a hex value like 6C 6F 76 65 and into the left field below and hit the Convert button. You will get the according string.

swap conversion: Ascii Text To Hexadecimal Converter

Hexadecimal System (Hex System)

The hexadecimal system (shortly hex), uses the number 16 as its base (radix). As a base-16 numeral system, it uses 16 symbols. These are the 10 decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the first six letters of the English alphabet (A, B, C, D, E, F). The letters are used because of the need to represent the values 10, 11, 12, 13, 14 and 15 each in one single symbol.

Hex is used in mathematics and information technologies as a more friendly way to represent binary numbers. Each hex digit represents four binary digits; therefore, hex is a language to write binary in an abbreviated form.

Four binary digits (also called nibbles) make up half a byte. This means one byte can carry binary values from 0000 0000 to 1111 1111. In hex, these can be represented in a friendlier fashion, ranging from 00 to FF.

In html programming, colors can be represented by a 6-digit hexadecimal number: FFFFFF represents white whereas 000000 represents black.

ASCII Text

ASCII (American Standard Code for Information Interchange) is one of the most common character encoding standards. Originally developed from telegraphic codes, ASCII is now widely used in electronic communication for conveying text.

As computers can only understand numbers, the ASCII code represents text (characters) with different numbers. This is how a computer ‘understands’ and shows text.

The original ASCII is based on 128 characters. These are the 26 letters of the English alphabet (both in lower and upper cases); numbers from 0 to 9; and various punctuation marks. In the ASCII code, each of these characters are assigned a decimal number from 0 to 127. For example, the ASCII representation of upper case A is 65 and the lower case a is 97.

Hex to Ascii (String) Conversion

The string for a given hex number will depend on the programming language of the string. Theoretically you can invent your own alphabet and language, encode it and produce strings.

In ASCII, which is one of the most common encoding systems, a few conversion examples are as follows:

48 65 6C 6C 6F = Hello
68 65 6C 6C 6F = hello
47 6F 6F 64 20 6D 6F 72 6E 69 6E 67 = Good morning
6C 6F 76 65 = love
4C 6F 76 65 = Love

Ascii Text To Hexadecimal Converter


Recent Comments
CowboyGeek 2022-08-23 01:48:35

Removing the 0x worked like a charm. Thanks for the tip.

karx 2021-07-31 17:31:20

Make sure to remove the "0x" from the beginning if you're having issues.

Guest 2020-12-02 22:08:49

@MARK Are you sure that the hex you copied was supposed to be ASCII encoded? Maybe it was UTF-8, or maybe even not text at all, just binary data for something?

MARK 2020-11-01 14:39:29

I used your "HEX to ASCII" converter to translate a string of HEX digits. I acquired the string from a program's code during a comparison of two files to see if they were the same. I did this in a program called Beyond Compare. The purpose of BC is to check a file at different levels, HEX, Binary, and Text... The string converted to symbols, squares, question marks... Is this because the string is compressed/written in a programing language?

Share Your Comments