Base64 Encoder/Decoder
LiveEncode and decode Base64 for text, files, and images. Convert images to data URLs and decode Base64 back to downloadable files.
About this tool
CategoryDeveloper Tools
StatusLive
Privacy100% Local
Related tools
How to use
- Choose a tab: Text, File, or Image.
- For text: type or paste and click Encode/Decode.
- For files: upload any file to encode, or paste Base64 to decode and download.
- For images: upload to get a Base64 data URL, or paste Base64 to preview and download the image.
Examples
- Encode 'Hello World' → SGVsbG8gV29ybGQ=
- Convert a PNG logo to Base64 for inline HTML embedding
- Decode a Base64 string back to a PDF file
FAQ
Is my data sent to a server?
No. All encoding and decoding happens in your browser. Your data never leaves your device.
What's the difference between Base64 and data URL?
A data URL includes a prefix like 'data:image/png;base64,' followed by the Base64 string. The Image tab handles both formats.