Binary Converter: Binary, Octal, Decimal, Hex, Text and ASCII

See how Binary to Decimal works, step by step →

Binary, octal, decimal and hexadecimal are positional systems: each one writes the same value with a different digit set and a different weight for each place. Change the base and the notation changes; the quantity does not.

Binary is the pivot the other three turn on. One hexadecimal digit equals exactly 4 bits (16 = 2⁴); one octal digit equals exactly 3 bits (8 = 2³). Hex and octal are therefore converted by grouping bits, and hex ↔ octal passes through binary.

Text joins the family through the same door. Every character has a numeric code, and that code is then written in one of the four bases. A byte is 8 bits and holds 256 values, 0–255; a nibble is 4 bits. Binary code is the name for bits read as a code rather than as a number; what binary code is covers the distinction in full.

Notation tells you which base you are reading. 0b marks binary, 0o octal, 0x hexadecimal; a leading # marks a hex colour. Hexadecimal is not case-sensitive (FF = ff); iToolHub writes hex digits in uppercase. For the rules behind all of it, read how number-system conversion works.

All Binary Converters

Every ordered pair in this family has its own page: 25 converters, grouped by what you are starting from. With the guides that explain the methods behind them, the cluster runs to 30 live pages.

Binary to…

FromToTool
Binary Decimal Binary to Decimal
Binary Hexadecimal Binary to Hex
Binary Octal Binary to Octal
Binary Text Binary to Text
Binary ASCII code binary to ASCII converter

Decimal to…

FromToTool
Decimal Binary Decimal to Binary
Decimal Hexadecimal Decimal to Hex
Decimal Octal Decimal to Octal
Decimal Text decimal to ASCII converter

Hexadecimal to…

FromToTool
Hexadecimal Binary Hex to Binary
Hexadecimal Decimal Hex to Decimal
Hexadecimal Octal Hex to Octal
Hexadecimal Text Hex to Text
Hexadecimal ASCII code Hex to ASCII

Octal to…

FromToTool
Octal Binary Octal to Binary
Octal Decimal Octal to Decimal
Octal Hexadecimal Octal to Hex
Octal Text octal to text converter

Text and ASCII to…

FromToTool
Text Binary Text to Binary
Text Decimal text to decimal converter
Text Hexadecimal Text to Hex
Text Octal text to octal converter
Text ASCII code text to ASCII converter
ASCII code Binary ASCII to binary converter
ASCII code Text ASCII to text converter

Which Converter Do I Need?

Text or ASCII code?

A text converter takes whole strings and gives one byte per character; an ASCII converter takes one code at a time. For whole words, use a text tool such as text to ASCII converter.

Decimal number or decimal ASCII code?

65 as a number is 1000001 in binary; 65 as an ASCII code is the letter A. The tools differ because the frames differ, and decimal to ASCII converter reads codes.

Hex string or hex bytes?

0x2F is one number; 48 65 is a pair of bytes that spell He. Byte pairs belong in the hex text tools, starting with Hex to ASCII.

Octal digits or Unix permission?

755 is an octal number and also a chmod mode; the conversion is the same, the reading is not. Either way the digits go to Octal to Decimal.

The rule that decides is the same for every pair — how number base conversion works.

Conversion Tables

The tables live with the pages that own them.

How Number-System Conversion Works

Three method families cover every conversion in this cluster, and each one has a page that teaches it.

The full treatment of both universal methods, with worked examples, lives on how number base conversion works.

Guides

FAQs About Binary Conversion

What can a binary converter convert?

Any ordered pair of binary, decimal, hexadecimal, octal, text and ASCII codes, in both directions — Hex to Octal included.

What is a binary translator?

It is the everyday name for a text-to-binary converter, which is the job Text to Binary does.

What is the difference between a text converter and an ASCII converter?

One takes whole strings and writes a byte per character; the other takes a single code, like binary to ASCII converter.

Is a binary converter the same as a binary calculator?

No — a converter rewrites one value in another base, while arithmetic on binary values is a different job: binary addition and subtraction.