Base64 Encoder/Decoder

Encode text to Base64 and decode Base64 back to text. Support for UTF-8 encoding, file encoding, and URL-safe encoding.

Encoding Options

Examples

Tips

  • Use UTF-8 for international characters
  • URL-safe encoding replaces + with - and / with _
  • Padding adds = characters to make the length divisible by 4
  • Line breaks make long Base64 strings more readable
  • File encoding is useful for embedding files in JSON or XML