Number Base Converter

Convert numbers between binary, octal, decimal, hex and any base from 2 to 36 — even very large numbers.

Runs instantly in your browser — results update as you type.

What is a number base?

A number base (radix) is how many different digits a number system uses: binary uses 2 (0–1), octal 8, decimal 10 and hexadecimal 16 (0–9 and A–F). The same value can be written in any base.

How to use the Number Base Converter

    Frequently asked questions

    Does it support negative numbers?

    Yes, a leading minus sign is kept in every base.

    Does it support fractions?

    No, it converts whole numbers (integers).

    Why is hex used in programming?

    One hex digit is exactly four bits, so bytes (two hex digits) are easy to read.