Base64 rewrites any data using only 64 plain characters — letters, digits, plus and slash. That makes it safe to pass through systems built for text, which is why you meet it in email attachments, data URLs, API tokens and config files. The Base64 Encoder / Decoder converts in both directions.
How to encode or decode Base64, step by step
- Paste your text or Base64 string into the “Text or Base64” box.
- Click “Encode →” to turn plain text into Base64, or “← Decode” to turn Base64 back into readable text.
- Click “Copy result” to copy the output.
Things worth knowing
- Base64 is not encryption. Anyone can decode it instantly. Never treat a Base64 string as a way to hide a password or secret.
- It makes data bigger. Encoded output is about one third larger than the original.
- Accents and emoji are handled. The tool is UTF-8 safe, so non-English text survives a round trip.
- Decoding fails? Check for missing “=” padding at the end, stray spaces or line breaks, or a URL-safe variant that uses “-” and “_” in place of “+” and “/”.
- Safe for sensitive strings. Everything happens in your browser, so tokens you paste here are not sent anywhere.