Number Base Converter
Converts a number between decimal, binary, octal, and hexadecimal all at once. Enter a plain decimal number, or prefix it with 0x (hex), 0b (binary), or 0o (octal) to convert from that base.
Converts a number between decimal, binary, octal, and hexadecimal all at once. Enter a plain decimal number, or prefix it with 0x (hex), 0b (binary), or 0o (octal) to convert from that base.
Use cases
- Converting a decimal number to binary for a computer science assignment
- Reading a hex color or memory address as decimal
Examples
Plain decimal input
26
{"decimal": 26, "binary": "11010", "octal": "32", "hex": "1a"}FAQ
Is my data sent to a server?
Yes — the calculation runs on the server for this tool.