We use essential storage to make the site work. If you accept, we also use Google Analytics to understand usage and Google AdSense to show ads, which may set cookies. You can change your choice any time with Cookie settings in the footer. Privacy Policy
Number Base Converter
Convert numbers between bases 2 to 36. Live binary, octal, decimal, hex view plus custom radix. 100% client-side. Private — files stay in your browser.
How to use
Enter a Value — Type a number using digits valid for the source base.
Choose Source Base — Any base from 2 (binary) to 36 (0-9 + a-z).
See Common Bases — Binary, octal, decimal, and hex appear immediately.
Pick a Custom Base — Convert to any other base from 2 to 36.
Frequently asked questions
Why are bases capped at 36?
Bases 2–36 use the digits 0–9 and the letters a–z. Higher bases need extended alphabets that aren't standard.
What about fractional numbers?
This tool converts whole numbers only. Decimal-fraction conversion across arbitrary bases is rarely needed.
Can I convert negative numbers?
Yes for decimal input. Other bases generally express negatives using two's-complement at a fixed bit width — that's a separate use case.
Is the result case-sensitive?
Output for bases above 10 is uppercase by convention. Input is accepted in either case.
What is the largest base supported?
36 — uses 0-9 and A-Z. Higher bases require extra symbols.
How are negatives handled?
Two's complement at the bit width you select. Pick 8/16/32/64.
Can it handle decimal fractions?
Integer only in this tool. For floats, use a programming language directly.
Are these conversions exact?
Yes — pure integer math, no floating-point precision issues.
Is my input stored?
No. Math runs in your browser only.
Free Number Base Converter
Convert positive integers between any pair of bases from 2 to 36. Common bases (binary, octal, decimal, hex) are always shown, with a custom base picker for everything else.
Common Uses
Convert hex colors to decimal for math
Translate binary flags during debugging
Convert IP octets to binary
Solve homework across number systems
Inspect register values in embedded work
How It Works
Parsing uses JavaScript's parseInt with the source radix and converts via Number.prototype.toString into the target base. Common bases are pre-rendered for one-glance reading.
Privacy
All conversion runs in your browser. Nothing is uploaded.