Base64 Online: Encode and Decode Text, Files and Images

Collection guide

How to pick a tool here

Base64 is a way of writing arbitrary binary data using plain Latin letters, digits and the characters plus, slash and equals. You need it wherever the channel only carries text: an email body, a JSON field, a YAML config, an HTML src attribute, a CI environment variable.

This hub gathers every Base64 tool on the site, including the reverse of each pair. The text converters are for tokens, keys and short fragments. The file converters matter when you have to embed a PDF in an API request or push an archive through a form that accepts strings only.

The image converters produce a data URI, the data:image/png;base64,... string you can paste straight into CSS or an img tag. That removes one network request and works well for small icons and logos in email templates. Keep in mind that Base64 inflates size by roughly a third, so for large images a normal file still wins.

One caution worth repeating: Base64 is not encryption. Anyone can decode the string in a second, so it protects nothing. Every tool here runs locally in your browser and sends no data anywhere.