This tool encodes text into Base32 and decodes Base32 back into readable text, using the standard RFC 4648 alphabet. Base32 represents binary data using 32 characters, the uppercase letters A to Z and the digits 2 to 7, which makes it more compact than writing out raw binary but, unlike Base64, avoids characters that are easily confused or that cause problems in case-insensitive systems. That robustness is why Base32 is chosen in places where humans read or type the codes, or where case does not survive: it encodes the secret keys behind two-factor authentication apps, appears in some file-sharing and onion addresses, and is used wherever a compact, unambiguous, case-insensitive encoding is needed. This tool handles both directions. You paste your text and choose to encode or decode, and the calculator converts it instantly: encoding turns your text into a Base32 string of letters and digits, while decoding turns a Base32 string back into the original text. It works through UTF-8, so accented characters, macrons and emoji encode and decode correctly. Everything runs in your browser and nothing is uploaded, which matters for sensitive values like authentication keys. The results update as you type. Use it to inspect or generate Base32 data, to work with two-factor authentication secrets, to learn how the encoding works, or for development and debugging. The encoding groups the data into five-bit chunks, since thirty-two is two to the fifth, mapping each to one alphabet character, and pads the end with equals signs so the length is a multiple of eight. A key point: Base32 is an encoding, not encryption, so it offers no security on its own; anyone can decode it. It simply provides a safe, readable way to represent binary data as text.
RFC 4648 alphabet (A-Z, 2-7). Handles full Unicode via UTF-8. Base32 is an encoding, not encryption, and offers no security. Runs entirely in your browser.
To encode, the text is turned into UTF-8 bytes, the bits are grouped into five-bit chunks, and each chunk maps to one of the 32 alphabet characters, with equals-sign padding added so the length is a multiple of eight. To decode, the reverse happens: each character maps back to five bits, which are regrouped into bytes and read as UTF-8 text.
Encoding the word Hello produces the Base32 string JBSWY3DP. The five bytes of Hello, forty bits in total, divide exactly into eight five-bit groups, so no padding is needed. Switching to decode mode and entering JBSWY3DP returns the original word Hello.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-06-07 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.