All Bases at Once
Binary, octal, decimal, and hexadecimal sit side by side and update together, so you never convert one step at a time.
Convert a number between binary, octal, decimal, hexadecimal, and any base from 2 to 36, right in your browser. Type in any field and the rest update live, with full precision for big numbers. Free, no signup, nothing uploaded.
Enter your value in whichever field matches its base, binary, octal, decimal, or hexadecimal.
The other fields update live as you type, so you see the same number in all bases side by side.
Set the custom base to anything from 2 to 36 to convert into and out of less common bases, then copy any result.
The same value looks completely different depending on the base. The decimal number 255 is 11111111 in binary and ff in hexadecimal, and switching between them in your head is slow and easy to get wrong, especially once the numbers get long.
This converter shows all of them together. Type a value in any field, in whatever base it happens to be, and the binary, octal, decimal, and hexadecimal versions fill in at once. A custom field handles any base from 2 to 36 for the less common cases.
It keeps full precision, so even very large numbers convert without losing a digit, and it flags input that is not valid for the base instead of silently producing the wrong answer. Because it runs in the browser, you can convert values from real code or hardware without sending them anywhere.
Binary, octal, decimal, and hexadecimal sit side by side and update together, so you never convert one step at a time.
A custom field converts to and from any base from 2 up to 36, using digits 0-9 and a-z.
Large values keep every digit, with no rounding or loss that you get from normal number limits.
Type a digit that is not valid for a base, like a 2 in binary, and the field flags it instead of guessing.
Copy any value with a single click, ready to paste into your code or a calculator.
Every conversion happens on your device. Nothing is uploaded, logged, or stored.
More Developer tools you might find useful.
Common questions about converting number bases.