100% privateFiles never leave your deviceNothing is uploaded to a server
ConvertPocket

Base64 Encode & Decode

Turn text or a file into Base64, or decode Base64 back to text or a file. Works with UTF-8, URL-safe Base64 and data URLs. Nothing is uploaded.

The result updates as you type.

Files

How to use Base64 Encode & Decode

  1. Choose Encode or Decode

    Encode turns text into Base64. Decode turns Base64 back into text.

  2. Paste or open

    Type or paste in the box, or choose a file to encode it.

  3. Copy the result

    Copy the result, or download the decoded file.

Why use Base64 Encode & Decode?

Base64 is used everywhere in web development: images inside CSS and HTML, email attachments, API tokens and JSON payloads. This tool encodes and decodes it instantly, handles every language correctly, and keeps your data on your computer.

Frequently asked questions

Is Base64 encryption?

No. Base64 only changes how data is written so it can travel as text. Anyone can decode it, so never use it to protect passwords or secrets.

Can I decode an image?

Yes. Paste the Base64 or data URL and choose Decode. If it is a file, press Download file to save it.

Is it free?

Yes. It's completely free, with no sign-up and no limit.

More text tools