HEIC to Base64 Converter
{{ encodingError ? 'Couldn’t encode this file' : 'Encoding your file…' }}
{{ encodingError || imageToBeConverted.name }}
{{ imageToBeConverted.name }}
{{ outputNote }}
{{ copyStatus }}
How to convert HEIC to Base64
1. Choose an image
2. Convert to Base64
3. Copy Base64
HEIC input
HEIC is a high-efficiency photo format used on modern devices.
Data URL or raw Base64
Switch between a full data URL and Base64-only output.
Copy in one click
Copy the output straight to your clipboard.
Preview before copying
Check the preview to confirm the conversion.
MIME prefix ready
Data URL output includes the correct MIME prefix.
One HEIC image
If a HEIC container holds several images, the first decoded image becomes PNG and additional images are not encoded.
Frequently Asked Questions
What does the output look like?
Use the full data URL or raw Base64 output. Data URLs start with data:image/...
Why is the Base64 string long?
Base64 encodes binary data, so the string is larger than the original file.
Can I use this in HTML or CSS?
Yes. Paste the data URL into an image tag or CSS background.
Can I copy the output?
Yes. Use the copy button to place the output on your clipboard.
What happens if the HEIC file contains several images?
Only the first decoded image is converted to PNG and encoded as Base64. Additional images or sequence frames are not included.