Skip to main content
SwiftTools

Number Base Converter

Free number base converter. Convert a number between binary, octal, decimal and hexadecimal instantly.

Binary
11111111b
Octal
377o
Decimal
255
Hexadecimal
FFh
All at once
11111111b · 377o · 255 · FFh

Number base conversion happens entirely in your browser. Nothing you enter is uploaded.

About Number Base Converter

Convert integers across binary (base 2), octal (8), decimal (10) and hex (16) in one step. All computation happens in your browser, so nothing you type is uploaded.

How to use it

  1. 1Enter the number.
  2. 2Choose the base it is currently in.
  3. 3Read every base at once.

Examples

Decimal to hex

Input
255 (base 10)
Result
11111111b · 377o · FFh

Frequently asked questions

Can I convert negative numbers?

Yes. The magnitude is converted in each base and the negative sign is carried across the result.