🔢
Converters
Numeric Bases Converter
Convert numbers between binary (base 2), decimal (base 10), hexadecimal (base 16) and octal (base 8). Type in any field for instant conversion in the others.
Quick reference table
| Decimal | Binário | Hex | Octal |
|---|---|---|---|
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 8 | 10 |
| 9 | 1001 | 9 | 11 |
| 10 | 1010 | A | 12 |
| 11 | 1011 | B | 13 |
| 12 | 1100 | C | 14 |
| 13 | 1101 | D | 15 |
| 14 | 1110 | E | 16 |
| 15 | 1111 | F | 17 |
How do number bases work?
Positional numeral systems use a base to indicate how many distinct symbols exist. The value of each digit depends on its position (power of the base).
- Binary (base 2): uses only 0 and 1. Fundamental for computers (bits).
- Decimal (base 10): everyday system with digits 0 to 9.
- Hexadecimal (base 16): uses 0-9 and A-F. Compact for representing bytes (1 byte = 2 hex digits).
- Octal (base 8): uses digits 0-7. Each octal digit equals 3 binary bits.
Related Tools
🔄
Base64 Converter
Encode text to Base64 or decode Base64 strings back to the original. Free online tool with no server required.
🔗
URL Encode / Decode
Encode text for safe use in URLs (percent-encoding) or decode URL-encoded strings back to the original. Processed in the browser.
01
Binary Code Translator
Convert text to binary code (0s and 1s) and vice versa. Supports any ASCII character. Processed in the browser.