Encode text to Base64, decode Base64 to text, or convert an image into a ready-to-paste data URI.
🔒 Everything stays in your browser – nothing is sent or saved.
How to use the base64 encode / decode
- Paste text or choose an image.
- Click Encode or Decode.
- Copy the result.
What is Base64?
Base64 turns any data into plain letters and numbers so it can be safely placed in emails, JSON, HTML or CSS – for example embedding a small image directly in a web page.
Frequently asked questions
Is Base64 encryption?
No. Base64 is encoding, not encryption – anyone can decode it.
Does it support emojis and accents?
Yes. Text is encoded as UTF-8.
How do I embed an image in HTML with Base64?
Convert the image here and paste the data URI into an img src attribute.