Base32 Encode/Decode

Function Description

🔤 Base32 Encoding

Convert text to Base32 encoding format

🔓 Base32 Decoding

Convert Base32 encoding back to original text

🔤 Character Set

Uses A-Z and 2-7 for a total of 32 characters

🔒 Local Processing

All operations are completed locally to protect data security

Usage Steps

  1. Input Text: Enter the text to be encoded or Base32 encoding in the left input box
  2. Select Operation: Click "Encode → Base32" to encode, or "Decode ← Base32" to decode
  3. View Results: Check the conversion results in the right output box
  4. Copy Results: Use the "Copy Output" button to copy results to clipboard

Case Examples

📝 Simple Text

Original: Hello
Base32: JBSWY3DP

🌐 URL Encoding

Original: https://
Base32: NB2HI4DTHIXS6Y3Q

🔢 Number Encoding

Original: 123456
Base32: GEZDGNBVGY

🎨 Special Characters

Original: @#$%
Base32: JCCE6YQ=

Application Scenarios

🔐

OTP Authentication

One-time password generation

📧

Email Transmission

Transmit binary data in emails

🔧

Development Tools

Program development and debugging

📊

Data Storage

Store data in Base32 format

📝 Input Text
Length: 0
📄 Output Result
Length: 0

🔍 Base32 Working Principle

  • Grouping: Input bytes are processed into 5-bit groups, each 5 bits maps to one character
  • Character Set: RFC 4648 uses A-Z and 2-7 (32 symbols), output is uppercase by specification
  • Padding: Output length is a multiple of 8, add = padding when needed
  • Whitespace Handling: Spaces and newlines are typically ignored during decoding
  • Purpose: A representation method for text channels, not encryption or compression

Notes

  • Case Sensitivity: Base32 output is typically uppercase, but decoding is case-insensitive
  • Padding Characters: = characters are used for padding to make output length a multiple of 8
  • Character Limit: Only uses A-Z and 2-7 characters, avoiding confusion with 0, 1, O, I
  • Encoding Efficiency: Base32 encoding increases data size by approximately 60%
  • Compatibility: Follows RFC 4648 standard, compatible with other Base32 tools