Pronto Arquivo
☰

Number Base Converter

Convert between decimal, hex, binary and octal without losing precision.

  • Never leaves your device
  • No sign-up
Decimal255
HexadecimalFF
Binary11111111
Octal377
Hex (UTF-8)
4F 6C C3 A1
Bin
01001111 01101100 11000011 10100001

Quick answer: To convert hex to decimal (or any other base), pick the input base and type the number: the decimal, hexadecimal, binary and octal values appear instantly. The 0x, 0b and 0o prefixes are accepted. Below, convert text into hex and binary bytes.

How to do it in 3 steps

  1. 1Pick the input base.
  2. 2Type the number.
  3. 3Copy the value in the base you need.

Why use Pronto Arquivo

Big numbers

Uses BigInt, so it doesn’t lose precision like ordinary calculators.

Four bases

Decimal, hexadecimal, binary and octal.

Text to hex

See the UTF-8 bytes of any text.

Prefixes accepted

0xFF, 0b1010 and 0o17.

Guides

Hex colors

#FF8800 is three bytes: FF (255), 88 (136) and 00 (0), the red, green and blue values.

Frequently asked questions

How do I convert hex to decimal?

Choose Hexadecimal and type the number: the decimal appears instantly.

What is FF in decimal?

255.

How do I convert decimal to binary?

Choose Decimal and look at the Binary row.

Does it handle negative numbers?

Yes, with a minus sign.

More tools