How to Encode & Decode Base64
Encode text to Base64 or decode Base64 strings instantly. Free online tool with UTF-8 support, file encoding, and URL-safe mode.
Open Base64 Encoder/Decoder →Step-by-Step Guide
1
Choose encode or decode
Select whether you want to encode plain text into Base64, or decode a Base64 string back into readable text.
2
Paste your input
Enter your text string or Base64-encoded data into the input field. The tool supports UTF-8 characters, special characters, and multi-line text.
3
Get instant results
The output appears immediately as you type. No need to click a button — the conversion happens in real-time.
4
Copy the result
Click the copy button to grab your encoded/decoded result. Use URL-safe mode if you need Base64 for URLs or filenames.
Try It Now — Free
No signup, no download. Runs entirely in your browser.
Open Base64 Encoder/DecoderFrequently Asked Questions
What is Base64 encoding used for?
Base64 converts binary data into ASCII text. Common uses: embedding images in HTML/CSS, encoding email attachments (MIME), passing data in URLs, and storing binary in JSON.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode a Base64 string. Never use it to hide sensitive data.
Does it support file encoding?
Yes. You can drag and drop files to encode them as Base64 data URIs, useful for embedding images in CSS or HTML.