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

  1. Type a number in any base field (binary, octal, decimal, or hex).
  2. 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.

BitsHexBinary
8
16
32
64hex only

Need hex ↔ text ↔ binary ↔ Base64 as a byte stream? Hex / Bytes Converter