Convert SVG to AVIF — Free, Fast & Private
SVG to AVIF rasterises vector art into a lossy bitmap. It is rarely the right format for flat artwork, so check the table before you commit. Everything runs in your browser — nothing is uploaded.
Sized by the SVG
The AVIF is rendered at the size the SVG declares: width and height, or the viewBox, or 1024 × 1024 with a notice when nothing is declared. Max width can reduce it but never enlarges it. To go bigger, edit the width and height in the SVG first.
Lossy artwork edges
AVIF is a photographic codec. Sharp logo edges and flat colour can pick up faint blur at low quality, and a lossless PNG or a small WebP is sometimes the better answer. SVG to PNG is exact; SVG to WebP is a wider-compatibility compromise.
Transparency is kept
AVIF has an alpha channel, so a transparent SVG background stays transparent. The table records what each test background became.
When AVIF suits vector art
AVIF can suit gradient-heavy illustrations and posters rendered from SVG, where lossy coding does well. For simple logos, a PNG or a small WebP is usually the safer export. Keep the SVG as your master. The measured table below uses four hand-written SVGs of different kinds.
Check the AVIF against the SVG before you save
The result card shows the output dimensions and the file size. A before and after slider lets you inspect edges and the background.
Support
AVIF displays in Chrome 85+, Firefox 93+, Safari 16+ and Edge 85+, and encodes slower than WebP or PNG.
SVG to AVIF on four real SVGs: measured sizes
| File | Before | After | Change | Background |
|---|---|---|---|---|
| Logo SVG (width/height in px) | SVG · vector · 850 B | AVIF · 480 × 160 px · 6.48 KB | 7.8× larger | Kept transparent |
| Illustration SVG (viewBox only) | SVG · vector · 1.37 KB | AVIF · 1200 × 800 px · 5.73 KB | 4.2× larger | Kept transparent |
| Icon SVG (24 px on a 1024 viewBox) | SVG · vector · 494 B | AVIF · 1024 × 1024 px · 5.66 KB | 11.7× larger | Kept transparent |
| SVG with no size at all | SVG · vector · 451 B | AVIF · 1024 × 1024 px · 1.85 KB | 4.2× larger | Kept transparent |
Measured 2026-10-07 in Chromium 145.0.7632.6 by running this page's converter with its default setting (AVIF) on each file. The SVGs are small hand-written files, each declaring its size a different way. Sizes are shown as the tool shows them (1 KB = 1,024 bytes).
