Encode and decode Base64 strings
Base64 is a binary-to-text encoding scheme that converts binary data into ASCII characters. It's commonly used to safely transmit data over systems designed for text, like email or URLs, without corruption or data loss.
Encode binary files for safe transmission via email protocols.
Embed images directly in HTML/CSS using Base64 encoding.
Encode binary data for JSON APIs and web services.
Encode credentials for HTTP Basic Authentication headers.
Type or paste text to encode, or Base64 to decode.
Click Encode to convert to Base64, or Decode to reverse.
See the encoded or decoded output instantly.
Copy the result or swap input/output for quick editing.