T

Text Machine

Powerful text tools, in your browser

Binary ↔ Decimal Converter

Convert between binary (base-2) and decimal (base-10) number systems. Enter a value in either field to see the conversion.

Binary (Base-2)

Binary numbers use only 0's and 1's

Decimal (Base-10)

Standard base-10 number system (0-9 digits)

How to Use

Enter a valid binary number (composed of 0s and 1s) into the Binary field, and the Decimal equivalent will appear. Or, enter a decimal number into the Decimal field, and the Binary equivalent will appear.

Example: Binary '1101' is Decimal '13'

How to use Binary ↔ Decimal Converter

  1. 1

    Enter binary digits

    Type or paste a binary number made up of 0s and 1s into the input field.

  2. 2

    Convert to decimal

    Run the conversion to instantly turn the binary value into its base-10 decimal equivalent.

  3. 3

    Read the result

    View the decimal number in the output area, ready to use or verify.

  4. 4

    Copy the answer

    Copy the decimal result to your clipboard for use in code, homework, or documents.

Frequently asked questions

How does binary-to-decimal conversion work?
Each binary digit represents a power of two; the tool multiplies every 1 by its positional value (1, 2, 4, 8, 16, and so on) and adds the results to produce the decimal number.
What characters are valid in the input?
Only the digits 0 and 1 are valid binary characters. If you enter other digits or letters, the input is not a valid binary number and the conversion will not be accurate.
Is there a limit on how large a binary number I can convert?
You can convert long binary strings, though extremely large values may exceed standard number precision; for typical bytes and integers the result is exact.
Can I convert decimal back to binary here?
This tool converts binary to decimal; for the reverse direction use a dedicated decimal-to-binary converter on the site.
Is the tool free and does it work offline in the browser?
Yes, it is completely free, requires no registration, and runs entirely in your browser so your numbers are never sent to a server.

Related tools

Keep going with these handy tools

Decimal ↔ Binary Converter

Unix Timestamp Converter

JSON to CSV Converter

JSON to YAML Converter

CSV to JSON Converter

Text to Binary Converter