🔐 Base64 Encoder
Encode plain text to Base64 instantly. Supports UTF‑8. Perfect for API tokens, email attachments, and data transmission. 100% client‑side, free, unlimited.
📖 How to Encode Text to Base64 (Step by Step)
- Step 1: Enter or paste your plain text into the left text area.
- Step 2: Optionally select the character set (UTF‑8 is recommended for all Unicode characters).
- Step 3: Click "Encode to Base64" – the Base64 string appears instantly on the right.
- Step 4: Use "Copy Encoded" to copy the result or "Swap Fields" to exchange input and output.
- Step 5: Click "Load Sample" to try a pre‑filled example, or "Clear" to reset everything.
💡 What is Base64?
- ✔️ Base64 converts binary data into ASCII characters for safe transmission over text‑based protocols.
- ✔️ Used in email attachments (MIME), API tokens, JSON web tokens, and embedding images in HTML/CSS.
- ✔️ This tool uses UTF‑8 encoding, so it handles emojis, international characters, and any Unicode text.
💡 Pro Tip: Use the "Load Sample" button to see a working example with Unicode characters and emojis. The output Base64 string is standard RFC 4648.
🔒 100% client‑side • Your data never uploaded • UTF‑8 support • Zero tracking