एन्कोडिंग
Base32
Base32 (RFC 4648) एन्कोडिंग और डिकोडिंग — टेक्स्ट और फ़ाइलें, सीधे ब्राउज़र में।
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.
इस टूल के बारे में लेख: Base32: यह Base64 से कैसे अलग है और कब ज़्यादा सुविधाजनक है
अक्सर पूछे जाने वाले प्रश्न
Base32, Base64 से अलग क्यों है और इसकी ज़रूरत कब पड़ती है?
Base32 सिर्फ़ A-Z और 2-7 अल्फ़ाबेट इस्तेमाल करता है, इसलिए यह केस-इनसेंसिटिव है और उन जगहों के लिए सुरक्षित है जहाँ केस या मिलते-जुलते कैरेक्टर (जैसे 0/O, 1/I) दिक्कत कर सकते हैं — मसलन फ़ाइल नामों, DNS रिकॉर्ड्स या TOTP सीक्रेट्स में।
क्या यह टूल मेरा डेटा कहीं भेजता है?
नहीं, एन्कोडिंग और डिकोडिंग पूरी तरह ब्राउज़र में होती है, कुछ भी सर्वर पर अपलोड नहीं होता।
Base32 का आउटपुट Base64 से बड़ा क्यों होता है?
हर कैरेक्टर सिर्फ़ 5 बिट्स दर्शाता है (32 सिंबल = 2^5), इसलिए Base32 का आउटपुट ओरिजिनल डेटा से लगभग 60% बड़ा हो जाता है, जबकि Base64 में यह बढ़ोतरी सिर्फ़ लगभग 33% होती है।
Base32 के अल्फ़ाबेट में 0 और 1 अंक क्यों नहीं हैं?
पढ़ते या मैन्युअल टाइपिंग के दौरान इन्हें O और I/l अक्षरों से आसानी से गड़बड़ा दिया जा सकता है, इसलिए RFC 4648 स्टैंडर्ड ने जानबूझकर इन्हें अल्फ़ाबेट से बाहर रखा, ताकि सिर्फ़ स्पष्ट रूप से अलग दिखने वाले कैरेक्टर्स रहें।
Base32, Base32hex से कैसे अलग है?
Base32hex (वही RFC 4648) A-Z2-7 की जगह 0-9A-V अल्फ़ाबेट इस्तेमाल करता है और स्ट्रिंग का सॉर्टिंग क्रम मूल बाइट्स जैसा ही बनाए रखता है। दोनों वेरिएंट आपस में असंगत हैं।