← All Tools

Base Converter🔒 100% local

Convert numbers between any bases (2-36). Supports binary, octal, decimal, hexadecimal, and custom bases.

Base Converter: related tools

Number Base ConverterHex ConverterNumber Base Converter

Converts a whole number from one base to another, with the two bases picked from dropdowns that cover 2 to 20 and then 36. Digits are read as 0-9 and A-Z, converted to a decimal value in the page and written back out in the target base, all inside the tab you are typing in.

Base Converter: how to use it

  1. Pick the base you are converting from and the base you are converting to.
  2. Type the number. Letters are upper-cased for you as you type.
  3. Press Convert, or use Swap first to put the two bases the other way round.

Base Converter: worked example

255 (base 10 to base 16)becomesFF

Hex output uses upper-case letters.

1010 (base 2 to base 10)becomes10
777 (base 8 to base 16)becomes1FF

Octal 777 is 511 in decimal, which is 1FF in hex.

9 (base 8 to base 10)becomesInvalid character '9' for base 8

A digit that does not exist in the source base is refused, and the message names the character and the base.

Base Converter: when to use it

Base Converter: what it does not do