Skip to content
๐Ÿ”ข

Base Number Converter

Conversion

Convert between binary, decimal, hexadecimal, octal, and base-32 number systems.

0
0
Number
Binary
 - 

Binary, decimal, and hex get most of the attention, but octal and base-32 both still show up in specific, easy-to-forget places: Unix file permissions are written in octal, chmod 755 means something very different from the decimal number 755, and base-32 turns up in two-factor authentication secret keys and in ID formats designed to avoid visually confusing characters like 0 and O. This tool converts a number between all five systems, binary, octal, decimal, hexadecimal, and base-32, at once, so a permission value, an authentication secret, or a plain number all translate correctly regardless of which base it started in.

See more about the Base Number Converter

Useful for decoding what a chmod octal value actually grants, converting a base-32 TOTP secret into a more familiar system to double-check it, or settling what an unfamiliar number actually represents across every base at once.

Key features

  • Clean interface
  • Fast processing
  • No signup required
  • Works offline

Quick answers for Base Number Converter

Which number bases does it support?
Binary, octal, decimal, hexadecimal, and base-32, selectable independently as both the source and target base, so you can convert directly between any two, not just to and from decimal.
What happens if I enter digits invalid for the selected base?
The conversion returns "Invalid input for selected base" rather than silently producing a wrong number, since JavaScript's parseInt would otherwise interpret out-of-range digits unpredictably.
Can I quickly reverse the conversion?
Yes. The swap button flips the From and To bases and moves the current result into the input field, so you can convert back without retyping anything.