Enkode
Base32
Encode dan decode Base32 (RFC 4648) — teks dan file, langsung di browser.
Base32, like Base64, encodes binary data as text, but uses an alphabet of only 32 characters (A-Z2-7) with no easily confused characters (0/O, 1/I). That's why Base32 shows up more often where a string might be typed by a person, not just copy-pasted.
How to use it
- Encode: enter text or pick a file to get a Base32 string per RFC 4648.
- Decode: paste a Base32 string to get the original text or file back.
- The alphabet is case-insensitive per the spec, though uppercase is the conventional way to write it.
Common uses
- Generating secrets for TOTP/2FA — authenticator apps use Base32 for the secret key specifically.
- Encoding identifiers or tokens a user might need to type by hand without confusing similar-looking characters.
- Working with formats that require Base32 instead of Base64 (some DNS records or case-insensitive file systems, for instance).
Things to keep in mind
Base32 grows data by roughly 60% (versus ~33% for Base64) — a trade-off for broader compatibility with case-insensitive systems and manual entry.
Base32hex is a separate variant of the same standard with a different alphabet (0-9A-V) that preserves sort order — it's incompatible with plain Base32.
Artikel tentang alat ini: Base32: bedanya dengan Base64 dan kapan lebih praktis
Pertanyaan yang sering diajukan
Apa bedanya Base32 dengan Base64?
Base32 (RFC 4648) hanya memakai 32 karakter: A-Z dan angka 2-7, tanpa huruf kecil dan tanpa karakter ambigu seperti 0/O atau 1/I/l. Karena alfabetnya lebih kecil, hasilnya sekitar 60% lebih besar dari data asli, tapi lebih aman dibaca manusia dan case-insensitive.
Untuk apa Base32 biasanya dipakai?
Base32 sering dipakai pada secret TOTP/2FA (Google Authenticator dan sejenisnya), nama file, serta konteks lain yang perlu case-insensitive atau harus dieja manual tanpa risiko salah baca karakter.
Apakah teks atau file yang saya proses dikirim ke server?
Tidak. Encode dan decode Base32 di halaman ini sepenuhnya berjalan di browser, tidak ada data yang diunggah ke server.
Kenapa alfabet Base32 tidak memiliki angka 0 dan 1?
Angka-angka ini mudah tertukar dengan huruf O dan I/l saat dibaca atau diketik manual, sehingga standar RFC 4648 sengaja mengeluarkannya dari alfabet dan hanya menyisakan karakter yang tidak ambigu.
Apa bedanya Base32 dengan Base32hex?
Base32hex (masih dalam RFC 4648 yang sama) memakai alfabet 0-9A-V alih-alih A-Z2-7 dan menjaga urutan pengurutan string tetap sama dengan data byte aslinya. Kedua varian ini tidak kompatibel satu sama lain.