PapaTools

Free Number Base Converter (Binary, Octal, Hex)

Quick reference — decimal 0–15

DecBinOctHex
0000000
1000111
2001022
3001133
4010044
5010155
6011066
7011177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F

Something not working? Report a problem

About the Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal — type in any base and see all others update live, all in your browser.

How to use the Number Base Converter

  1. 1Type a number into any of the four fields — binary, octal, decimal or hexadecimal.
  2. 2All other bases update instantly as you type.
  3. 3Click the copy icon next to any field to copy that value.
  4. 4Clear all fields with the Reset button to start fresh.

Frequently asked questions

What are the four number bases?

Binary (base 2) uses digits 0–1; octal (base 8) uses 0–7; decimal (base 10) is our everyday system; hexadecimal (base 16) uses 0–9 and A–F.

How large a number can I convert?

The converter uses JavaScript's built-in BigInt so it handles arbitrarily large integers with no precision loss. Standard 64-bit integers and beyond are supported.

Are negative numbers supported?

Yes — prefix the decimal input with a minus sign. The other bases will display the corresponding negative value.

Why are letters used in hexadecimal?

Hexadecimal needs 16 symbols. After 0–9 are used up, the letters A–F represent values 10–15. Both uppercase (A–F) and lowercase (a–f) are accepted as input.

More developer tools

View all