# Base64 Encoder / Decoder

> Encode and decode text or data to Base64.

- Open in browser: https://pockettoolbox.org/en/base64
- Runs entirely in your browser; files and input are never uploaded.

## How it works

Base64 is a method for encoding binary data into a string consisting only of ASCII characters.

Enter your text or Base64-encoded data into the text field. You can instantly encode or decode the content using the corresponding buttons. This is particularly useful for data transmission in web interfaces or embedding small files.

Converts strings into Base64 using UTF-8 encoding or reads files locally to generate Data URLs for web usage.

## FAQ

### What is Base64 used for?

Base64 turns any data into plain text, for example to embed images in HTML or CSS, send email attachments or store data in JSON.

### Is Base64 encryption?

No. Base64 is only an encoding and anyone can decode it right away. It is not suitable for secrets.

---
PocketToolbox (https://pockettoolbox.org/en)
