Code tool
Number Base Converter
Paste a whole number and see it in decimal, hex, and binary.
Processed in your browser. The text is not sent to our servers.
How to convert a number base
- Choose decimal, hex, or binary.
- Paste a whole number in that base.
- Click Convert number and copy the form you need.
The result lists decimal, hexadecimal, and binary. Hex input can include a 0x prefix. Binary input can include a 0b prefix.
Frequently asked questions
Can I convert decimals with a fraction?
No. This tool converts whole numbers, including large values and negative decimal numbers.
Is the number uploaded?
No. Conversion runs in your browser.