Octal to HEX
Convert an octal integer to uppercase hexadecimal and compare the complete result, including zeros.
When this tool helps
Use this converter to compare 400000000000000001 with its exact hexadecimal form, 20000000000001. Check every digit, including zeros; for octal text representing character bytes, use the octal text decoder instead.
Convert one octal integer to hexadecimal for comparison with an exact reference.
Worked example
Input
400000000000000001Expected result
20000000000001Check the result
The result should be 20000000000001. Values containing letter digits use uppercase A–F.
Questions before you start
What should I check in the result?
Compare the entire hexadecimal string, including its zeros, with the reference.
What are the limits?
For a sequence of character bytes, use the octal text decoder instead.