Home / Tools / Encode and decode
Number Base Converter
Convert between binary, octal, decimal and hexadecimal.
Runs in your browserFree, no sign-up
Loading tool…
How to use it
- Type a number in any base.
- Read it in every other base.
- Copy the one you need.
About this tool
Type in any field and the others update. Works with very large integers, so you can convert 64-bit IDs, bit masks and color values without losing precision.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
How big can the number be?
There is no fixed limit. The tool uses BigInt, so 64-bit and larger values stay exact.
Encode and decode
All encode and decodeMore tools like this
Encode and decodeBase64 Encode & DecodeEncode text or files to Base64 and decode Base64 back.Opens filesOpen →Encode and decodeURL Encode & DecodePercent-encode text, decode URLs and split a URL into parts.Opens filesOpen →Encode and decodeHTML Entity EncoderEscape and unescape HTML entities like < and &.Opens filesOpen →Encode and decodeJWT DecoderDecode a JSON Web Token and check when it expires.Open →Encode and decodeHash GeneratorMD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or files.Opens filesOpen →Encode and decodeMorse Code TranslatorTranslate text to Morse code and Morse back to text.Open →Encode and decodeText to Binary ConverterConvert text to binary, hex, octal or decimal bytes and back.Open →Encode and decodeCaesar Cipher & ROT13Encode and decode Caesar shifts, ROT13 and ROT47.Open →