Binary Converter
Convert between binary, hex, decimal, and octal in one place. Free number-base converter — private and instant.
A binary converter rewrites one whole number as binary, octal, decimal, or hexadecimal.
Example: 255 = 11111111 = FF = 377
Text tools on this site use UTF-8 (the letter A is the byte 01000001). This page converts a whole number between bases and does not encode characters.
Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).
Binary, hex, decimal & octal explained
Binary uses digits 0 and 1 — the language of digital hardware. Hexadecimal packs four bits into one digit (0–F), which is why developers prefer it for memory dumps. Decimal is everyday base 10. Octal groups bits by threes and still appears in Unix permissions.
Need text instead of numbers? Use the text to binary or binary to text translators. For floating-point layouts, open the IEEE 754 calculator.
Quick conversion table
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 0 | 00000000 | 00 | 0 |
| 1 | 00000001 | 01 | 1 |
| 10 | 00001010 | 0A | 12 |
| 15 | 00001111 | 0F | 17 |
| 255 | 11111111 | FF | 377 |