# Binary Converter > Convert between binary, decimal, hexadecimal, and octal as you type — exact for numbers of any size — with two's complement for 8/16/32/64 bits, bit and byte counts, step-by-step working, and a live binary clock. - Page: https://linguaholic.com/tools/binary-converter/ - Type: free online tool (Converters & translators), no sign-up, runs in the browser - Publisher: Linguaholic (https://linguaholic.com/), made by Marcel Iseli - Last updated: October 2, 2026 - Open it pre-filled: https://linguaholic.com/tools/binary-converter/?n=255 - `n`: the number to convert (decimal unless base is given; a 0b, 0x or 0o prefix sets the base by itself; a leading minus is allowed) (for example `255`) - `base`: base that n is written in: 2, 8, 10 or 16 (also binary, octal, decimal, hex) (for example `10`) - `bits`: width for the two's complement panel: 8, 16, 32 or 64 (for example `8`) ## How to use the binary converter A **binary converter** changes a number from one number system to another: binary (base 2), decimal (base 10), hexadecimal (base 16), and octal (base 8). Type a number into any box — **binary**, **decimal**, **hexadecimal**, or **octal** — and the other three update instantly. Prefixes like `0b`, `0x`, and `0o`, spaces, and underscores are all fine. Numbers of any size stay exact, from a single bit to 64-bit values and beyond. Below the boxes you’ll find the **two’s complement** form for 8, 16, 32, and 64 bits and the full working for each conversion. ## Binary to decimal To convert **binary to decimal**, write the place values over the bits — 1, 2, 4, 8, 16 … from right to left — and add the place values wherever there’s a 1. Example: `101101` = 32 + 8 + 4 + 1 = **45**. The converter shows this sum for every number you type. ## Frequently asked questions **How do I convert binary to decimal?** Type the binary number in the Binary box and the decimal value appears instantly. By hand: add the place values (1, 2, 4, 8, 16 …) wherever there's a 1 — 101101 = 32 + 8 + 4 + 1 = 45. The converter shows this sum for you. **How do I convert decimal to binary?** Type the number in the Decimal box. By hand, divide by 2 repeatedly and read the remainders from bottom to top — the converter shows the full division table. **How do I convert binary to hex?** Split the bits into groups of four from the right and replace each group with a hex digit: 1010 1111 = AF. The converter does it instantly in both directions. **What is two's complement?** It's how computers store negative numbers. Flip all the bits of the positive number and add 1: −5 in 8 bits is 11111011. Choose 8, 16, 32 or 64 bits to see any value. **How large a number can it convert?** Any size — the converter uses exact arithmetic, so 64-bit values and much larger numbers are converted without rounding. **Is anything uploaded?** No. Everything runs in your browser — nothing you type is uploaded or stored. ## Related tools - [Morse Code Translator](https://linguaholic.com/tools/morse-code-translator/): Translate text to Morse code and decode it back, hear it as adjustable-speed sound with a visual flasher, and read the full Morse alphabet, number, and punctuation chart. - [Roman Numeral Converter](https://linguaholic.com/tools/roman-numeral-converter/): Convert numbers to Roman numerals and back in one box, write big numbers with the bar on top, turn any date into Roman numerals for a tattoo, add and multiply Roman numerals, and practice with a quick quiz — plus a full chart. - [Binary Translator](https://linguaholic.com/tools/binary-translator/): Translate text to binary and binary code back to text — auto-detects what you paste, works with every language and emoji (UTF-8), shows each character's code, decimal, hex and binary, and includes a full binary alphabet chart. - [Binary Calculator](https://linguaholic.com/tools/binary-calculator/): Add, subtract, multiply and divide binary numbers with every carry and borrow shown, plus two’s complement, AND, OR, XOR, NOT and shifts, and answers in four bases. - [NATO Phonetic Alphabet](https://linguaholic.com/tools/nato-phonetic-alphabet/): Spell any name or code in the NATO phonetic alphabet (Alpha, Bravo, Charlie…), hear it word by word, decode code words, practice with quick drills, and print the chart — with the police and WWII alphabets too. - [Braille Translator](https://linguaholic.com/tools/braille-translator/): Translate English to braille and braille back to text in Unified English Braille, with dot numbers for every cell, a name-in-braille maker and printable charts.