Digital Drive HQ
Unit Converters

Number Base Converter

Convert numbers between binary, octal, decimal, and hex.

Free account14-day Pro trialWorks in your browser

Sign in to use this tool

Create a free account to unlock every tool — plus a 14-day free trial of HQ Pro, no card required.

About the Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal free — binary to decimal, decimal to hex, hex to binary, and every other direction, updating live as you type. A staple for programmers, computer science students, and anyone working with bit flags, memory addresses, color codes, or file permissions.

How to use the Number Base Converter

  1. 01Enter a value and select its input base.
  2. 02See it converted to all common bases.
  3. 03Copy the representation you need.

Frequently asked questions

Which bases are supported?

Binary (2), octal (8), decimal (10), and hexadecimal (16).

Can it handle large numbers?

It converts standard integers reliably; extremely large values may exceed JavaScript's safe integer range.

What is FF in decimal?

255 — hexadecimal FF is 15×16 + 15. It's the max value of one byte, which is why RGB colors go 0–255 per channel.

Related tools