Binary Code Converter - Translator - Online Decoder (2025)

  1. Mathematics
  2. Arithmetics
  3. Binary Code

Binary to Text (ASCII) Converter

The binary is often used to encode text in ASCII, use the dedicated page to translate binary into text (and vice versa):

⮞ Go to: ASCII Code

Binary to Numbers Converter

Binary Converter/Encoder

Answers to Questions (FAQ)

What is binary code? (Definition)

The binary system is a numeration (writing of numbers) in base 2 (so with only 2 digits). The binary digits/symbols are called bits and generally denoted zero and one (0 and 1).

How to convert a number into binary?

To convert a number $ N $ to binary (format with zeros and ones) consists in an arithmetic base conversion from base 10 (decimal base noted $ N_{10} $) to base 2 (natural binary code noted $ N_{2} $).

Example: $ 5_{10} = 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 = 101_{2} $

The method consists in making successive divisions by $ 2 $ and noting the remainder ($ 0 $ or $ 1 $) in the reverse order.

Example: With the number 6: $ 6/2 = 3 $ remains $ 0 $, then $ 3/2 = 1 $ remains $ 1 $, then $ 1/2 = 0 $ remains $ 1 $. The successive remainders are $ 0,1,1 $ so $ 6_{10} $ is written $ 110_{2} $ in binary.

NB: A number in binary is a sequence of bits in a sequence, where each position has a value which is a power of 2.

How to convert a text into binary?

Associate with each letter of the alphabet a number, for example by using the A1Z26 code or the ASCII code. This will replace each letter by a number that can then be converted to binary (see above).

Example: AZ is 65,90 (ASCII code) so 1000001,1011010 in binary

Similarly for binary to text translation, convert the binary to a number and then associate that number with a letter in the desired code.

How to convert from binary?

A binary converter realizes a base conversion from base 2 to base 10

Example: 111 (base 2) = 1*2^2+1*2^1+1*2^0 = 7 (base 10)

What is binary encoding?

Binary can store any number. From a coding table, it is therefore possible to code anything in binary.

The most common encoding in computer science is the ASCII code, for which A=65, B=66 etc.

There are other classic codes like A1Z26 (where A=1 and Z=26)

Any encoding can have its binary form.

What is binary language?

Binary language is an abusive expression that does not mean much. There is no binary language. However, in computer science, any programming language has a translation into machine language, which itself can be written based on numbers, and therefore in binary. This is probably the sort of thing that is implied by the term binary language.

How to translate binary?

The binary does not directly translate, any number encoded in binary remains a number. On the other hand, it is common in computer science to use binary to store text, for example by using the ASCII table, which associates a number with a letter. An ASCII translator is available on dCode.

What is a bit? (Definition)

A bit (contraction of binary digit) is a symbol in the binary notation: 0 or 1.

Why define a number of bits?

In computer informatics, size is limited, numbers are stocked in memory cells of size N where N is the number of bits.

How many bits are necessary to represent a number?

This depends on the size of the number, here are the min-max intervals:

0-11
2-32
4-73
8-154
16-315
32-636
64-1277
128-2558
256-5119
512-102310
1024-204711
2048-409512
2^(n-1) - (2^n)-1n

How to convert a binary number to a decimal point?

If the number is written in the format bbbb.bbb (with b a 0 or a 1), then use the base N converter tool on dCode.

If the number is stored in a format defined as IEEE 754 (floating point arithmetic standard) then refer to the standard used.

Why is there 10 kinds of people in the world?

There are 10 kinds of people in the world, those that understand binary, and those that don't!

10 in binary equals 2 in decimal.

Source code

dCode retains ownership of the "Binary Code" source code. Except explicit open source licence (indicated Creative Commons / free), the "Binary Code" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Binary 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 "Binary 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 "Binary Code" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Binary Code on dCode.fr [online website], retrieved on 2024-12-13, https://www.dcode.fr/binary-code

Binary Code Converter - Translator - Online Decoder (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Eusebia Nader

Last Updated:

Views: 5636

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Eusebia Nader

Birthday: 1994-11-11

Address: Apt. 721 977 Ebert Meadows, Jereville, GA 73618-6603

Phone: +2316203969400

Job: International Farming Consultant

Hobby: Reading, Photography, Shooting, Singing, Magic, Kayaking, Mushroom hunting

Introduction: My name is Eusebia Nader, I am a encouraging, brainy, lively, nice, famous, healthy, clever person who loves writing and wants to share my knowledge and understanding with you.