Base64 Encoder / Decoder

Output will appear here

Output will appear here

Empty

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text. Supports full Unicode including emoji and multi-byte characters. Auto-detects Base64 input for one-click decoding.

Use Cases

  • Encode API keys or tokens for HTTP headers
  • Decode Base64-encoded JWT payloads for inspection
  • Embed small images as Base64 data URIs in HTML or CSS
  • Encode binary data for inclusion in JSON payloads
  • Decode Base64 strings from email headers or MIME attachments

Frequently Asked Questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It is commonly used to embed binary data in text-based formats like JSON, HTML, and email.

Does this support Unicode?

Yes. This tool uses TextEncoder/TextDecoder for full UTF-8 support, correctly handling multi-byte characters, emoji, and all Unicode code points.

Is my data sent to a server?

No. All encoding and decoding happens entirely in your browser using native APIs. Your data never leaves your device.