Number Base Converter
Convert integers between bases 2 and 64, including binary, decimal, hexadecimal, and custom bases.
Loading tool…
Runs locally in your browser. Your input is not uploaded or stored. You can verify this in your browser’s network panel.
What does this tool solve?
Convert integers from any input base 2–64 to Binary, Octal, Decimal, Hexadecimal, Base64, and a custom output base.
Continue with MB to GB / Byte Converter, chmod Calculator
What examples should you start with?
Decimal to hex
255 (decimal)hex ff · binary 11111111 · octal 377Prefixed hex
0xdeadbeefdecimal 3735928559Large values
2^64 = 18446744073709551616hex 10000000000000000 — exact, no float roundingHow does it work?
Input is validated against the digit set of the selected base, parsed with BigInt, and re-rendered in every output base — so arbitrarily large integers stay exact.
A 0x / 0b / 0o prefix overrides the selected base, matching the convention in most programming languages.
What are the edge cases and limits?
- Negative values convert with a leading minus sign applied to every base.
- Fractional numbers are not supported — integer bases only.
- Hex letters are case-insensitive on input, lowercase on output.
Technical reference
Related tools
- MB to GB / Byte ConverterConvert MB to GB and bytes to KB, MB, or GB using decimal SI and binary IEC units.
- chmod CalculatorConvert between octal and symbolic Unix file permissions.