What this number base converter does
Computers store everything in binary, but developers read and write numbers in decimal, hexadecimal and occasionally octal. This converter translates between binary, octal, decimal, hexadecimal, base 32 and base 36 simultaneously. It uses arbitrary-precision BigInt arithmetic, so 64-bit IDs, 128-bit hashes and larger numbers convert exactly without rounding.
How to use it
- Type a number into any field, for example
255in Decimal orffin Hexadecimal. - All other bases update immediately.
- Underscores and spaces are ignored, so
1111_0000is accepted. - Invalid digits for a base mark the field in red.
Practical examples
- File permissions: octal
755is binary111 101 101: read-write-execute for the owner and read-execute for group and others. - Colour channels: hex
C8is decimal 200. - Bit flags: decimal 10 is binary
1010, so flags 2 and 8 are set. - Short IDs: base 36 turns a large numeric ID like
2147483647into the compactzik0zjfor URLs. - Network masks: the subnet mask
255.255.255.0is11111111.11111111.11111111.00000000in binary, which is why it is written as/24. - Unicode code points: the emoji 😀 is U+1F600, decimal 128512; converting helps when a system expects HTML entities like
😀. - Debugging hashes: a 128-bit hex value from a database converts to decimal exactly, which ordinary floating-point calculators cannot do.
Tips and edge cases
- Negative numbers are shown with a minus sign, not in two's complement.
- Input is case-insensitive; output uses lowercase letters.
- Base 32 here uses digits 0–9 and letters a–v, which differs from the RFC 4648 Base32 used for encoding data.
- Leading zeros are not preserved in other bases.
- Fractions are not supported; enter whole numbers only.