Base32 編碼與解碼工具
編碼和解碼 Base32 字串:常用於 TOTP 金鑰、DNS 記錄以及不區分大小寫的識別碼。
如何使用本工具
- 1
Choose 'Encode' to turn text into Base32, or 'Decode' to turn Base32 back into text, using the mode dropdown.
- 2
Type or paste your input into the text box — UTF-8 text when encoding, or a Base32 string when decoding.
- 3
Read the result in the gray output panel below; it updates instantly as you type, with no button to press.
- 4
Select and copy the output text to use it elsewhere.
什麼是 Base32 編碼與解碼工具?
Base32 使用 32 個英數字元(A-Z、2-7)對二進位資料進行編碼。與 Base64 不同,它不區分大小寫,並避免使用視覺上易混淆的字元(0/O、1/I/l),因此適合手寫或口頭傳輸。它主要用於 2FA 金鑰和 DNS 記錄。
常見使用場景
Inspecting a TOTP/2FA setup string by decoding the Base32 secret an authenticator app expects.
Encoding a short identifier into a case-insensitive form safe to drop into a DNS label or subdomain.
Hand-checking the output of a server library against a known-good Base32 implementation while debugging.
Producing tokens or codes meant to be read aloud or typed without confusing 0/O or 1/I/l.
Decoding a Base32 string copied from a config file or QR-code payload to see the underlying text.
Teaching or learning how bit-level encodings group data, by watching how input maps to 5-bit chunks.
常見問題
為什麼用 Base32 而不用 Base64?▼
相關工具
JWT 解碼器
即時解碼 JSON Web Token(JWT)。完全在你的瀏覽器中執行:權杖絕不會離開你的裝置,可安全用於正式環境的密鑰。
JSON格式化與驗證工具
線上格式化、驗證和壓縮JSON。完全在你的瀏覽器中執行:你的資料永遠不會離開你的裝置。
XML 格式化工具
格式化並美化 XML 文件。適用於 SOAP、網站地圖、RSS 訂閱源和設定檔。
Base64 編碼與解碼工具
將字串編碼為 Base64,或將 Base64 解碼為文字。尊重你的隱私:全部在你的瀏覽器中執行。
URL 編碼與解碼工具
將文字轉換為 URL 安全的編碼(百分號編碼),或進行反向轉換。適用於查詢字串、重新導向和 OAuth 流程。
HTML實體編碼與解碼工具
將特殊字元轉換為HTML實體(&、<等),或進行反向轉換。適用於將文字安全地嵌入HTML。