Number Base Converter
Type an integer in any base from 2 to 36 and see it in binary, octal, decimal, hexadecimal and a base you choose. Conversion uses BigInt, so large integers stay exact.
Input number and bases
Limits
- Integers only. Fractions, decimals and scientific notation are rejected.
- Bases 2 through 36 only. Base 64 is a different encoding — use Base64 Encoder / Decoder.
- Input is limited to 1,024 significant digits so a phone tab stays responsive.
- This is not a two’s-complement calculator: a leading minus is a sign, not a wrapped machine word. A 32-bit or 64-bit view is shown only as an unsigned interpretation when the value fits.
Converted values
How to use Base Converter
- Enter a numberUse digits 0-9 and letters A-Z as needed for the input base. A leading 0b, 0o or 0x is accepted when it matches the base.
- Set the input baseOr use the binary, octal, decimal and hex shortcuts.
- Copy a resultEach output can be copied, including a custom output base from 2 to 36.
Exact integers, not floats
Values are parsed with BigInt, so identifiers and hashes longer than 16 hex digits stay exact (within the digit limit). Fractions, scientific notation and IEEE floats are not accepted — this is an integer tool.
Letters are case-insensitive on input and upper case on output. A leading minus sign is kept. Prefixes 0b, 0o and 0x are stripped when the chosen base is 2, 8 or 16.
Frequently asked questions
Is my text or file uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.
Why is 10 in hex equal to 16 in decimal?
Because hex (base 16) uses A–F for 10–15, so 10₁₆ is one-sixteens and zero ones, which is 16 in decimal.
Can I convert a fraction?
No. This page only converts integers. Multiply out a fixed-point value first if you need to.
Is this the same as Base64?
No. Number bases 2–36 are place-value integers. Base64 is an encoding of bytes.
Related tools
All toolsUnix Timestamp Converter
Convert Unix time (seconds or milliseconds) to a date, and back, in UTC or local time.
Hash Generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.
UUID Generator
Generate RFC 9562 UUID version 1, 4 and 7 identifiers in your browser.
JSON Formatter & Validator
Format, minify, sort keys, and catch syntax errors cleanly.