โ‡„ Base64 Encode/Decode

text and file support ยท auto-detect mode

Encode text to Base64 or decode Base64 strings back to plain text. Supports file uploads via drag & drop. Auto-detect mode guesses the direction for you.

INPUT
๐Ÿ“ Drop a file here or click to upload
OUTPUT

FAQ

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It's commonly used to embed images in HTML/CSS, transmit data in URLs, or encode email attachments.

Can I encode files?

Yes! Drag and drop any file onto the upload area or click to select a file. The tool will convert it to a Base64 string that you can copy and use in your code.

How does auto-detect work?

Auto-detect tries to decode the input as Base64. If the result round-trips back to the same string, it assumes the input is Base64 and decodes it. Otherwise, it encodes the input.