The image file is rejected
confirm the actual file signature and completeness; changing an extension does not convert the image.
Convert APNG to a raw Base64 string or data URL. Encode the original file bytes, review the output, then copy or download it.
This converter reads the selected APNG file and represents its original bytes as Base64. Choose a raw string for APIs and configuration, or include a data-URL prefix only when the destination expects one.
Convert now
Base64 represents bytes as text; it is not encryption.
Choose the APNG file you want to encode.
Keep Encode selected and choose the output option shown by the tool.
Review the output and byte information, then copy or download the result.
APNG animation frames and alpha data remain in the original bytes. APNG uses the PNG container; keep the data-URL MIME prefix compatible with the receiving system.
Use raw Base64 for most API fields. Use a complete data URL only when the destination explicitly expects the MIME-prefixed form.
Keep the MIME type beside the Base64 value in any data model; the raw string alone cannot reliably identify the file format.
Typical workflows include:
Important constraints:
confirm the actual file signature and completeness; changing an extension does not convert the image.
check whether the receiver expects raw Base64 or a full data URL and, when applicable, use the correct MIME.
large inputs can consume substantial browser memory, and data URLs can exceed limits in receiving systems. Try a smaller input or use a file-based transfer workflow.
APNG animation frames and alpha data remain in the original bytes. APNG uses the PNG container; keep the data-URL MIME prefix compatible with the receiving system.
Base64 does not change image quality. The converter encodes the existing file bytes without resizing or recompressing the image.
Use a prefix only when the destination expects a complete data URL. Most API fields that say “Base64” expect the raw payload instead.
Confirm that the file contents match the claimed image format; changing only the filename extension does not convert a file. Also check that the input is complete.
Continue with the localized page that matches the next operation:
Choose your file above, run the conversion, then copy or download the Base64 result.