Free Base64 Encode/Decode

Encode text or files to Base64, or decode Base64 back to text. Supports Unicode. Free, no signup.

Related Tools

Get notified of new tools

New tools every week. No spam, unsubscribe anytime.

How to Encode and Decode Base64 Online

Select Encode or Decode mode, paste your text, and click the button. You can also encode files directly — upload any file and get its Base64 representation. All processing happens in your browser using native JavaScript APIs (btoa, atob, TextEncoder, TextDecoder).

Why Use Our Base64 Encoder?

Base64 encoding is essential for embedding images in HTML/CSS, sending binary data in JSON APIs, creating data URIs, and working with email attachments (MIME). Our tool properly handles Unicode text (unlike basic btoa/atob) and supports file encoding. Everything runs in your browser — your data never leaves your device.

Frequently Asked Questions

What is Base64? Base64 is an encoding scheme that converts binary data into ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). It is commonly used to embed binary data in text-based formats.

Does Base64 encrypt data? No. Base64 is an encoding, not encryption. Anyone can decode Base64 text. Do not use it to protect sensitive data.

Why does Base64 make files larger? Base64 encoding increases data size by approximately 33% because it represents 3 bytes of binary data as 4 ASCII characters.