Base Converter

中

Loading...

Base Converter — Binary, Octal, Decimal, Hex, ASCII

Convert numbers between binary, octal, decimal, and hexadecimal with live updates in every base at once, plus ASCII character translation. A daily driver for low-level debugging: reading hex dumps, setting bitmasks, and translating color codes.

Type in any base and all others update immediately — no mode switching. The ASCII panel shows character codes side by side, handy for protocol debugging and steganography puzzles alike.

How to convert between number bases

  1. Type or paste your value into any base field.
  2. All other bases update instantly.
  3. Use the hex field for color codes, the binary field for masks.
  4. Check the ASCII panel for character-level translation.

Frequently asked questions

Why do programmers use hexadecimal so much?

Hex maps cleanly to binary: exactly 4 bits per digit, so a byte is always two hex characters. FF is easier to read and say than 11111111, and hex digit groups align perfectly with bytes — decimal does not.

What is octal used for today?

Mostly legacy: Unix permission digits (chmod) are octal, and some older systems and languages (C literals with leading 0) used it. It maps 3 bits per digit, which fit 1960s hardware nicely.

Does the converter handle negative or fractional numbers?

It focuses on unsigned integers and ASCII — the format used by hex dumps and bitmasks. For two's-complement negatives, convert the absolute value and reason about the bit width separately.

Related tools

PureKit · base-converter · Free online tool — files processed locally in your browser, no upload.