leftarrow icon
Encoder Icon

Hex Decoder - Hex Encoder

Convert Hexadecimal to Text (hex code decoder) or Text to Hexadecimal (hex code encoder) Online


Select Encode to convert from text to hex. Select Decode to convert from hex to text

      
upload-icon
two-way-icon
copy icondownload icon

Hexadecimal Decoder (base 16 to Ascii text) Table

Conversion Table Icon

Hex Code (0x30-0x7A)

Character

Decimal

30

0

48

31

1

49

32

2

50

33

3

51

34

4

52

35

5

53

36

6

54

37

7

55

38

8

56

39

9

57

41

A

65

42

B

66

43

C

67

44

D

68

45

E

69

46

F

70

47

G

71

48

H

72

49

I

73

4A

J

74

4B

K

75

4C

L

76

4D

M

77

4E

N

78

4F

O

79

50

P

80

51

Q

81

52

R

82

53

S

83

54

T

84

55

U

85

56

V

86

57

W

87

58

X

88

59

Y

89

5A

Z

90

61

a

97

62

b

98

63

c

99

64

d

100

65

e

101

66

f

102

67

g

103

68

h

104

69

i

105

6A

j

106

6B

k

107

6C

l

108

6D

m

109

6E

n

110

6F

o

111

70

p

112

71

q

113

72

r

114

73

s

115

74

t

116

75

u

117

76

v

118

77

w

119

78

x

120

79

y

121

7A

z

122

Hex Code (0x20-0x7E)

Character

Decimal

20

space

32

21

!

33

22

"

34

23

#

35

24

$

36

25

%

37

26

&

38

27

'

39

28

(

40

29

)

41

2A

*

42

2B

+

43

2C

,

44

2D

-

45

2E

.

46

2F

/

47

3A

:

58

3B

;

59

3C

<

60

3D

=

61

3E

>

62

3F

?

63

5B

[

91

5C

""

92

5D

]

93

5E

^

94

5F

_

95

7B

{

123

7C

|

124

7D

}

125

7E

~

126

More on Hexadecimal to Text and Text To Hexadecimal Converters

faq icon
  • The hexadecimal number system is a base-16 number system. This means that each digit can represent one of 16 values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. The hexadecimal number system is often used to represent binary data. This is because binary data is made up of 0s and 1s, and hexadecimal digits can be used to represent groups of 4 binary digits.
  • Hexadecimal to text conversion is used to convert hexadecimal numbers into human-readable text. This can be useful for debugging programs, analyzing data, and other tasks
  • Text to hexadecimal conversion is used to convert human-readable text into hexadecimal numbers. This can be useful for creating and editing programs, storing data, and other tasks.

Here are some specific examples of how hexadecimal to text and text to hexadecimal conversion are used:

  • Debugging programs: Programmers can use hex to text decoders to debug programs by converting the hexadecimal values of machine code instructions into human-readable text. This can help programmers to identify and fix errors in their code.
  • Analyzing data: Data analysts can use hex to text conversion (hex decoders) to analyze data that is stored in hexadecimal format. This can be useful for identifying trends, patterns, and other insights in the data.
  • Creating and editing programs:Programmers can use text to hex conversion (hex encoders) to create and edit programs in hexadecimal format. This can be useful for writing programs for embedded systems and other low-level systems.
  • Storing data: Data can be stored in hexa format to save space and improve efficiency. For example, images and other graphical data are often stored in hexadecimal format.

Note: This content was generated by Bard, a large language model from Google AI

Frequently Asked Questions on Hex Decoder and Hex Encoder

FAQ icon

  • Hexadecimal is a numbering system that uses 16 symbols to represent a digit/char (0,1,2,3,4,5,6,7,8,9 , A, B, C, D, E and F). This is also known as 'Base 16' numbering system.

  • Hex encoding involves converting the text input to hexadecimal equivalent representing every 4 bits to its base 16 value.

  • Hexadecimal encoding takes each of the 4 bits of a 8 bit char value and converts it to hex equivalent of it (0-9 and A-F for 10 to 15). Each char of the text with its binary equivalent (8 digits) is represented by 2 hexadecimal symbols. Every 4 bit ranges from 0 value (0000) to max value of 15 (1111) and gets mapped to 0 to F in hexa. For eg consider the letter 'K'. The decimal value is 75 and represented in 8 bits as 0100 1011. The 4 bits 1011 in hex is 'B' and the 4 bits 0100 in hex is 4 so K is 4B in hex.

  • 0x before the number means it is in hexadecimal format like 0x4B, 0x41. Alternately, it is also indicated by 'h' as suffix like 3Ah (means hex 3A or 0x3A).

  • It is more compact and a more human readable and understandable format than the binary system of 1's and 0's. Hexadecimal scheme is also used in URL encoding to escape special reserved characters for transmission over internet.

  • Yes, hexadecimal uses 0-9, A-F to represent the digits, It can be easily converted back to readable text format. In the conversion box above, you can input hexadecimal code in the output to view the text format automatically.

  • In Color coding, hex code is used to represent the Red, Green and Blue colors in hexadecimal format

  • See RGB To HEX for more details

  • 64 (0x64) is hex value for 100. C8 (0xC8) is hex value for 200

  • They are control characters also known as CRLF. 0A is line feed (LF). 0D is carriage return (CR)

  • Both are used to represent character codes and have different values to represent them. ASCII has a range from 0 to 127 to represent decimals and A-Z, a-z and other commonly used special chars. In Hexadecimal format, the same ASCII codes are in the range 00 to FF.

  • Hexadecimal uses 16 diff values 0-9, A-F to represent 8 bit of data. So 16 to the power of 7 is the total character that can be represented in hexadecimal format which is 235.4 million (235435456).

  • Hex encoding also called as base 16 and it uses 4 bits for represent a character. 1 byte for 2 chars. Base 64 uses 6 bits to represent a character. 12 bits (1 byte + 4 bits) for 2 characters and 4 bytes for 3 chars.

  • UTF-8 is the standard encoding used for encoding text. Every character in Unicode has a unique code point. UTF-8 is a variable width encoding format. It uses 1 byte (8 bits) to represent ascii range characters and extends to 2, 3 or 4 bytes to cover full range of charset. UTF-8 is apt for text encoding, hex encoding is more suitable for binary form of data.