Binary translator and number converter

Convert decimal numbers to binary and back, or translate UTF-8 text into binary bytes. Copy or download the result in your browser.

Processed in your browser: your data are not uploaded.

Set your data

Set your data

Nonnegative integers: up to 4,096 input binary bits or 1,234 decimal digits. Text: up to 8,192 UTF-8 bytes. Two’s complement and floating-point formats are not supported.

Result

Enter your values to see the result.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use it

Choose a number conversion or UTF-8 text. Paste the input, convert, then copy or download the output. Binary digits may be separated by whitespace.

Method

Binary digits represent powers of two. Text uses eight-bit UTF-8 bytes: accented characters, ideographs and emoji may need several bytes.

Reading the result

Leading zeroes do not change a numeric value and may disappear. In text mode each byte has eight bits, with spaces separating bytes.

Worked example

Input
42
Result
42 = 2 5 + 2 3 + 2 1

Calculation steps

  1. Binary → decimal

    2 5 + 2 3 + 2 1 = 32 + 8 + 2 = 42

Binary digits represent powers of two. Text uses eight-bit UTF-8 bytes: accented characters, ideographs and emoji may need several bytes.

Limits and data handling

Nonnegative integers: up to 4,096 input binary bits or 1,234 decimal digits. Text: up to 8,192 UTF-8 bytes. Two’s complement and floating-point formats are not supported.

Processing takes place in your browser. The tool does not save the values you enter.

Sources

Frequently asked questions

Are leading zeroes preserved?

Leading zeroes do not change a numeric value and may disappear. In text mode each byte has eight bits, with spaces separating bytes. Processing takes place in your browser. The tool does not save the values you enter.

Favorites