Skip to content
Jellykit

Number Base Converter

Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Type in any box and the rest update. Handles numbers of any size.

Runs in your browser. Nothing is uploaded.

About Number Base Converter

Number Base Converter shows the same whole number in binary, octal, decimal, hexadecimal and one custom base of your choice (2 to 36) at once. Type into any of the boxes and the others update as you type, so you can start from whichever form you have.

It uses arbitrary-precision integers, so a 64-bit memory address, a 128-bit UUID written as hex or a 40-digit decimal number converts exactly, without the rounding you get from ordinary floating-point maths. Prefixes such as 0x, 0b and 0o, spaces and underscores are ignored.

Bases above 10 use letters for the extra digits: A is 10, F is 15 and Z is 35. The cards below the boxes show how many bits and bytes the number needs, which helps when sizing a field or a register.

How to use Number Base Converter

  1. Open the tool above and add your file or text.
  2. Adjust the options to suit.
  3. Download or copy the result. Nothing is uploaded at any point.

Frequently asked questions

How do I convert binary to hexadecimal by hand?

Split the binary number into groups of 4 bits from the right, then replace each group with one hex digit: 0000 is 0, 1001 is 9, 1010 is A, 1111 is F.

Does it work with negative numbers?

Yes, a leading minus sign is kept in every base. It does not show two's complement form.

Can it convert fractions?

No. It converts whole numbers only, which is what almost all base conversion in programming needs.

Is Number Base Converter free and private?

Yes. Number Base Converter is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all converters tools →