optimo
WhyFormats

Optimize media for the web

Pick a format to get a practical guide and copy-paste commands for running optimo locally.

Images

PNG
Lossless image format with sharp edges and great support for transparency.
JPEG
The classic photo format: widely supported, good quality-to-size for photographs.
WebP
Modern image format with great compression and broad browser support.
AVIF
High-compression modern image format that can beat WebP on size at similar quality.
HEIC
A common camera output format (especially Apple devices) with efficient compression.
JPEG XL
Next-gen image format designed for high quality and efficient compression.
GIF
Legacy animated image format that is still widely used for simple loops.
SVG
Vector format: crisp at any size and excellent for icons and illustrations.

Videos

MP4
The most compatible web video container; a safe default for delivery.
WebM
Web-first video format that often compresses well and is common for modern browsers.
MOV
Common container from cameras and editing tools; typically converted for the web.
MKV
Flexible container used in many workflows; commonly remuxed/converted for delivery.
AVI
Legacy container format; usually worth converting to MP4/WebM.
OGV
Ogg video container; occasionally used for open formats, but uncommon today.
optimo — go to homepage

Format-specific commands for images and videos. Copy-paste commands to optimize, convert, compress, and resize media locally.

GitHubnpm/optimo

Product

OptimizeConvertCompressResizeCompareFormats

Image formats

Optimize PNGOptimize JPEGOptimize WebPOptimize AVIFOptimize HEICOptimize JPEG XLOptimize GIFOptimize SVG

Video formats

Optimize MP4Optimize WebMOptimize MOVOptimize MKVOptimize AVIOptimize OGV

Popular conversions

Convert HEIC to JPEGConvert HEIC to WebPConvert PNG to WebPConvert PNG to AVIFConvert JPEG to WebPConvert JPEG to AVIFConvert GIF to MP4Convert GIF to WebMConvert PNG to JPEGConvert PNG to HEICConvert PNG to GIFConvert JPEG to PNG