Encode text to Base64 or decode Base64 strings back to plain text. Instant, free, runs in browser.
? Free Forever? No Signup? Runs in Browser? 100% Private
Input
Output
Free Base64 Encoder & Decoder
Base64 is used in web development to encode binary data as text — embedding images in CSS, encoding API credentials, handling email attachments. Encode or decode any text string instantly.
What is Base64?
Base64 encodes binary data as ASCII text using 64 characters. Used to safely transmit data over text-based protocols.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it. Use it for format conversion only.
Can I encode images?
This tool handles text. For image-to-Base64, use the browser console: fileReader.readAsDataURL(file).
Why does Base64 add = at the end?
The = characters are padding to ensure the output length is a multiple of 4.