Convert numbers between binary, octal, decimal, and hexadecimal. Supports multiple lines, optional 0b/0o/0x prefixes, and negative integers.
Input Numbers
Converted Output
Tool options
Conversion Options
Source numeral system of the input values.
Target numeral system for the output.
Use A–F instead of a–f in hexadecimal output.
Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.
Radix Converter Examples
Click to try!
Convert common decimal values to hexadecimal with 0x prefix. Useful when reading memory addresses or color codes.
Conversion Options
Source numeral system of the input values.
Target numeral system for the output.
Use A–F instead of a–f in hexadecimal output.
Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.
Convert binary strings to decimal. Input may include an optional 0b prefix.
Conversion Options
Source numeral system of the input values.
Target numeral system for the output.
Use A–F instead of a–f in hexadecimal output.
Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.
Expand hex values into binary representation for bit-level inspection.
Conversion Options
Source numeral system of the input values.
Target numeral system for the output.
Use A–F instead of a–f in hexadecimal output.
Prefix output with 0b, 0o, or 0x when converting to binary, octal, or hex.