Base64 Encoder / Decoder

Encode text or files to Base64, or decode a Base64 string back to text or a downloadable file. Runs entirely in your browser — nothing is uploaded.

🚀 Want to master AI at work? Try 1:1 AI Coaching →
Input text Base64 output
Base64 input Decoded output

Drop any file here or click to browse

Frequently asked questions

What is Base64 encoding used for?

Base64 is used to encode binary data — images, files, or binary strings — into a text-safe format that can be transmitted in contexts that only support ASCII text, such as email (MIME), JSON payloads, CSS data URIs, and API authentication tokens.

Does encoding make a file smaller?

No — Base64 encoding increases file size by approximately 33%, because every 3 bytes of binary data are represented as 4 ASCII characters. It is an encoding format, not a compression format.

Is my data safe?

Yes. All encoding and decoding happens locally in your browser using built-in JavaScript APIs. No data is sent to any server.