Hex Converter – Hex, Decimal, Binary, Octal
Convert numbers between hexadecimal, decimal, binary and octal instantly. Enter one value, pick its base, and see all four forms plus ASCII.
Hexadecimal
Base 16
FF
Decimal
Base 10
255
Binary
Base 2
11111111
Octal
Base 8
377
ASCII character
— (only 0–127 map to ASCII)
On this page
About this Tool
The Hex Converter translates a single number across hexadecimal, decimal, binary and octal in one step — pick the base of your input and all four representations appear together. It also shows the ASCII character when the value falls in the printable range. The demo value FF (hex) loads converted so the matrix is visible immediately.
Common Use Cases
Read Memory Dumps
Turn hex bytes from logs or debuggers into decimal and binary for inspection.
Set File Permissions
Convert between octal modes like 755 and their binary bit patterns.
Decode Color Codes
Break hex colors such as FF2765E into decimal RGB channels.
Learn Number Bases
See the same value in four bases side by side to grasp place-value systems.
Pro Tips
- !
Prefixes Are Optional
You can include 0x, 0b or 0o prefixes — they are stripped before validation.
- !
Watch the Base Rules
Binary allows only 0–1, octal 0–7, decimal 0–9 and hex adds A–F; anything else triggers an error toast.
- !
ASCII Needs 32–126
Only codes 32–126 print as characters; lower codes are control characters and 128+ are outside ASCII.
FAQs
Was this calculator helpful?
