Number Base Converter - Small Study Tools
Binary · Decimal · Octal · Hex · Any Base 2 to 36

Number Base Converter

Convert numbers instantly between binary, decimal, octal, hexadecimal and any base from 2 to 36. Fully usable on mobile.

All conversions run in your browser, nothing is sent to any server
Pro Version is Free for now
✓ Custom Base Slider · Step-by-step · Fractional · Bitwise Ops · CSV Export
Day Night
How it works
Value in Base A → Decimal → Value in Base B
🔢 Enter a Number
Quick samples:
⚠ Invalid digit for this base
Export your conversion
🎛️ Custom Base PRO
Base 20
📝 Steps (Decimal → Binary) PRO
🔢 Fractional Conversion PRO
Enter a decimal number with a fractional part above
⚙️ Bitwise Operations PRO
Result: —
📋 Base Digit Ranges
Binary (2)0 to 1
Octal (8)0 to 7
Decimal (10)0 to 9
Hex (16)0 to 9, A to F
Base 360 to 9, A to Z
💡 Conversion Tips PRO

How to Use the Number Base Converter

From typing a number to every base at once, in seconds. Fully usable on mobile.

1
Enter a Number
Type your value, or tap one of the quick samples to try it instantly.
2
Pick Its Base
Choose binary, octal, decimal, hex or base 36 from the dropdown.
3
Read Every Base
All four common bases update instantly, tap the copy icon on any one.
4
Go Pro
Unlock any base 2 to 36, fractions, bitwise ops and step by step working.

Every conversion runs inside your own browser. No account, no tracking, nothing ever uploaded.

Specifications
Price Free
Data Handling Never leaves your browser
Base Range 2 to 36 (Pro custom slider)
Pro Features Bitwise Ops · Fractions · CSV Export
Platform Optimized for Web & Mobile
Found a bug or something not working right? Let us know and we'll fix it. Every report helps make this tool better.
Report an Issue

Number Base Converter, Free and Online

A number base converter rewrites a number from one numeral system into another, binary, octal, decimal, hexadecimal or any base from 2 to 36, without changing the underlying value it represents. This one shows every common base at once, updates as you type, and runs entirely inside your browser.

Whether you are learning binary for the first time, checking a hexadecimal color code, or working through a computer science assignment, a reliable number base converter should show more than one answer at a time. Type a number, pick the base it is currently in, and this tool instantly displays the binary, octal, decimal and hexadecimal equivalents side by side, each with a one tap copy button. Pro Mode adds a live custom base slider covering every base from 2 to 36, fractional number conversion for values with a decimal point, a full bitwise operations calculator (AND, OR, XOR, NOT, and bit shifts), step by step working showing the division method, and a CSV export listing every base from 2 through 36 at once.

How Base Conversion Works
Value in Base A → Decimal → Value in Base B

Every conversion passes through decimal as a common middle step. This calculator reads your number in its original base, converts it to decimal internally, then converts that decimal value into whichever bases you need, keeping every result exact.

1Simple vs Pro, What Each Mode Includes

FeatureSimple ModePro Mode (Free)
Binary, octal, decimal and hexadecimal, shown togetherIncludedIncluded
Convert from bases 2, 8, 10, 16 or 36IncludedIncluded
Custom base slider, any base 2 to 36Not includedIncluded
Fractional number conversionNot includedIncluded
Bitwise operations (AND, OR, XOR, NOT, shifts)Not includedIncluded
Step by step working, CSV export of all bases 2 to 36Not includedIncluded

2Common Number Bases, Quick Reference

Binary (Base 2)
Digits 0 to 1, computer hardware and logic
Octal (Base 8)
Digits 0 to 7, Unix file permissions
Decimal (Base 10)
Digits 0 to 9, everyday counting
Hexadecimal (Base 16)
Digits 0 to 9, A to F, color codes and memory addresses

The mistake that trips up the most students converting binary to decimal by hand, or the reverse, is losing track of place value once the number gets longer than a few digits. Every digit in a positional number system is multiplied by the base raised to a power based on its position, counting from zero on the right, and a single missed power of the base throws off the entire result. This calculator avoids that entirely by working with exact integer arithmetic internally, which also means it handles very large numbers correctly, a common weak point in simpler converters that switch to floating point and quietly lose precision on long binary or hexadecimal strings.

3Where Binary Actually Came From

Every binary digit typed into a base converter today traces back to a German polymath who was more interested in philosophy than computers. According to MIT Press, in their scholarly edition of Leibniz's writings on the subject, Gottfried Wilhelm Leibniz worked out the binary number system in manuscripts written around 1679, using only the digits 0 and 1, but did not publish a formal account until 1703. What makes that publication genuinely unusual is its full title, which explicitly connects binary arithmetic to the ancient Chinese hexagram figures attributed to Fuxi, since Leibniz had noticed that the I Ching's yin and yang symbols formed patterns strikingly similar to his own binary progression. Leibniz had no digital computer to apply the system to, that would wait more than two centuries, yet the same base 2 logic he described is exactly what this calculator converts to and from today.

QuestionQuick Answer
Who developed the modern binary number system?Gottfried Wilhelm Leibniz
When did he first work it out?Around 1679
When was it formally published?1703
What surprising connection did his paper make?Ancient Chinese I Ching hexagram figures
Privacy Note

Every conversion runs inside your own browser using JavaScript, nothing is uploaded or sent to a server, and no account or signup is required.

4Frequently Asked Questions

How do I convert binary to decimal with this number base converter?
Type your binary digits into the number field, set From Base to 2, and the decimal, octal and hexadecimal values appear instantly in the results grid, no manual calculation needed.
How do I convert hex to decimal or decimal to hex?
Enter the hexadecimal value and set From Base to 16 to get the decimal equivalent, or enter a decimal number with From Base set to 10 to see its hexadecimal form in the results grid, along with binary and octal at the same time.
Can this act as a general base converter for bases other than binary, octal, decimal and hex?
Yes. Switch to Pro mode and use the custom base slider to convert your number into any base from 2 to 36, including less common bases like base 20 or base 32, with the result updating live as you drag the slider.
Does this number base converter handle fractional or decimal point numbers?
Yes, in Pro mode. Enter a decimal value with a fractional part, such as 10.625, choose a target base, and the tool converts both the whole number part and the fractional part, since fractions convert differently between number systems than whole numbers do.
What are bitwise operations and why would I need them here?
Bitwise operations, AND, OR, XOR, NOT and bit shifts, work directly on the binary representation of a number rather than its decimal value. They are common in programming, networking and digital electronics, and Pro mode includes a dedicated calculator for all of them.
Is my number data private when I use this converter?
Yes. Every conversion runs inside your own browser using JavaScript, nothing is uploaded or sent to a server, and no account or signup is required.

Grounded in MIT Press's scholarly edition of Leibniz's original writings on binary arithmetic, not the assumption that binary was invented for computers. The full account is available via MIT Press. For related tools on this site, see the Scientific Calculator and the full SmallStudyTools.com tool library.

Lilly
Here to help you find a tool
Search tools Search blogs
Try me to find a tool! 👋