Skip to main content

Base64 Encoder & Decoder

Direction
Input type

Processed in your browser. Files up to 8 MB.

Result

Your result will appear here.

Convert UTF-8 text and files to or from Base64 in your browser. Standard and URL-safe encoding, with no uploads.

Check a UTF-8 round trip

In Encode and Text mode, enter café with no trailing newline. Leave URL-safe output off and run Encode. You should get Y2Fmw6k=. Copy that result before switching to Decode, then paste it and run Decode to get café back. The accent tests UTF-8, which a sample using only A–Z would miss.

When to use File mode

If the decoded bytes are an image or another binary file, choose Decode and File, then download the bytes and restore the original extension. Remove a data URL prefix such as data:image/png;base64, before pasting. Files are capped at 8 MB. Base64 makes data larger and anyone can decode it.

Frequently Asked Questions

Are my files uploaded?

No. Encoding and decoding happen in your browser; files never leave your device.