Generators & Converters
Number Base Converter
Paste a whole number and see it in decimal, hex, octal, and binary.
Tip: press Enter in a field to run the tool.
Result will show here after you run the tool.
How to convert a number base
- Choose decimal, hex, octal, or binary.
- Paste a whole number in that base.
- Click Convert number and copy the form you need.
The result lists decimal, hexadecimal, octal, and binary. Hex input can include a 0x prefix, octal a 0o prefix, and binary 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.
Related generators and converters
Keep working without leaving the site.
Unix timestamp
Convert a timestamp to a date, or a date to Unix time.
Open toolUUID generator
Create one or more UUID version 4 (random) or version 7 (time-ordered) values.
Open toolPassword generator
Create a random password from the character sets you choose.
Open toolUnit converter
Convert length, area, volume, weight, speed, temperature, data size, and time.
Open toolTime converter
Convert seconds, minutes, hours, days, and weeks in either direction.
Open toolTime zone converter
Turn 9:00 am in one zone into the same moment in another city or UTC.
Open tool