Base64 Encoder & Decoder
Convert text to Base64 or decode Base64 back to readable text.
About Base64 Encoding
Base64 is a way of representing binary or text data using only 64 printable ASCII characters, making it safe to embed in places that only support text โ like JSON payloads, URLs, email attachments, or HTML/CSS (for inline images).
How to Use This Tool
Type or paste plain text into the top box and click Encode to get its Base64 representation, or paste a Base64 string into the bottom box and click Decode to recover the original text. This tool correctly handles Unicode and emoji via UTF-8 encoding, so accented characters and non-Latin scripts decode perfectly.
Common Uses
Developers use Base64 to encode API keys, embed small images directly in code, pass data safely through URLs, or debug JWT tokens (which use Base64Url encoding for their header and payload sections).