Base64 Encoder & Decoder

Encode plain text to Base64 or decode a Base64 string back to readable text. Supports full UTF-8 character sets. 100% client-side.

Input
Output

          

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used when binary data needs to be stored or transferred over media designed to handle text — such as HTTP headers, JSON fields, or email attachments.

Common uses include encoding images in CSS data URLs, passing credentials in HTTP Basic Auth headers, and encoding binary file content in JSON APIs.