JPG to AVIF
Use this to cut the size of photo-heavy pages, portfolios or shops that target modern browsers.
- Processing
- In your browser, in a background worker
- Engine
- Browser image codecs, with libwebp / libavif compiled to WebAssembly where the browser lacks them
- Quality
- Lossy, adjustable
- Batch
- Up to 20 files at once
- Status
- Tested with sample files
How to convert JPG to AVIF
- Open the converter and add your JPG files — drop, paste or choose from your device.
- Check the options: quality, resize, target file size.
- Convert and download the AVIF file. It is checked before it is offered.
What to expect
- AVIF often needs a lower quality number than JPG for the same look; compare the output size and preview before deciding.
- EXIF orientation is applied and metadata (including GPS) is removed.
- Encoding is slower than JPG or WebP and runs in a background worker.
What carries over
Kept
- Pixel dimensions (unless you resize)
- Orientation (applied to the pixels)
- Transparency
Changed or removed
- EXIF, XMP and other metadata (removed by re-encoding)
- Some image detail (lossy compression, adjustable with quality)
- Embedded colour profiles are not preserved; output is sRGB
Options
- Quality
- For JPG, WebP and AVIF output. Defaults to 85%; lower values give smaller files with more visible compression.
- Resize
- Keep the original size, scale by a percentage, or fit inside a maximum width and height without changing the aspect ratio.
- Target file size
- Best effort: FileLynx lowers quality first, then dimensions, until the file fits or it reports that it could not.
- Rotate and flip
- Rotate in 90° steps and flip horizontally or vertically.
- Background colour
- Used when transparent areas have to be flattened, for example when saving as JPG.
Limits
- Desktop: 25 MB per file, 40 megapixels.
- Phones and tablets: 10 MB per file, 16 megapixels.
Limits protect your device’s memory. They are conservative engineering defaults, not guarantees for every device.
Common problems
- “The image could not be decoded”
- The file is damaged or uses a variant the browser cannot read. Re-export it from the app that made it, or download it again.
- The file is renamed, not converted
- FileLynx reads the real format from the file’s bytes. If a .jpg is really a PNG, it says so and converts from the real format.
- Image too large
- In-browser limits are 25 MB and 40 megapixels on desktop (10 MB / 16 MP on phones). Resize the image first or use a desktop app.
About the formats
JPG
JPEG (JPG) is the lossy photo format nearly every camera, phone, website and app accepts.
Good for: Photographs where small files and universal compatibility matter.
Watch out: No transparency, and every re-save at a lower quality discards a little more detail.
AVIF
AVIF stores images with the AV1 video codec, giving very small files for photos at good visual quality, with transparency and HDR support.
Good for: The smallest photo files for modern browsers and apps.
Watch out: Encoding is slow compared with JPG or WebP, and support outside browsers is still uneven.
Questions
Is AVIF always smaller than WebP?
Usually, for photos. For small graphics the difference can be negligible. FileLynx shows the exact size of each result.