Convert between binary, octal, decimal, hex and any custom base (2–36) — with bit view & two's complement
Type in any field — all others update instantly
| Dec | Bin | Oct | Hex | Char |
|---|
Convert integers between any number bases from binary (base 2) to hexadecimal (base 16) and beyond, up to base 36. Features a real-time bit visualiser showing individual bit states in 8, 16, 32 and 64-bit representations, plus step-by-step conversion explanations for learning.
All four standard bases (binary, octal, decimal, hex) update simultaneously as you type.
Convert to any base from 2 to 36. Base 32 and 36 use alphanumeric digits (A–Z).
See individual bits highlighted in 8, 16, 32 and 64-bit layouts with a count of set bits.
View every representation simultaneously: two's complement, scientific notation, octal and more.
Detailed division algorithm walkthrough shows exactly how the conversion is performed.
Interactive 0–15 reference table — click any row to load that number instantly.
When working with HTML colour codes, you're using hexadecimal! #FF5733 means Red=255 (FF), Green=87 (57), Blue=51 (33) in decimal. Use this tool to convert any colour component between hex and decimal instantly.
| Base | Name | Digits Used | Prefix | Common Use |
|---|---|---|---|---|
| 2 | Binary | 0, 1 | 0b | CPU, networking, data storage |
| 8 | Octal | 0–7 | 0o | Unix permissions, legacy systems |
| 10 | Decimal | 0–9 | (none) | Human counting, money |
| 16 | Hexadecimal | 0–9, A–F | 0x | Colours, memory, cryptography |
| 32 | Base 32 | 0–9, A–V | (varies) | URL shorteners, encoding |
| 36 | Base 36 | 0–9, A–Z | (varies) | Short IDs, URL-safe encoding |
| 60 | Sexagesimal | 0–59 | (ancient) | Time, angles (historical) |