Skip to content
dashutils

Number Base Converter

Convert integers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Big numbers are handled exactly.

  • Free, no sign-up
  • Runs locally in your browser
Loading tool…

Your files are processed on this device and are never uploaded to a server.

How to use the Base Converter

  1. 1

    Type a number in any field.

  2. 2

    All other bases update instantly.

Large numbers

Arbitrary-precision integers are used, so 64-bit IDs and larger values convert without rounding.

How number bases work

A base says how many digits each position can hold. Decimal uses 0–9, binary only 0 and 1, octal 0–7 and hexadecimal 0–9 plus A–F. Each position is worth the base times the position to its right, so binary 1011 is 8 + 0 + 2 + 1 = 11 in decimal, and hexadecimal FF is 15 × 16 + 15 = 255. Bases up to 36 use the letters A–Z as extra digits.

Where you'll meet them

Hexadecimal is everywhere in computing because two hex digits describe exactly one byte: colour codes (#FF8800), memory addresses, MAC addresses and hashes. Binary shows individual bits, for example in network masks and permission flags. Octal survives mainly in Unix file permissions, where 755 means rwxr-xr-x.

Frequently asked questions

How do I convert binary to decimal?

Type the binary number in the binary field and the decimal value appears instantly, along with octal and hexadecimal.

Are prefixes like 0x and 0b accepted?

Yes. 0x for hexadecimal, 0b for binary and 0o for octal are recognised and ignored when converting.

Can it convert very large numbers?

Yes. Integers of any size are converted exactly, including 64-bit IDs that would lose precision in a normal calculator.

Something not working, or missing a setting you need? Report a problem or request a tool.