Ctrl+K
Hex to Octal Converter
๐ Runs in your browser โ nothing is sent to a serverConvert a hexadecimal number to octal. Hex and octal do not share an integer ratio of bits per digit (4 vs 3), so the converter parses the hex string into a canonical integer and re-formats it in base 8: ff becomes 377, 1ed becomes 755. Useful when exchanging values between hex-first tools (debuggers, hashes, color codes) and octal-first tools (chmod, umask, vintage Unix utilities). Long values are handled exactly with BigInt.
Hexadecimal (16)
Allowed: 0โ9, aโf
Octal (8)
Allowed: 0โ7
Hexadecimal (16) โ Octal (8)
Quick reference table
| Hexadecimal (16) | Octal (8) |
|---|---|
| a | 12 |
| 10 | 20 |
| 20 | 40 |
| 40 | 100 |
| 64 | 144 |
| ff | 377 |
| fff | 7777 |
Glossary
Related tools
Octal to Hex
Convert octal (base 8) to hexadecimal (base 16) โ exact integer mapping
Hex to Decimal
Convert hexadecimal numbers to decimal โ with BigInt support for 64-bit values
Hex to Binary
Convert hexadecimal to binary โ every hex digit expands to 4 bits
Number Base Converter
Convert integers between binary, octal, decimal and hexadecimal โ with full BigInt support
