Base64 Encoder / Decoder

Encode text or files to Base64 and decode Base64 back to text. Supports Unicode.

Click or drop any file here to encode as Base64

About Base64 Encoder / Decoder

Base64 Encoder and Decoder converts text or files into Base64 strings and back. It handles Unicode characters correctly and can turn an image into a data URI that you can embed directly in HTML or CSS.

How to use

  1. Choose Encode or Decode.
  2. Paste your text, or select a file to encode.
  3. Copy the result.

Frequently Asked Questions

Base64 represents binary data as text so it can be safely placed in e-mails, JSON, HTML and CSS.

Your privacy

This tool runs entirely in your browser. Your files and text are never uploaded to our servers.