Binary, Hex & Decimal Converter
Convert a number between bases, or text to and from binary/hex. Runs entirely in your browser. Nothing you type is ever uploaded.
What can you convert?
BaseConvert covers two jobs: converting a number between binary, octal, decimal, and hexadecimal (edit any field and the others update), and converting text to or from its binary or hex byte representation, in either direction.
Ever wonder why computers count in two digits instead of ten? Read Why Computers Use Binary, Not Decimal.
How it works
Every conversion runs directly in your browser using plain arithmetic and UTF-8 encoding. Nothing is sent to a server, so it works even offline once the page has loaded.
Frequently asked questions
Is this free to use?
Yes. There's no sign-up and no limit on how many conversions you run.
Do you store what I type?
No. Every conversion happens entirely client-side in your browser. See the privacy policy for details.
How does the text to binary/hex conversion work?
Each character is converted to its UTF-8 byte value, then that byte is shown in binary (8 digits) or hex (2 digits), separated by spaces. Decoding reverses the process, reading each group of bits or hex digits back into a byte and then a character.
What number bases are supported?
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a value in any one of them and the other three update automatically.