File to Base64 Converter
Drag in a file to get its Base64 data URI, or paste a Base64 string to rebuild and download the original file.
Three steps, no setup
Choose a direction
Encode a file you upload, or decode a Base64 string you paste in.
Preview the result
Images render inline so you can confirm the conversion worked.
Copy or download
Grab the encoded string, or save the decoded file straight to disk.
Frequently asked questions
Related tools
Base64 Text Encoder / Decoder
Encode text to Base64 or decode Base64 back to plain text, with full UTF-8 support.
Encoding & ConversionURL Encoder / Decoder
Percent-encode text for safe use in a URL, or decode a percent-encoded string back to plain text.
Encoding & ConversionHTML Entity Encoder / Decoder
Escape special characters to HTML entities, or unescape entities back to readable text.
Encoding & ConversionText to Binary Converter
Convert text to 8-bit ASCII binary, or decode space-separated binary back to text.
Encoding & ConversionText to Unicode Converter
Convert text to Unicode code points (U+XXXX) and decode code points back to characters.
Encoding & ConversionNumber Base Converter
Convert integers between decimal, binary, octal, hexadecimal and other bases.
