Base64 Encode / Decode
About this tool
Base64 tool supports text and file modes. Text mode encodes/decodes any text including Unicode. File mode lets you drag & drop images/files to generate Base64, or decode Base64 back to downloadable files.
Common uses: embedding images in HTML/CSS, API data transfer, email attachments.
Frequently asked questions
Does Base64 encrypt my data?
No. Base64 is an encoding, not encryption β anyone can decode it. Don't use it to protect sensitive data.
Can I encode images and files?
Yes. Switch to file mode and drag & drop an image or file to get its Base64 string, or paste Base64 to decode it back into a downloadable file.
Why is the Base64 string longer than the original?
Base64 represents every 3 bytes as 4 characters, so the output is about 33% larger than the input.