Base64 Encoder & Decoder

Encode and decode text and files using Base64.
Original: characters → Encoded: characters (Expansion: %) Encoded: characters → Decoded: characters
About Base64:
  • Base64 encoding converts binary data to ASCII text
  • Uses 64 characters: A-Z, a-z, 0-9, +, / (and = for padding)
  • Increases data size by approximately 33%
  • Commonly used for email attachments, data URLs, and API responses
  • URL-safe variant replaces + with - and / with _ for use in URLs
Base64 Character Set
Uppercase: A-Z (0-25)
ABCDEFGHIJKLMNOPQRSTUVWXYZ
Lowercase: a-z (26-51)
abcdefghijklmnopqrstuvwxyz
Digits & Symbols: 0-9, +, / (52-63)
0123456789+/
Padding: = (used to make output length a multiple of 4)

Features

  • Encode text to Base64 format
  • Decode Base64 back to original text
  • URL-safe encoding option
  • Real-time encoding/decoding
  • Display size comparison and expansion rate
  • Character set reference table
  • Educational information about Base64

How to Use

  1. Select Encode or Decode mode
  2. Enter your text or Base64 string in the input area
  3. For encoding, optionally enable URL-safe encoding
  4. Click the encode/decode button or type to see real-time results
  5. Copy the output using the copy button
  6. Use encoded data in emails, URLs, or API requests