What ascii character is represented by the binary (base 2) number 1001010 ?

  1. Informatics
  2. Character Encoding
  3. ASCII Code

ASCII Converter

ASCII Encoder

The ASCII character coding standard describes a correspondence table for coding characters (letters, numbers, symbols) on a computer. This standard was defined in 1975 and contains 128 7-bit codes including 95 printable characters.

Today this standard is old and has been superseded by Unicode, which is backward compatible with ASCII.

Encryption consists of replacing each character with its value in the ASCII table (see below).

Example: Convert dCode string in ASCII, that is writing 1100100 1000011 1101111 1100100 1100101 in binary (7-bit) or 100 67 111 100 101 in decimal.

Characters which don't exist in the encoding table cannot be coded (no special characters, accents, etc.)

ASCII conversion consists of replacing each value (binary, octal, decimal or hexadecimal) with the corresponding character in the ASCII table. Its representation can be formatted into binary (0-1), octal (0-7), decimal (0-9) or hexadecimal (0-9a-f).

Example:

ASCII Values (Format)Texte clair
65 77 69 82 73 67 65 78 (Decimal)AMERICAN
83 116 97 110 100 97 114 100 (Decimal)Standard
1000011 1001111 1000100 1000101 (Binary 7bit)CODE
49 4E 46 4F 52 4D 41 54 49 4F 4E (Hexadecimal)INFORMATION
111 116 124 105 122 103 110 101 116 107 105 (Octal)INTERCHANGE

The message is generally written either in binary, or in decimal, or in hexadecimal (or rarely in octal).

The most frequent values must correspond to letters characters lowercase or uppercase (between 65 and 122 in decimal)

Any reference to skiing (ASCII ≈ a ski) is a clue.

The ASCII code is almost always represented on 1 byte (8bits) even if it occupies only 7bits.

In binary, use either 7 bits or 8 bits (by adding a leading zero) to represent an ASCII character.

In octal, it is represented with 3 characters (from 000 to 177).

In decimal, the number is between 1 and 128 (from 1 to 3 characters).

In hexadecimal, 2 characters are used (from 00 to 7f).

In the ASCII code there is a difference of 32 between an uppercase letter and a lowercase letter. So add 32 to the ASCII code of a capital letter to get a lowercase and subtract 32 from the ASCII code of a lowercase letter to have a capital letter. The corresponding binary operation consists in setting the 5th bit (starting from the right) to 0 (upper case) or 1 (lower case).

Example: A=0100001 (65) and a=0110001 (65+32=97)

This trick does not work for accented letters, which are not in the basic ASCII table

Full 7-bit ASCII table

DecimalOctalHexBinaryCharacterInfo
000000000000000NUL(Null char.)
001001010000001SOH(Start of Header)
002002020000010STX(Start of Text)
003003030000011ETX(End of Text)
004004040000100EOT(End of Transmission)
005005050000101ENQ(Enquiry)
006006060000110ACK(Acknowledgment)
007007070000111BEL(Bell)
008010080001000BS(Backspace)
009011090001001HT(Horizontal Tab)
0100120A0001010LF(Line Feed)
0110130B0001011VT(Vertical Tab)
0120140C0001100FF(Form Feed)
0130150D0001101CR(Carriage Return)
0140160E0001110SO(Shift Out)
0150170F0001111SI(Shift In)
016020100010000DLE(Data Link Escape)
017021110010001DC1(XON)(Device Control 1)
018022120010010DC2(Device Control 2)
019023130010011DC3(XOFF)(Device Control 3)
020024140010100DC4(Device Control 4)
021025150010101NAK(Negative Acknowledgement)
022026160010110SYN(Synchronous Idle)
023027170010111ETB(End of Trans. Block)
024030180011000CAN(Cancel)
025031190011001EM(End of Medium)
0260321A0011010SUB(Substitute)
0270331B0011011ESC(Escape)
0280341C0011100FS(File Separator)
0290351D0011101GS(Group Separator)
0300361E0011110RS(Request to Send)(Record Separator)
0310371F0011111US(Unit Separator)
032040200100000SP(Space)
033041210100001!
034042220100010"
035043230100011#
036044240100100$
037045250100101%
038046260100110&
039047270100111'
040050280101000(
041051290101001)
0420522A0101010*
0430532B0101011+
0440542C0101100,
0450552D0101101-
0460562E0101110.
0470572F0101111/
0480603001100000
0490613101100011
0500623201100102
0510633301100113
0520643401101004
0530653501101015
0540663601101106
0550673701101117
0560703801110008
0570713901110019
0580723A0111010:
0590733B0111011;
0600743C0111100<
0610753D0111101=
0620763E0111110>
0630773F0111111?
064100401000000@
065101411000001A
066102421000010B
067103431000011C
068104441000100D
069105451000101E
070106461000110F
071107471000111G
072110481001000H
073111491001001I
0741124A1001010J
0751134B1001011K
0761144C1001100L
0771154D1001101M
0781164E1001110N
0791174F1001111O
080120501010000P
081121511010001Q
082122521010010R
083123531010011S
084124541010100T
085125551010101U
086126561010110V
087127571010111W
088130581011000X
089131591011001Y
0901325A1011010Z
0911335B1011011[
0921345C1011100\
0931355D1011101]
0941365E1011110^
0951375F1011111_
096140601100000`
097141611100001a
098142621100010b
099143631100011c
100144641100100d
101145651100101e
102146661100110f
103147671100111g
104150681101000h
105151691101001i
1061526A1101010j
1071536B1101011k
1081546C1101100l
1091556D1101101m
1101566E1101110n
1111576F1101111o
112160701110000p
113161711110001q
114162721110010r
115163731110011s
116164741110100t
117165751110101u
118166761110110v
119167771110111w
120170781111000x
121171791111001y
1221727A1111010z
1231737B1111011{
1241747C1111100|
1251757D1111101}
1261767E1111110~
1271777F1111111DEL(Delete)

Use another coding table, such as Unicode or in Europe the norm ISO/CEI 8859-1 Latin which includes the ASCII table in its first part (from 0 to 127) then specific characters for the following numbers (128-255).

_0_1_2_3_4_5_6_7_8_9_A_B_C_D_E_F
0_
1_
2_!"#$%&'()*+,-./
3_0123456789:;<=>?
4_@ABCDEFGHIJKLMNO
5_PQRSTUVWXYZ[\]^_
6_`abcdefghijklmno
7_pqrstuvwxyz{|}~
8_
9_
A_¡¢£¤¥¦§¨©ª«¬-®¯
B_°±²³´µ·¸¹º»¼½¾¿
C_ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
D_ÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß
E_àáâãäåæçèéêëìíîï
F_ðñòóôõö÷øùúûüýþÿ

All non-visible characters are control characters (see ASCII table from 1 to 31)

dCode retains ownership of the "ASCII Code" source code. Except explicit open source licence (indicated Creative Commons / free), the "ASCII Code" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "ASCII Code" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "ASCII Code" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "ASCII Code" or any of its results, is allowed as long as you cite dCode! Cite as source (bibliography):

ASCII Code on dCode.fr [online website], retrieved on 2022-08-02, //www.dcode.fr/ascii-code

Summary


 

Feedback

Toplist

Latest post

TAGs