BroHelp.me

Hexadecimal To Octal

Convert an unsigned hexadecimal integer (case-insensitive digits) to octal (base 8). Spaces and underscores are ignored.



NAN

How This Converter Works

Converts a case-insensitive unsigned hexadecimal integer to an unpadded octal numeral; whitespace and underscores are ignored.

Formula or rule

Remove whitespace and underscores, validate hexadecimal digits, parse as base 16, and format in base 8.

Example

Input
1AF
Calculation
1AF₁₆ = 431₁₀ = 6×64 + 5×8 + 7.
Result
657
© BroHelp.me 2026 - 2026 is provided without warranty of any kind.