Or convert an image to Base64:
Frequently Asked Questions
Base64 is a way to encode binary or text data using only printable ASCII characters. It's commonly used for safely transmitting data like files or images inside HTML, JSON, or email.
Use Base64 when you need to include binary data (like images or files) in places that only accept text, such as:
• Sending files over text-based protocols (like JSON or XML)
• Encoding attachments in emails (MIME)
• Saving images inside a database such as SQL
• Sending files over text-based protocols (like JSON or XML)
• Encoding attachments in emails (MIME)
• Saving images inside a database such as SQL
This usually means the Base64 string is not a complete or valid image. It might be cut off or incorrectly formatted. Make sure the input begins with something like:
data:image/png;base64,...
There's no hard-coded limit in the tool, but browser memory and performance will slow down or fail with very large files (typically >5MB Base64 string length).