Skip to content

Encode and decode text and files to and from Base64 format easily. This free online tool requires no registration and no software installation. Simply open it in your browser and start using it right away. Results are processed quickly and securely, with all data handled directly in your device.

Base64 Encoder/Decoder

Encode and decode text and files to and from Base64 format easily.

How to use Base64 Encoder/Decoder

1

Choose Mode

Select encode to convert to Base64 or decode to convert back

2

Enter Data

Type text or upload a file to encode or paste Base64 to decode

3

Convert

Click to transform between text file and Base64 instantly

4

Copy Result

Copy Base64 string or decoded output for APIs and CSS data URIs

When to use?

API Development

Encode JSON payloads to Base64 for testing REST APIs

Email Attachments

Convert small images to Base64 data URIs for HTML emails

CSS Data URIs

Convert icons to Base64 so they load without extra HTTP requests

Frequently Asked Questions

A: Base64 is encoding not encryption. Anyone can decode it.

A: Base64 increases size by about 33% because it uses printable characters.

A: Yes any file type can be encoded including images PDFs and ZIPs.