Converters

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal bases instantly.

View all Converters
Decimal (Base 10)
-
Binary (Base 2)
-
Octal (Base 8)
-
Hexadecimal (Base 16)
-

Continue Workflow

Related tools to try next

All tools
Browser Local No sign-up

Example

Convert decimal 255

255 is a useful example because it is the maximum value of one unsigned byte.

Input


                        255 in decimal
                      

Output


                        Binary: 11111111
Octal: 377
Hexadecimal: FF
                      

Practical Notes

How to Use

  1. 1. Enter a number in the input field.
  2. 2. Select the base of the input number.
  3. 3. Click Convert or edit the input to update the results.
  4. 4. Copy the decimal, binary, octal, or hexadecimal output you need.

Features

Use Cases

Frequently Asked Questions

What is base 16?
Base 16 is hexadecimal. It uses digits 0-9 plus letters A-F to represent values.
Why is 255 equal to FF?
In hexadecimal, F represents 15. FF means 15 times 16 plus 15, which equals 255.
Can I convert negative numbers?
The tool is designed for straightforward integer conversions. Signed binary representations such as two's complement are not shown.
Is my input uploaded?
No. Conversion runs locally in your browser.