Base64 Encode & Decode

Encode text or files to Base64 and decode Base64 back — privately in your browser. Free online Base64 converter, no upload.

Base64 encode and decode in your browser

Convert text or files to Base64 and back without sending anything to a server. Useful for data URIs, configs, and debugging.

What you can do with it

Create a data URI
Encode an image or snippet to Base64 for embedding in HTML or CSS.
Recover a file from Base64
Paste Base64 and download the decoded bytes.

How to encode or decode Base64

  1. Choose Encode or Decode.
  2. Paste text or encode a file.
  3. Click Convert, then copy the output or download decoded bytes.

Frequently asked questions

Is my data uploaded?
No. Encoding and decoding run entirely in your browser.
Can I encode a file?
Yes. Use Encode file to turn any file into a Base64 string, or download decoded bytes as a file.
Does this support UTF-8 text?
Yes. Text is encoded and decoded as UTF-8.