Binary, Decimal & Hex Converter
Convert binary, octal, decimal, and hexadecimal integers.
Whole numbers only, up to 4,096 characters. Uses BigInt to preserve precision. Supports negative values and matching 0b, 0o, or 0x prefixes.
Your result will appear here
Add your input, then run the tool.How to use this tool
Inspect bit masks, hexadecimal values, or binary integers without converting through floating-point numbers. The converter uses BigInt and returns all four supported bases.
- Enter a whole number and select its input base.
- Use a matching prefix such as 0x only for that base.
- Select Convert number to see binary, octal, decimal, and hex values.
Example
Decimal 255 → binary 11111111, octal 377, hexadecimal ff.
Can I convert fractions or negative integers?
Negative integers are supported. Fractions and scientific notation are not. Input is limited to 4,096 characters to keep processing bounded.
Is my input uploaded or saved?
No. Processing happens locally in your browser. Tool inputs and results remain in memory and clear when you switch tools or reload. Only theme and favorite IDs are stored. Your clipboard and web host have their own behavior, explained in the privacy policy.