Encoding is not encryption
Base64 only represents bytes as text. It provides no confidentiality or integrity, and anyone can decode the value. Base64 output is also larger than the original binary data.
Encode text or a file as Base64, or decode Base64 into readable text or downloadable binary data. Add or recognize data URI information when a media type is needed for browser use.
Base64 only represents bytes as text. It provides no confidentiality or integrity, and anyone can decode the value. Base64 output is also larger than the original binary data.
No. It is an encoding format, not encryption or hashing.
The file input uses a 5 MB limit.
Yes. When the decoded content represents file data, the tool can create a browser download.
Upload a file to automatically convert it to Base64
Upload files
Drag and drop files here, or click to browse
Max size: 10 MB
Text Example:
SGVsbG8gV29ybGQhDecodes to: "Hello World!"
Image Data URL Example:
data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIHN0cm9rZT0iIzAwZDlmZiIgc3Ryb2tlLXdpZHRoPSIzIiBmaWxsPSJub25lIiAvPgo8L3N2Zz4=Decodes to: A blue circle SVG