Base Converter

Binary, hex, decimal, octal.

Updated
Loading tool…

Binary, hex, decimal, octal.

How to use Base Converter

  1. Enter a number and pick its base: binary, octal, decimal, or hex
  2. See the value converted into all four bases at once
  3. Copy any result with its own Copy button
Try next →JSON FormatterFormat, repair and validate JSON.

About Base Converter

Type a number, choose whether it's written in binary, octal, decimal, or hexadecimal, and this base converter instantly rewrites it in all four systems at once. There's nothing to submit and nothing to reset — the moment you finish typing, the binary, octal, decimal, and hex values appear together, so you can read across bases at a glance instead of running four separate conversions.

Each result sits on its own row with a dedicated Copy button, and hexadecimal is shown in uppercase (A–F) to match how most code and documentation write it. If you enter a digit that doesn't belong in the base you picked — a 2 in binary, or the letter G in hex — it flags the exact invalid characters instead of returning a wrong answer. Because it uses arbitrary-precision big-integer math, even very long numbers convert exactly, with none of the rounding or overflow you'd hit on a phone calculator or a TI-84's base menu.

It suits the everyday jobs programmers and students actually have: reading a hex color or memory address in decimal, checking a binary bitmask, or converting octal file permissions. The tool is completely free with no sign-up, no ads, and no limits, so you can convert as many numbers as you want. Every calculation runs entirely in your browser, which means the numbers you type are never uploaded to a server.

Frequently asked questions

Is the number base converter free to use?
Yes. It's 100% free with no account, no sign-up, and no usage limits. Convert as many numbers as you like.
Which number bases does it support?
It converts between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Choose the base your input is written in and it shows the value in all four at once.
How do I convert binary to hex, or decimal to binary?
Pick the base your number is currently written in, then type it. The binary, octal, decimal, and hexadecimal equivalents all appear together, so converting binary to hex, decimal to binary, or hex to decimal is a single step — just read the row you need and press Copy.
Can I use this instead of the base converter on a TI-84 Plus?
Yes. It does the same job as the base-conversion feature on a TI-84 Plus, switching between binary, octal, decimal, and hexadecimal — but in your browser, with no MATH or catalog menus to navigate. Pick your input base, type the number, and read the other three values instantly.
Does it convert base 3, base 5, or base 11?
Not at the moment. It focuses on the four bases used in computing — binary (2), octal (8), decimal (10), and hexadecimal (16) — so non-power-of-two systems like base 3, base 5, or base 11 aren't supported here.
Can it convert Mayan numerals or base 20?
No. Mayan numerals use a base-20 (vigesimal) system, which this tool doesn't handle. It's built for the standard computing bases: binary, octal, decimal, and hexadecimal.
Does it show the conversion steps?
The converter shows the finished values in every base the instant you type, rather than printing a written step-by-step breakdown. If you need to show your work, convert to decimal first, then use repeated division by the target base to reproduce the digits by hand.
What happens if I enter an invalid digit?
The tool validates your input against the selected base and shows a clear error listing exactly which characters aren't allowed — for example, the digit 2 or the letter G is not valid in binary.
Can it handle very large numbers?
Yes. It uses arbitrary-precision big-integer math, so large values convert exactly without the rounding errors or overflow that ordinary calculators would produce.
Is hexadecimal shown in uppercase, and can I copy the results?
Hex output is shown in uppercase (A–F). Every result row — binary, octal, decimal, and hex — has its own Copy button that copies the value to your clipboard with a quick confirmation.
Is my data uploaded or stored anywhere?
No. All conversion happens locally in your browser using JavaScript. The numbers you type never leave your device and are not sent to any server.