Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to text. Supports UTF-8 characters. Runs locally in your browser.

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. It is commonly used to embed images in CSS, send binary data in JSON, include attachments in emails, and encode authentication tokens.

Common Uses

  • Embedding images in HTML/CSS as data URIs
  • Encoding API keys and tokens
  • Sending binary data through text-based protocols
  • Email attachments (MIME encoding)
  • Storing binary data in JSON or XML

Frequently Asked Questions

Is Base64 encryption?

No. Base64 is encoding, not encryption. It does not protect data. Anyone can decode Base64 strings. For security, use proper encryption.

Why does Base64 make data larger?

Base64 encoding increases data size by about 33% because it represents 3 bytes of binary data as 4 ASCII characters.

Is my data safe here?

Yes. All encoding and decoding happens in your browser. No data is sent to any server.