Loading...

Base64 Encoder & Decoder

This tool helps you encode text to Base64 format and decode Base64 strings back to plain text. It also supports encoding/decoding files and images.

Drop file here or click to upload

Maximum file size: 5MB

File:
Type:
Size:
Leave empty to auto-detect or use a generic type
Drop image here or click to upload

Supported formats: JPEG, PNG, GIF, WebP

Image Preview
Decoded Image
What is Base64?

Base64 is a group of binary-to-text encoding schemes that represent binary data in ASCII string format by translating it into a radix-64 representation. It's commonly used when there's a need to encode binary data that needs to be stored and transferred over media that are designed to deal with text.

Common use cases include:

  • Embedding image data directly in HTML or CSS files
  • Sending binary data in emails
  • Storing complex data in JSON format
  • Encoding user credentials in basic HTTP authentication