Number Converter
Convert between binary, octal, decimal, hexadecimal, and any base from 2 to 36. You can also switch to Text mode to turn text into binary/hex codes (and back).
Enter value
For numbers, you can use spaces or underscores to group digits (e.g. 1111 0000 or FF_FF).
Tip: choose Text as either source or target to convert between text and numeric codes.
Result
How to use this online number converter
This free number converter lets you translate values between binary, octal, decimal, hexadecimal, and any other base from 2 to 36. It is useful for programmers, electronics students, and anyone learning number systems.
- Type or paste your value in the input box.
- Select the base you are converting from and the base to convert to.
- Click Convert to see the result and a quick view in common formats.
- Choose Text as either source or target to work with characters.
Programmer tips: binary, hex and decimal conversions
Developers often use a number converter when working with low level code, memory addresses, microcontrollers or network protocols. Instead of doing the math by hand, you can quickly convert:
- Binary to hex to make long bit patterns easier to read.
- Decimal to hex when you work with RGB colours, error codes or machine addresses.
- Hex to binary when you need to inspect individual bits or flags.
- Text to hex or binary to see the underlying ASCII or Unicode values used by your program.
All conversions run in your browser, so your binary, decimal and hexadecimal values are never uploaded to a server. That makes this number system converter safe for quick debugging and classroom use.