Back to Data Tools
Number Base Converter
Type a number in any base - binary, octal, decimal, or hex - and the others update live. Accepts 0x, 0b, and 0o prefixes. Fully offline.
How to Use2 Quick Steps
How to Use
- Type a number in any base field (binary, octal, decimal, or hex).
- The other fields update live. Copy literals or fixed-width views as needed.
Base 2 · digits 0-1
Base 8 · digits 0-7
Base 10 · everyday numbers
Base 16 · digits 0-9, A-F
Literals (copy-paste ready)
Hex literal
0xFF
Binary literal
0b11111111
Two's complement (fixed width)
Shown only when the value fits that bit width. Useful for hex bytes and machine words.
| Bits | Hex | Binary |
|---|---|---|
| 8 | ||
| 16 | ||
| 32 | ||
| 64 | hex only |
Need hex ↔ text ↔ binary ↔ Base64 as a byte stream? Hex / Bytes Converter