MicroToolKit

Free Base64 Encoder & Decoder

Encode any text or file to Base64, or decode a Base64 string back to plain text — instantly in your browser. Supports UTF-8 text and binary file encoding.

Plain Text

Base64 Output

Output appears here

Frequently Asked Questions

What is Base64 and when would I use it?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It's commonly used to embed images in CSS/HTML, transmit binary data over text-only APIs, and store binary data in JSON.

Can I encode an image to Base64?

Yes. Use the 'File to Base64' tab to select any image or binary file. The tool reads it locally using the FileReader API and outputs the Base64 string — which you can embed directly in a data URI (e.g., data:image/png;base64,...).

Related Free Tools

Your data never leaves your device

Encoding and decoding is done locally in your browser. Files and text never leave your device. You can verify this in your browser's Network tab — no outbound requests are made with your data. Read our Privacy Policy →