Number Base Converter

Convert between binary, octal, decimal and hexadecimal.

About this tool

Convert any whole number between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) — all four representations at once, from whichever base you start with.

Key Features

  • All 4 bases at once
  • Validates digits against the chosen base
  • Works with large numbers

How to Use

  1. Enter the value.
  2. Choose which base it's currently in.
  3. Click Convert.

Benefits

  • Check binary/hex conversions for programming or networking
  • Understand how the same number looks in different bases
  • Quick reference without a separate dev tool

Frequently Asked Questions

Each base only allows certain digits \u2014 binary allows just 0 and 1, octal allows 0\u20137, decimal allows 0\u20139, and hex allows 0\u20139 plus A\u2013F. Entering a digit outside that range for the selected base (like an 8 in binary) will be flagged.
No \u2014 this converts non-negative whole numbers only, which covers the vast majority of base-conversion needs in programming and networking contexts.

Related Calculators

Related guides

Browse all Calculators