Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Octal to Hexadecimal

Convert octal numbers to hexadecimal. Bridge between Unix-style octal and modern hex notation used in programming.

What is the Octal to Hexadecimal Converter?

This tool converts octal numbers (base-8) to hexadecimal (base-16), bridging old and new computing notations.

Why Convert Octal to Hex?

This conversion is useful when:

  • Modernizing code — updating legacy octal literals to hex
  • Cross-referencing — comparing Unix and Windows documentation
  • Learning — understanding number system relationships
  • Debugging — interpreting mixed-format output

The Conversion

Octal to hex requires converting through binary or decimal as an intermediate step.

Example: 755 → 111101101 → 1ED → 0x1ED

How to Use

  1. Enter octal number — digits 0-7 only
  2. View hex result — automatically converted
  3. Use in modern context — prefix with 0x for code

Common Permission Values

  • 644 (octal) = 1A4 (hex)
  • 755 (octal) = 1ED (hex)
  • 777 (octal) = 1FF (hex)
  • 400 (octal) = 100 (hex)

Note

Octal 377 = hex FF = decimal 255 = one byte maximum value.

01234567
0o
0123456789ABCDEFabcdef
0x

Common Conversions

7 = 7
10 = 8
17 = F
20 = 10
377 = FF
755 = 1ED

Octal (Base-8)

Legacy computing format still used in Unix permissions. Each digit = 3 binary bits.

Hexadecimal (Base-16)

Modern standard for programming. Each digit = 4 binary bits. More compact than octal.

Enter octal digits (0-7)
755 in octal = 1ED in hex
Converts via binary internally
Useful for modernizing legacy code
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords