# Convert between formats

Pick a conversion pair to get practical guidance and a command you can run locally with optimo.

### HEIC → JPEG
/convert/heic-to-jpeg  
JPEG is universally supported across browsers and tooling.

### HEIC → WebP
/convert/heic-to-webp  
WebP is web-native and often smaller than JPEG for similar quality.

### PNG → WebP
/convert/png-to-webp  
WebP can be significantly smaller than PNG while preserving quality.

### PNG → AVIF
/convert/png-to-avif  
AVIF can beat WebP on size for many images.

### JPEG → WebP
/convert/jpeg-to-webp  
WebP often reduces JPEG size at similar perceived quality.

### JPEG → AVIF
/convert/jpeg-to-avif  
AVIF can deliver very small files for photo-heavy pages.

### GIF → MP4
/convert/gif-to-mp4  
GIFs are often much larger than video for the same animation.

### GIF → WebM
/convert/gif-to-webm  
WebM is usually far smaller than GIF for animated content.

### PNG → JPEG
/convert/png-to-jpeg  
JPEG is often far smaller for photographs and complex gradients.

### PNG → JPEG XL
/convert/png-to-jxl  
JPEG XL can preserve high fidelity while shrinking some PNGs.

### PNG → HEIC
/convert/png-to-heic  
HEIC can be efficient for certain photo-like assets.

### PNG → GIF
/convert/png-to-gif  
GIF is still used for very simple animations and legacy constraints.

### JPEG → PNG
/convert/jpeg-to-png  
Useful when you need lossless output or transparency (after editing).

### JPEG → JPEG XL
/convert/jpeg-to-jxl  
JPEG XL can improve compression while keeping high visual quality.

### JPEG → HEIC
/convert/jpeg-to-heic  
HEIC can be efficient for phone photos and some tools.

### JPEG → GIF
/convert/jpeg-to-gif  
Useful for legacy tooling that requires GIF output.

### WebP → PNG
/convert/webp-to-png  
PNG is a common interchange format for editing tools and UI workflows.

### WebP → JPEG
/convert/webp-to-jpeg  
JPEG is widely supported and easy to handle across tooling.

### WebP → AVIF
/convert/webp-to-avif  
AVIF can be smaller than WebP for photo-heavy content.

### WebP → HEIC
/convert/webp-to-heic  
HEIC can be useful for Apple-focused workflows.

### WebP → JPEG XL
/convert/webp-to-jxl  
JPEG XL can be a high-fidelity master in some workflows.

### WebP → GIF
/convert/webp-to-gif  
GIF can be required for legacy destinations and some chat platforms.

### AVIF → PNG
/convert/avif-to-png  
PNG is a common editing and interchange format.

### AVIF → JPEG
/convert/avif-to-jpeg  
JPEG is universally supported for web and tooling.

### AVIF → WebP
/convert/avif-to-webp  
WebP is broadly supported and still compresses well.

### AVIF → HEIC
/convert/avif-to-heic  
HEIC can be useful for Apple-focused workflows.

### AVIF → JPEG XL
/convert/avif-to-jxl  
JPEG XL can be a high-fidelity master in some workflows.

### AVIF → GIF
/convert/avif-to-gif  
GIF is required for some legacy destinations.

### HEIC → PNG
/convert/heic-to-png  
PNG is useful for editing workflows and preserving crisp edges.

### HEIC → AVIF
/convert/heic-to-avif  
AVIF is web-friendly and can be very small for photos.

### HEIC → JPEG XL
/convert/heic-to-jxl  
JPEG XL can be useful as a high-quality master in some workflows.

### HEIC → GIF
/convert/heic-to-gif  
GIF is still required for some legacy workflows.

### JPEG XL → PNG
/convert/jxl-to-png  
PNG is a reliable interchange format for editing and tooling.

### JPEG XL → JPEG
/convert/jxl-to-jpeg  
JPEG is universally supported and easy to deliver.

### JPEG XL → WebP
/convert/jxl-to-webp  
WebP is broadly supported and compresses well.

### JPEG XL → AVIF
/convert/jxl-to-avif  
AVIF can be extremely small for photos.

### JPEG XL → HEIC
/convert/jxl-to-heic  
HEIC can fit some Apple-focused workflows.

### JPEG XL → GIF
/convert/jxl-to-gif  
GIF is required for some legacy destinations.

### GIF → WebP
/convert/gif-to-webp  
WebP can replace GIF for many animations with much smaller files.

### GIF → AVIF
/convert/gif-to-avif  
AVIF can be very small, depending on animation content.

### GIF → JPEG
/convert/gif-to-jpeg  
Useful when the GIF is a single-frame image.

### GIF → PNG
/convert/gif-to-png  
Useful when the GIF is a single-frame image and you want lossless output.

### GIF → HEIC
/convert/gif-to-heic  
Useful for Apple-focused workflows and experiments.

### GIF → JPEG XL
/convert/gif-to-jxl  
Useful when the GIF is single-frame and you want a high-fidelity master.

### SVG → PNG
/convert/svg-to-png  
PNG is useful when you need a raster asset for platforms that don’t support SVG.

### SVG → WebP
/convert/svg-to-webp  
WebP is a compact raster format for web delivery.

### SVG → JPEG
/convert/svg-to-jpeg  
JPEG can be useful for non-transparent previews or social thumbnails.

### SVG → AVIF
/convert/svg-to-avif  
AVIF can be very small for raster outputs when supported.

### SVG → GIF
/convert/svg-to-gif  
GIF is useful for legacy destinations that require it.

### MOV → MP4
/convert/mov-to-mp4  
MP4 is a safer default for web delivery than MOV.

### MKV → MP4
/convert/mkv-to-mp4  
MP4 is the most compatible container for the web.

### AVI → MP4
/convert/avi-to-mp4  
AVI is a legacy format that’s rarely ideal for delivery.

### MP4 → WebM
/convert/mp4-to-webm  
WebM can be smaller than MP4 depending on content and settings.

### MOV → WebM
/convert/mov-to-webm  
WebM can be efficient for web delivery and background videos.

### MKV → WebM
/convert/mkv-to-webm  
WebM is a web-first format that often compresses well.

### AVI → WebM
/convert/avi-to-webm  
AVI is legacy; WebM is a modern alternative for web delivery.

### WebM → MP4
/convert/webm-to-mp4  
MP4 is the most compatible video container on the web.

### WebM → MOV
/convert/webm-to-mov  
Useful for editing workflows that prefer MOV containers.

### WebM → MKV
/convert/webm-to-mkv  
MKV is useful as a flexible container in tooling workflows.

### MP4 → MOV
/convert/mp4-to-mov  
Useful for editing workflows that prefer MOV containers.

### MP4 → MKV
/convert/mp4-to-mkv  
MKV can be useful as a flexible container for tooling workflows.

### MP4 → AVI
/convert/mp4-to-avi  
Useful for legacy tooling that only accepts AVI.

### MOV → MKV
/convert/mov-to-mkv  
MKV is a flexible container for archives and tool setups.

### MOV → AVI
/convert/mov-to-avi  
Useful for legacy workflows that require AVI.

### MKV → MOV
/convert/mkv-to-mov  
Useful for editing workflows that prefer MOV containers.

### MKV → AVI
/convert/mkv-to-avi  
Useful for legacy workflows that require AVI.

### AVI → MOV
/convert/avi-to-mov  
Useful for editing workflows that prefer MOV containers.

### AVI → MKV
/convert/avi-to-mkv  
MKV is a flexible container for tooling workflows.

### OGV → MP4
/convert/ogv-to-mp4  
MP4 is the safest delivery format for the web.

### OGV → WebM
/convert/ogv-to-webm  
WebM is a web-first delivery format that often compresses well.

### MP4 → OGV
/convert/mp4-to-ogv  
Useful for niche setups that require Ogg containers.

### WebM → OGV
/convert/webm-to-ogv  
Useful for niche workflows that require Ogg containers.

## Supported formats:
PNG, JPEG, WebP, AVIF, HEIC, JPEG XL, GIF, SVG, MP4, WebM, MOV, MKV, AVI, OGV.
