‹ Back to Home

Base64 Encoder and Decoder

Encode and decode UTF-8 text, files, and data URIs.

Choose a file to encode it as a data URI.

You can also drop a file here.

Input

Direction

Result


What Base64 Encoder and Decoder does

Encode and decode UTF-8 text, files, and data URIs.

How to use it

  1. Choose Encode for UTF-8 text to Base64, or Decode for Base64 to UTF-8 or a data URI to a file.
  2. Enter text and select Convert, or choose a file to produce a data URI.
  3. Review the output and any image preview, then copy or save. Set a file name before saving decoded binary data.

Formats and limits

  • UTF-8 text or files up to 32 MB. Data URI decoding preserves the media type, previews images, and saves decoded files.

Privacy

Processing stays in this tab. Input and generated content are not uploaded or stored.

Related tools

All processing runs locally in your browser. This tool is provided as-is without warranty. Keep backups of your original files before processing.

By uploading media, you confirm you own the content or have permission to modify it. Please read the Terms and Conditions.