Util Tools logo Util Tools
Conversores

Number Base Converter

Convert between binary, octal, decimal, hex, and any base 2–36.

  • 100% grátis
  • Sem cadastro
  • Executa no navegador

Step-by-step breakdown

Bitwise operations

Enter two integers (decimal) and pick an operation. Results shown in all bases.

Common conversions

Decimal Binary Octal Hex
0 0 0 0
1 1 1 1
10 1010 12 A
16 10000 20 10
100 1100100 144 64
255 11111111 377 FF
1000 1111101000 1750 3E8
Guia

What is a number base?

A number base (or radix) is how many distinct digits a counting system uses. We normally use base 10 (decimal) with digits 0 to 9. Computers use base 2 (binary) with only 0 and 1, and programmers often use base 16 (hexadecimal) with digits 0 to 9 plus A to F. This converter translates a value between binary, octal (base 8), decimal, hexadecimal, and any base from 2 to 36.

How conversion works

Every base represents the same underlying quantity; only the notation changes. To convert decimal to binary, you repeatedly divide by 2 and read the remainders from bottom to top. To convert binary back to decimal, you multiply each digit by its place value (a power of 2) and add them up. The tool shows this step-by-step breakdown and uses arbitrary-precision integers, so very large numbers keep their exact value.

Why hexadecimal is everywhere in computing

Hexadecimal is popular because it maps cleanly onto binary: one hex digit equals exactly four bits, so a byte (8 bits) is just two hex digits. That makes hex a compact, human-readable shorthand for binary data. You will see it in color codes (#FF8800), memory addresses, MAC addresses, hashes, and byte dumps. Octal (base 8) plays a similar role in a few places, most notably Unix file permissions.

Quick reference

  • Decimal 10 = binary 1010 = octal 12 = hex A
  • Decimal 255 = binary 11111111 = hex FF (one byte's maximum)
  • 1 hex digit = 4 bits; 2 hex digits = 1 byte

Última atualização: setembro de 2026

Frequently Asked Questions

Esta ferramenta é gratuita e segura?
Sim, é 100% gratuita e roda de forma privada diretamente no seu navegador.