Base Converter

Binary, Octal, Decimal, Hex conversion

Browser local processingInputs and files are not uploaded to our serverData processing

Base Converter

Instructions

Convert between binary, decimal, and hexadecimal

Use for learning number bases, debugging color values, or processing raw data.

1Enter a number
2Select source base
3View other base results
After completionGet the same value in multiple bases.Enter Number First

Check the input base and integer range

Compare binary, octal, decimal and hexadecimal integers. Prefixes 0x, 0b and 0o and underscore separators are recognized; unprefixed input uses the selected base.

An example to check

Input and settings

255 (base 10)

Expected result

11111111 (base 2)
377 (base 8)
FF (base 16)

255 has eight binary bits set to one. Converting a result back to decimal should restore 255; letter case does not change a hexadecimal value.

Scope and limitations

  • This tool handles integers, not floating-point values, IEEE 754 bit patterns or signed two-complement representations.
  • BigInt preserves integers beyond 2^53 - 1 exactly. Input is limited to 10,000 characters.

Does a result differ from this reference? Share steps without private data. Report a problem