Octal to Hexadecimal Converter

Enter an octal number and instantly see its hexadecimal equivalent along with decimal and binary representations.

Octal Input

Hex case:

Conversion Results

Enter an octal number on the left to see results.

Common Octal → Hex Reference

Octal Hex Decimal Description
00x00Zero
70x77Max single octal digit
100x88First two-digit octal
170xF15Max single hex digit
200x1016First two-digit hex
770x3F63Max two-digit octal
1000x4064Three-digit octal start
3770xFF255Max byte value
7550x1ED493Unix rwxr-xr-x perm
7770x1FF511Unix rwxrwxrwx perm

Summary

Enter an octal number and instantly see its hexadecimal equivalent along with decimal and binary representations.

How it works

  1. Type or paste an octal number (digits 0–7) into the input field.
  2. The converter validates each character and highlights invalid input in real time.
  3. The octal value is parsed to a decimal integer using JavaScript's parseInt with base 8.
  4. The decimal integer is then formatted as hexadecimal (uppercase) and binary.
  5. Use the Copy button next to any result field to copy that value to your clipboard.
  6. Click Swap to reverse the direction and start from a hexadecimal input instead.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-29 · Reviewed by Nham Vu