🚀 Interactive Demo
Upload a HEIC/HEIF image file and see it converted to JPEG format instantly in your browser. No server upload required - everything happens locally.
or drag and drop a file here
💻 Usage Example
import { heicTo, isHeic } from "heic-to"
const file = fileInput.files[0]
// Check if the file is HEIC/HEIF
if (await isHeic(file)) {
// Convert to JPEG
const jpeg = await heicTo({
blob: file,
type: "image/jpeg",
quality: 0.8
})
// Convert to PNG
const png = await heicTo({
blob: file,
type: "image/png"
})
}