Number base converter
Convert whole numbers of any length between binary, octal, decimal, hex and any base from 2 to 36, without losing precision.
Runs in your browserNothing uploadedWorks offline
Loading Number base converterRuns on this device. Nothing is uploaded.
Questions
How big can the number be?
Up to 20,000 digits. The conversion uses BigInt, so large values such as 64 bit IDs keep every digit instead of being rounded.
Does it handle negative numbers?
Yes, with a minus sign, which is kept in every base. It does not show two's complement, because that depends on a fixed bit width.
What digits do bases above 10 use?
The letters a to z after 0 to 9, so base 16 uses 0 to f and base 36 uses 0 to z. Letters are read in either case.
Related tools
All developer toolsDeveloperBinary to decimalConvert binary numbers of any length to decimal, with hex and octal shown too, exactly and as you type.DeveloperHex to decimalConvert hexadecimal numbers to decimal exactly, with binary and octal alongside, for colours, memory addresses and IDs.DeveloperDecimal to binaryConvert decimal numbers of any size to binary, with optional 4 bit grouping and the bit length shown.DeveloperDecimal to hexConvert decimal numbers of any size to hexadecimal, in upper or lower case, with binary and octal shown too.DeveloperBase64 encode and decodeEncode text or any file to Base64 and decode Base64 back to text or the original file, with a URL-safe option.Developerapplication image videoChecksum verifierDrop a file and paste the published checksum to see if it matches. MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 are detected for you.