📝 Text Tools

Base64 Encode / Decode

Encode text to Base64 strings or decode Base64 back to readable text. Everything runs in your browser — nothing is sent to any server.

Output appears here…
✅ Copied!
❌ Invalid Base64 input
Advertisement

Free Base64 Encoder & Decoder — Encode & Decode Online

Base64 encodes binary data or text into a safe ASCII string for transmission through text-only systems — email bodies, JSON APIs and HTML data attributes. Our tool converts text to/from Base64 instantly, with URL-safe mode and file encoding support.

🔤 Text Encode/Decode
Convert any text string to and from Base64.
🔗 URL-Safe Base64
Uses - and _ instead of + and / for URL safety.
🖼 Image to Base64
Embed images as data URIs in HTML/CSS.
⚡ Instant
Converts in real time as you type.

How to Use — Step by Step

1
Choose mode
Select Encode to convert text to Base64, or Decode to convert Base64 back to text.
2
Enter your input
Paste your text or Base64 string.
3
Copy the result
The output appears instantly. Click Copy to save.

Frequently Asked Questions

Embedding binary data (images, fonts) in JSON, XML and HTML. Email attachments (MIME encoding). Storing binary data in cookies and URLs. Image data URIs in CSS.
No — Base64 is encoding, not encryption. Anyone can decode it. Do not use Base64 to hide sensitive information.
Padding characters to make the string length a multiple of 4. Normal and expected in all Base64 output.
Standard uses + and / which have special meaning in URLs. URL-safe replaces these with - and _ for safe use in URLs and filenames.
Approximately 33% larger. A 100KB file becomes ~133KB when Base64-encoded.