Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal.
- Binary
- 11111111
- Octal
- 377
- Decimal
- 255
- Hexadecimal
- FF
- Base 36
- 73
- Bit length
- 8
- Bytes needed
- 1
About the Number Base Converter
Different bases show up in different places: hexadecimal in colour codes and memory addresses, binary in flags and permissions, octal in file modes. This converter accepts a number in any of the four common bases and displays it in all of them together.
Invalid digits are reported clearly, which is helpful because the mistake is usually a stray letter in what should be a decimal value.
How to use the Number Base Converter
- 1Choose the base of the number you have.
- 2Type the number, using the digits valid for that base.
- 3Read the equivalents in the other bases.
- 4Copy the representation you need.
Features
- Binary, octal, decimal and hexadecimal in one view
- Validation of digits against the chosen base
- Uppercase hexadecimal output
- Large integer support
- Copy any result individually
Why people use it
- Read a hexadecimal value from a debugger as decimal.
- Build a permission mask in octal with confidence.
- Understand a bit flag written in binary.
Common use cases
- Converting a colour value from hexadecimal to decimal components.
- Translating file permissions between octal and binary.
- Checking a hexadecimal identifier from a log entry.
Privacy and your data
Everything you type or open here is processed by your own browser. No file, text or result is uploaded to a server, stored in a database or shared with anyone, and closing the tab clears it completely.
Frequently asked questions
Related tools
Unit Converter
Convert length, weight, temperature, area, volume and speed.
Time Converter
Convert between seconds, minutes, hours, days and weeks.
Colour Converter
Convert colours between HEX, RGB and HSL with a live preview.
PDF Merger
Combine several PDF files into one ordered document.
PDF Splitter
Split a PDF into separate files or a chosen page range.
PDF Compressor
Rebuild a PDF to reduce its file size for email and uploads.