Base64 Encoder & Decoder

Convert text or small files to and from Base64 locally and securely.

How to Use the Base64 Tool

Use our Base64 converter to safely encode binary data into a text-based format. This is commonly used for embedding images directly into HTML or CSS files to reduce HTTP requests.

Encode Text/Images

Paste your raw text or upload an image. The tool will generate a Base64 string or a Data URI that you can use immediately in your <img> tags.

Decode Base64

Paste a Base64 encoded string into the decoder to retrieve the original plain text or file data.

Common Use Cases