Skip to content
๐Ÿ”ข

Binary Converter

Developer

Convert between binary, decimal, hexadecimal, and octal number systems. Support for signed integers and more.

0
0
Conversion Mode
Text Input

Enter text or binary above to convert between the two, byte by byte.

Examples

Hello:01001000 01100101 01101100 01101100 01101111
World:01010111 01101111 01110010 01101100 01100100
ASCII 65:01000001 = A

A negative number in binary isn't just a positive number's bit pattern with a minus sign tacked on, it's represented through two's complement, a specific encoding where flipping every bit and adding one produces the negative equivalent, which is genuinely non-obvious the first time you actually need to read or construct a negative binary value by hand. This tool converts between binary, decimal, hexadecimal, and octal with explicit support for signed integers, correctly handling the two's complement representation rather than only covering positive, unsigned values.

See more about the Binary Converter

Useful for understanding how a negative number is actually stored in binary rather than guessing at the pattern, converting a signed integer between number systems without the negative sign getting lost or misrepresented, or working through a systems programming or computer architecture problem that specifically deals with signed binary representation.

Key features

  • Clean interface
  • Fast processing
  • No signup required
  • Works offline

Quick answers for Binary Converter

Does this convert numbers between bases like binary-to-hex?
No. This tool converts text to and from raw binary byte values (each character becomes an 8-bit ASCII code and back), not numeric base conversion. For converting a number like 255 into binary, use a base or hex converter instead.
What format does the binary output use?
Each character becomes an 8-bit binary byte, zero-padded and separated by spaces, for example "Hello" becomes five space-separated 8-bit groups, one per letter.
What happens if I paste invalid binary in Binary to Text mode?
You'll get an explicit "Invalid binary string" error if the cleaned input contains anything other than 0s and 1s, rather than a garbled or silently wrong text result.