Encode and decode Base64 strings commonly used in API authentication, data transmission, and configuration files.

Encode

Decode

Common Use Cases

  • Basic Authentication: HTTP Basic Auth headers use Base64 encoding
  • Data URLs: Embedding images or files in HTML/CSS
  • JWT Tokens: JSON Web Tokens are Base64-encoded (use JWT Decoder for full parsing)
  • API Keys: Some APIs require Base64-encoded credentials
  • Configuration Files: Storing binary data in text-based config files

Notes

  • Base64 encoding increases size by ~33%
  • Base64 is NOT encryption - it’s easily reversible
  • UTF-8 characters are supported