Number Base Converter
Convert integers between bases 2 and 64, including binary, decimal, hexadecimal, and custom bases.
Input and custom output bases support integers from 2 to 64. 0x, 0b, and 0o prefixes are accepted as a local convenience.
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 Byte / KB / MB / GB 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
- Byte / KB / MB / GB ConverterConvert between bytes, KB, MB, GB, and TB — both SI and IEC.
- chmod CalculatorConvert between octal and symbolic Unix file permissions.