Number Base Converter
Convert between binary, octal, decimal & hex.
2→16
Number Base Converter
Interactive Tool
Input
Output
Binary
Octal
Decimal
Hex
Convert numbers between binary (2), octal (8), decimal (10) and hexadecimal (16) entirely in your browser:
- Pick the base of your input from the Base selector, type or paste a number, and all four results update live.
- Negative numbers (
-255) and fractions (101.11in binary,1F.8in hex) are fully supported. - Underscores work as digit separators (
1111_0000,FF_FF) for readability. - Each result row has its own copy button; Live toggles auto-conversion; Clear resets both panes.
- Invalid digits for the selected base show a clear error in the status bar.
Everything runs locally - your data never leaves your device.