About this tool
Convert numbers between binary, octal, decimal, hexadecimal, and base-36 with real-time precision, supporting large integers and Unicode.
Number System Conversions shows one whole number simultaneously in binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16) and base-36, with the 0b, 0o and 0x prefixes applied where they belong. Every card also reports the bit width, the byte count rounded up to the next whole byte, and the Unicode character at that code point when the value falls within the valid range up to U+10FFFF. Conversion runs on JavaScript BigInt rather than Number, so values past 2^53 keep every digit instead of silently losing precision.
Open Number System Conversions on AltFTool — it loads instantly in your browser.
Pick the Input format — Binary, Octal, Decimal, Hexadecimal or Base-36 — and type the value into the box below it; 0b, 0o and 0x prefixes and a leading minus are accepted.
All five base cards recompute as you type, using BigInt so a value past 2^53 keeps every digit.
Each card shows the value with its 0b/0o/0x prefix plus Bits, Bytes and the Unicode character, has its own Copy, and Copy all puts all five lines on the clipboard; binary beyond 64 characters reads "Too large".
Base 2, 8, 10, 16 and 36 update together as you type, so you compare representations instead of converting one pair at a time.
BigInt arithmetic means a 30-digit value converts digit-for-digit, where a normal float-backed converter starts rounding.
Each card shows bit length, bytes rounded up, and the Unicode character for the value, which is usually what you actually needed next.
Enter the decimal value and read the binary and hexadecimal cards — both update as you type. Binary is shown with a 0b prefix and hex with 0x, matching the literal syntax used in C, Python, JavaScript and Rust.
Base-36 uses the digits 0–9 followed by the letters A–Z, giving 36 symbols per position, which makes it the most compact encoding that stays alphanumeric and case-insensitive. It is common in short URL slugs, invoice IDs and session keys, where 1,000,000 in decimal compresses to just LFLS.
The bit count shown on each card is the length of the number's binary representation, and the byte count is that figure divided by 8 and rounded up, with a floor of 1. So 255 is 8 bits and 1 byte, while 256 needs 9 bits and therefore 2 bytes.
Binary output is capped at 64 characters, so any value of 2^64 or more stops rendering as a bit string. The decimal, octal, hexadecimal and base-36 cards keep converting it exactly, because the underlying arithmetic is BigInt and has no fixed width.
Add the Number System Conversions widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/number-system-conversions"
title="Number System Conversions — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/number-system-conversions?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>