Convertur

Number Base Converter

Convert integers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Uses BigInt so even huge numbers stay exact.

Loading tool…

Any base, no precision loss

Enter a value in any base from 2 to 36 and read it back in binary, octal, decimal and hexadecimal simultaneously. Conversion uses BigInt arithmetic, so 256-bit hashes and other large numbers convert exactly without floating-point rounding.

Made for low-level work

Decode a hex colour, inspect a bitmask, or translate a permission value between octal and binary. A custom-base field lets you target unusual radixes like base-3 or base-32 when you need them.

Forgiving input

Prefixes like 0x, 0b and 0o are accepted and stripped automatically, and invalid digits for the chosen base are flagged with a clear message so you can fix typos quickly.

How to base converter

  1. Type a number and select its input base.
  2. Read the binary, octal, decimal and hex results.
  3. Set a custom base from 2 to 36 for anything else.
  4. Copy the representation you need.

Related converters

Base Converter — FAQ