01010 Meaning in Binary
01010 is decimal 10 as an unsigned binary number, J in A1Z26, and R in international ITA2 letters mode. With three leading zeroes added, 00001010 is the ASCII line-feed character, not a letter.
01010 as an unsigned number
01010₂ = 8 + 2 = 10₁₀A1Z26 gives J. ITA2 letters mode gives R. Padded ASCII 00001010 gives LF (U+000A), a newline.
Try this example in the converter ↓On this page
A1Z26 maps decimal 10 to J. This is a teaching alphabet, not ASCII. Selecting another example resets the converter and replaces your edits.
A1Z26: A–Z = 00001–11010. This tool reserves 00000 for spaces; lowercase becomes uppercase.
Translate 01010 using a named format
The converter loads the A1Z26 example first. Choose an interpretation above to reproduce a different reading. The padded ASCII example deliberately uses eight bits; the original five-bit input is too short for ASCII or UTF-8 text decoding.
| Format | Input | Result | Required context |
|---|---|---|---|
| Unsigned integer | 01010 | 10 | 8 + 2 |
| A1Z26 | 01010 | J | A = 1, …, Z = 26 |
| International ITA2 | 01010 | R | Letters mode |
| International ITA2 | 01010 | 4 | Figures mode |
| ASCII / UTF-8 | 01010 | Incomplete group | Five bits are insufficient |
| ASCII in 8-bit storage | 00001010 | LF newline (U+000A) | Three leading zeroes added |
Calculate the value by hand
The five bit weights are 16, 8, 4, 2 and 1. Reading 01010 left to right gives 0 × 16 + 1 × 8 + 0 × 4 + 1 × 2 + 0 × 1 = 10.
The strings 1010 and 01010 represent the same isolated unsigned integer. Keep the five-bit width when you are working with a five-bit alphabet. This example uses unsigned integers; a signed representation requires its own width and sign convention.
Why 00001010 looks blank in ASCII
ASCII decimal 10 is LF (line feed), which creates a line break. An output containing only LF can look empty. Select the padded ASCII preset and inspect the row: the displayed character is \n, its decimal byte is 10, and its hexadecimal byte is 0A.
Uppercase J is ASCII decimal 74, or 01001010. Lowercase j is decimal 106, or 01101010. A1Z26's J at value 10 does not change these ASCII assignments. A Windows-style CRLF line ending contains two bytes, 00001101 00001010; LF by itself is one byte.
01010 at the start of an eight-bit byte
Sometimes 01010 is not a complete code but the first five bits of a longer stream. If those bits begin an eight-bit ASCII byte, the next three bits choose one of eight uppercase letters, P through W (decimal 80–87). R, for example, is 01010010 — the same letter that ITA2 letters mode gives for 01010 alone, by coincidence rather than a shared rule.
Do not decode a byte from its first five bits. Copy the whole stream, split it into complete eight-bit groups from the first bit, and decode those groups together.
| Binary byte | Decimal | Hex | ASCII |
|---|---|---|---|
| 01010000 | 80 | 50 | P |
| 01010001 | 81 | 51 | Q |
| 01010010 | 82 | 52 | R |
| 01010011 | 83 | 53 | S |
| 01010100 | 84 | 54 | T |
| 01010101 | 85 | 55 | U |
| 01010110 | 86 | 56 | V |
| 01010111 | 87 | 57 | W |
01010, hex 0A and the newline byte
The low four bits 1010 are the hexadecimal digit A, so 01010 and 00001010 are both 0x0A, decimal 10. Programming languages often write this line-feed byte as \n, and hex dumps show it as 0A at the end of each Unix-style line.
Seeing 0A or 00001010 in a file therefore usually marks a line ending, not hidden text. Windows-style files typically show 0D 0A, which is CR followed by LF.
ITA2 R and the figure 4
International ITA2 assigns code 10 to R in letters mode and 4 in figures mode. For example, numeric MSB-first 11011 01010 first selects figures and then prints 4. A later 11111 restores letters mode.
01010 reads the same when reversed, so this one group is unchanged between numeric and element-1-first display. Other ITA2 groups are not symmetrical: bit order still matters for the surrounding message.
Frequently asked questions
Does 01010 mean J or R?
It means J under A1Z26 and R under international ITA2 in letters mode. The two alphabets assign letters differently. In ASCII, uppercase J is 01001010 and uppercase R is 01010010.
PermalinkWhy does a 01010 translator show a blank result?
A tool that explicitly pads 01010 to 00001010 can decode it as LF, an ASCII newline. It is a valid non-printing character. A strict byte decoder given only the original five bits should report an incomplete group instead.
PermalinkCan 01010 mean the digit 4?
Yes, in international ITA2 figures mode. In letters mode the same code is R. This site's decoder starts in letters mode; select ITA2 and enter 11011 01010 in numeric bit order to reproduce the figures reading.
PermalinkAre 01010 and 1010 the same binary number?
Both equal decimal 10 as unsigned integers. Their widths differ. Preserve leading zeroes in fixed-width character codes and byte streams so that each group keeps its intended boundary.
Permalink↑ Back to the converter · Page contents
Sources & verification
Reference material used for this explanation. The examples are reproducible with the tools on this site; see how they are checked.
- RFC 20: ASCII character and control-code table
- ITU-T S.1 (03/93), Table 1: International Telegraph Alphabet No. 2
Found a mismatch? Send a correction with a source.