ASCII, Hex, Binary, Decimal, Base64 Converter use online free
ASCII text to hex conversion table
ASCII Character | Hexadecimal | Binary | Decimal |
---|---|---|---|
NUL | 00 | 00000000 | 0 |
SOH | 01 | 00000001 | 1 |
STX | 02 | 00000010 | 2 |
ETX | 03 | 00000011 | 3 |
EOT | 04 | 00000100 | 4 |
ENQ | 05 | 00000101 | 5 |
ACK | 06 | 00000110 | 6 |
BEL | 07 | 00000111 | 7 |
BS | 08 | 00001000 | 8 |
HT | 09 | 00001001 | 9 |
LF | 0A | 00001010 | 10 |
VT | 0B | 00001011 | 11 |
FF | 0C | 00001100 | 12 |
CR | 0D | 00001101 | 13 |
SO | 0E | 00001110 | 14 |
SI | 0F | 00001111 | 15 |
DLE | 10 | 00010000 | 16 |
DC1 | 11 | 00010001 | 17 |
DC2 | 12 | 00010010 | 18 |
DC3 | 13 | 00010011 | 19 |
DC4 | 14 | 00010100 | 20 |
NAK | 15 | 00010101 | 21 |
SYN | 16 | 00010110 | 22 |
ETB | 17 | 00010111 | 23 |
CAN | 18 | 00011000 | 24 |
EM | 19 | 00011001 | 25 |
SUB | 1A | 00011010 | 26 |
ESC | 1B | 00011011 | 27 |
FS | 1C | 00011100 | 28 |
GS | 1D | 00011101 | 29 |
RS | 1E | 00011110 | 30 |
US | 1F | 00011111 | 31 |
Space | 20 | 00100000 | 32 |
! | 21 | 00100001 | 33 |
“ | 22 | 00100010 | 34 |
# | 23 | 00100011 | 35 |
$ | 24 | 00100100 | 36 |
% | 25 | 00100101 | 37 |
& | 26 | 00100110 | 38 |
‘ | 27 | 00100111 | 39 |
( | 28 | 00101000 | 40 |
) | 29 | 00101001 | 41 |
* | 2A | 00101010 | 42 |
+ | 2B | 00101011 | 43 |
, | 2C | 00101100 | 44 |
– | 2D | 00101101 | 45 |
. | 2E | 00101110 | 46 |
/ | 2F | 00101111 | 47 |
0 | 30 | 00110000 | 48 |
1 | 31 | 00110001 | 49 |
2 | 32 | 00110010 | 50 |
3 | 33 | 00110011 | 51 |
4 | 34 | 00110100 | 52 |
5 | 35 | 00110101 | 53 |
6 | 36 | 00110110 | 54 |
7 | 37 | 00110111 | 55 |
8 | 38 | 00111000 | 56 |
9 | 39 | 00111001 | 57 |
: | 3A | 00111010 | 58 |
; | 3B | 00111011 | 59 |
< | 3C | 00111100 | 60 |
= | 3D | 00111101 | 61 |
> | 3E | 00111110 | 62 |
? | 3F | 00111111 | 63 |
@ | 40 | 01000000 | 64 |
A | 41 | 01000001 | 65 |
B | 42 | 01000010 | 66 |
C | 43 | 01000011 | 67 |
D | 44 | 01000100 | 68 |
E | 45 | 01000101 | 69 |
F | 46 | 01000110 | 70 |
G | 47 | 01000111 | 71 |
H | 48 | 01001000 | 72 |
I | 49 | 01001001 | 73 |
J | 4A | 01001010 | 74 |
K | 4B | 01001011 | 75 |
L | 4C | 01001100 | 76 |
M | 4D | 01001101 | 77 |
N | 4E | 01001110 | 78 |
O | 4F | 01001111 | 79 |
P | 50 | 01010000 | 80 |
Q | 51 | 01010001 | 81 |
R | 52 | 01010010 | 82 |
S | 53 | 01010011 | 83 |
T | 54 | 01010100 | 84 |
U | 55 | 01010101 | 85 |
V | 56 | 01010110 | 86 |
W | 57 | 01010111 | 87 |
X | 58 | 01011000 | 88 |
Y | 59 | 01011001 | 89 |
Z | 5A | 01011010 | 90 |
[ | 5B | 01011011 | 91 |
\ | 5C | 01011100 | 92 |
] | 5D | 01011101 | 93 |
^ | 5E | 01011110 | 94 |
_ | 5F | 01011111 | 95 |
` | 60 | 01100000 | 96 |
a | 61 | 01100001 | 97 |
b | 62 | 01100010 | 98 |
c | 63 | 01100011 | 99 |
d | 64 | 01100100 | 100 |
e | 65 | 01100101 | 101 |
f | 66 | 01100110 | 102 |
g | 67 | 01100111 | 103 |
h | 68 | 01101000 | 104 |
i | 69 | 01101001 | 105 |
j | 6A | 01101010 | 106 |
k | 6B | 01101011 | 107 |
l | 6C | 01101100 | 108 |
m | 6D | 01101101 | 109 |
n | 6E | 01101110 | 110 |
o | 6F | 01101111 | 111 |
p | 70 | 01110000 | 112 |
q | 71 | 01110001 | 113 |
r | 72 | 01110010 | 114 |
s | 73 | 01110011 | 115 |
t | 74 | 01110100 | 116 |
u | 75 | 01110101 | 117 |
v | 76 | 01110110 | 118 |
w | 77 | 01110111 | 119 |
x | 78 | 01111000 | 120 |
y | 79 | 01111001 | 121 |
z | 7A | 01111010 | 122 |
{ | 7B | 01111011 | 123 |
| | 7C | 01111100 | 124 |
} | 7D | 01111101 | 125 |
~ | 7E | 01111110 | 126 |
DEL | 7F | 01111111 | 127 |
How to Use the ASCII, Hex, Binary, Decimal, Base64 Converter
This ASCII, Hex, Binary, Decimal, Base64 Converter is a versatile tool designed to help you convert text between different encoding systems, including ASCII, hexadecimal, binary, decimal, and Base64. Additionally, it calculates the length of the text in bytes and provides a checksum using either the sum or XOR method.
Step-by-Step Guide:
Enter ASCII Text:
- In the ASCII Text input area, type or paste the text you want to convert.
- As you type, the tool will automatically convert the input text to the corresponding hexadecimal, binary, decimal, and Base64 formats.
View Converted Outputs:
- Hexadecimal Output: This section displays the hexadecimal representation of each character in your ASCII input.
- Binary Output: Here, you’ll see the binary equivalent of your ASCII input.
- Decimal Output: This field shows the decimal (base 10) values of each character in your text.
- Base64 Output: This output provides the Base64 encoded string of your input text, commonly used in encoding binary data like images or files in a text format.
Length in Bytes:
- The Length (bytes) field automatically calculates and displays the number of bytes (characters) in your ASCII input.
Checksum Calculation:
- Select Checksum Algorithm: Use the dropdown menu to choose either the Sum or XOR algorithm for checksum calculation.
- Sum: Adds up the ASCII values of all characters.
- XOR: Performs a bitwise XOR operation on the ASCII values of all characters.
- The checksum result is displayed in hexadecimal format in the Checksum Output field.
- Select Checksum Algorithm: Use the dropdown menu to choose either the Sum or XOR algorithm for checksum calculation.
Convert Button:
- If the automatic conversion is not triggered, you can manually convert the input by clicking the Convert button.
Reset Fields:
- Click the Reset button to clear all input and output fields, allowing you to start a new conversion.
Applications of the ASCII, Hex, Binary, Decimal, Base64 Converter
This converter has a wide range of applications across different fields, including computer science, cybersecurity, data encoding, and more. Here are some common use cases:
1. Programming and Development:
- Character Encoding: Programmers often need to convert between different encoding formats, such as converting ASCII text to hexadecimal or binary for low-level programming tasks.
- Debugging: When dealing with raw data or debugging low-level code, developers may need to view data in its hexadecimal or binary form.
- Data Serialization: Converting data to Base64 is a common method for encoding binary data as text, particularly when transmitting data over media that are designed to deal with textual data.
2. Cybersecurity:
- Data Analysis: Security analysts often need to analyze data in different formats, such as binary or hexadecimal, when investigating malware, vulnerabilities, or other security incidents.
- Hashing and Checksums: The checksum feature can be used to validate data integrity by ensuring that the data has not been altered during transmission or storage.
3. Data Encoding/Decoding:
- File Encoding: When transferring binary data (such as images or files) as text, Base64 encoding is often used. This converter can help you quickly encode or decode such data.
- Data Storage: Some systems store data in hexadecimal or binary formats. This tool helps convert human-readable text into these formats for storage or retrieval.
4. Educational Use:
- Learning Encoding Systems: This converter is a valuable educational tool for students learning about different encoding systems and how they relate to one another.
- Exploring Data Representation: By converting the same text into different formats, students can better understand how data is represented and manipulated at a low level in computers.
5. Telecommunications:
- Protocol Analysis: In telecommunications, understanding and analyzing data packets often require viewing data in hexadecimal or binary form. This tool can aid in converting and interpreting such data.
Conclusion
The ASCII, Hex, Binary, Decimal, Base64 Converter is a powerful tool with a variety of applications, from programming and data encoding to cybersecurity and education. Whether you need to convert text for low-level programming, analyze data in different formats, or ensure the integrity of your data with checksum calculations, this tool provides a comprehensive solution. With its intuitive interface and automatic conversion features, it’s easy to use, making it a valuable resource for professionals and students alike.