Base64 Encoder/Decoder

Live

Encode and decode Base64 for text, files, and images. Convert images to data URLs and decode Base64 back to downloadable files.

Developer Toolsbase64base64 encoderbase64 decoder

About this tool

CategoryDeveloper Tools
StatusLive
Privacy100% Local

How to use

  1. Choose a tab: Text, File, or Image.
  2. For text: type or paste and click Encode/Decode.
  3. For files: upload any file to encode, or paste Base64 to decode and download.
  4. For images: upload to get a Base64 data URL, or paste Base64 to preview and download the image.

Examples

  • Encode 'Hello World' → SGVsbG8gV29ybGQ=
  • Convert a PNG logo to Base64 for inline HTML embedding
  • Decode a Base64 string back to a PDF file

FAQ

Is my data sent to a server?

No. All encoding and decoding happens in your browser. Your data never leaves your device.

What's the difference between Base64 and data URL?

A data URL includes a prefix like 'data:image/png;base64,' followed by the Base64 string. The Image tab handles both formats.

Related tools