Our Online Base32 Encoder is a handy tool designed to convert plain text into a Base32 encoded string. This tool operates on the client-side, ensuring your data remains secure and private.
Base32 Encoder
What is Base32 encoding?
Base32 encoding is a binary-to-text encoding scheme that represents binary data in a human-readable format using a set of 32 different characters.
Base32 encoding typically uses the following 32 characters: A-Z (uppercase letters) and 2-7 (digits), omitting the letters I, L, and O to prevent confusion with the digits 1 and 0.
Can I decode the Base32 string back to the original text?
The beauty of encoding is that it’s a reversible process, allowing you to convert the encoded string back to its original form with ease. Our Base32 Decoder is an essential tool for achieving this. This user-friendly tool enables you to quickly and accurately decode Base32-encoded strings, ensuring that you can access and work with your original data whenever needed. With the Base32 Decoder, you can have confidence in the integrity of your data and enjoy the convenience of seamless encoding and decoding.
How to use this tool?
To use our tool, follow these steps:
- Enter the data to be encoded in the input field or upload a file.
- Customize the settings.
- The encoded Base32 data will automatically appear in the output field, from where you can copy it using the Copy button.
Is my data safe?
Yes, all conversions are done on your device (client-side) and no data is sent to our servers.
Can I use this tool on my mobile device?
Yes, our product is responsive and can be used on a range of platforms such as desktop computers, laptop computers, tablets, and smartphones.
What is the difference between Base32 and Base64 encoding?
Both are binary-to-text encoding schemes. The main difference is the number of characters used for encoding: Base64 uses 64 characters (A-Z, a-z, 0-9, +, /) while Base32 uses 32 characters (A-Z, 2-7).
Can I use special and accented characters or symbols in my input text?
Yes, our Base32 encoder is designed to handle a wide range of characters, so you can use special and accented characters, our Base32 encoder also supports UTF-8 characters.
This ensures that you can encode data from various languages and character sets without any issues. UTF-8 support allows for the accurate representation and encoding of a diverse range of characters, making our Base32 encoder a versatile and inclusive tool for working with data in various languages and character sets. With this capability, you can confidently encode your data knowing that it will maintain its integrity and accuracy, regardless of the language or character set used.
How to manually encode and decode with Base32
Encoding data with Base32 is a straightforward process. You take your binary data and convert it into a series of 5-bit chunks. Each 5-bit chunk is then mapped to the corresponding character from the Base32 character set. This results in a text string that is safe for transmission and storage.
Decoding Base32 is the reverse process. You take the Base32-encoded text and convert it back into its original binary form, using the character set as a reference.
Manual encoding example
Let’s say you have the binary data: 010000100011001100110010
, and you want to encode it in Base32. Here’s how it’s done:
- Divide the binary data into 5-bit chunks:
01000, 01000, 11001, 10011, 0010
- Map each 5-bit chunk to the corresponding Base32 character:
I, I, Z, T, E
So, the Base32-encoded representation of the binary data is IIZTE===
.
If you’re wondering how those few equals signs ended up at the end of the result, here’s a little help:
- If the last 5-byte block contains 1 byte of input data, add 4 zero bytes. Then, encode it as a regular block and replace the last 6 characters with 6 equal signs (======).
- If the last 5-byte block holds 2 bytes of input data, add 3 zero bytes. After encoding it as a standard block, change the last 4 characters to 4 equal signs (====).
- If the last 5-byte block includes 3 bytes of input data, add 2 zero bytes. Encode it as a regular block and replace the last 3 characters with 3 equal signs (===).
- If the last 5-byte block has 4 bytes of input data, add 1 zero byte. After encoding it as a normal block, replace the last 1 character with 1 equal sign (=).
Base32 Examples
Here is some text and its Base32 encoded version to give you a better idea of what Base64 is and how it changes the visual representation of the data.
Data | Base32 Encoded |
---|---|
Hello, World! | JBSWY3DPFQQFO33SNRSCC=== |
Base32 | IJQXGZJTGI====== |
123456789 | GEZDGNBVGY3TQOI= |
test | ORSXG5A= |
Base32 Characters
Base32 encoding uses a 32-character set to represent binary data. The character set typically includes the following 32 characters:
Binary | Decimal | Base32 |
---|---|---|
00000 | 0 | A |
00001 | 1 | B |
00010 | 2 | C |
00011 | 3 | D |
00100 | 4 | E |
00101 | 5 | F |
00110 | 6 | G |
00111 | 7 | H |
01000 | 8 | I |
01001 | 9 | J |
01010 | 10 | K |
01011 | 11 | L |
01100 | 12 | M |
01101 | 13 | N |
01110 | 14 | O |
01111 | 15 | P |
10000 | 16 | Q |
10001 | 17 | R |
10010 | 18 | S |
10011 | 19 | T |
10100 | 20 | U |
10101 | 21 | V |
10110 | 22 | W |
10111 | 23 | X |
11000 | 24 | Y |
11001 | 25 | Z |
11010 | 26 | 2 |
11011 | 27 | 3 |
11100 | 28 | 4 |
11101 | 29 | 5 |
11110 | 30 | 6 |
11111 | 31 | 7 |