Octal to hexadecimal converter

Enter a value that uses digits 0–7.

Convert an octal number to hexadecimal.

Input

Result

About this tool

The octal to hexadecimal converter rewrites a base 8 number in compact base 16 notation. Use it to compare file mode values with bit masks, translate data between legacy and modern formats, or practice number base conversion. Enter a whole octal value made from digits zero through seven. The result uses hexadecimal digits and letters from A to F while preserving the original numeric value.