SVG to AVIF converter
Convert SVG images to AVIF in your browser.
Processed in your browser. This file is converted on your device and is never uploaded.
Converter
.svg up to 50 MB. You can also drag a file here.
No file selected.
About this tool
SVG is a vector format produced by design tools, so it scales to any size cleanly. AVIF compresses better than both JPEG and WebP at the same visible quality, and keeps transparency.
This tool converts SVG to AVIF entirely in your browser. The image is decoded, drawn, and re-encoded on your device, so nothing is uploaded and the size of the file costs you no waiting.
Supported formats and limits
- Input
- .svg
- Output
- .avif (image/avif)
- Output name
- The original name with the new extension, for example photo.svg becomes photo.avif.
- File size limit
- 50 MB
- Processing
- In your browser. The file is not uploaded.
How to use it
- Choose a .svg file, or drag one onto the page.
- Pick a quality level.
- Set an output size if the SVG does not carry one, or a scale to render it larger.
- Select Convert, then download the AVIF file.
Limitations
- An SVG with no width and height of its own needs an output size, because there is nothing to derive one from.
- Fonts and images the SVG references from elsewhere are not fetched, so text in an unusual font may render with a substitute or not at all.
- Scripts, event handlers, and external references are stripped before the file is rendered.
- Not every browser can write AVIF from a canvas. Where yours cannot, this tool says so rather than quietly producing a PNG with the wrong extension.
- The output is lossy AVIF, so it is not a byte-exact copy of the original.
- AVIF encoding in a browser is noticeably slower than the other formats.
- Metadata is not preserved. EXIF fields, including camera settings and GPS location, are dropped, which is a privacy benefit but worth knowing if you rely on them.
- Colour profiles are not preserved, so an image in a wide-gamut profile may shift slightly.
Frequently asked questions
- Is my image uploaded?
- No. The conversion runs entirely in your browser. The image never leaves your device and no request carrying it is made.
- Which quality should I choose?
- 85% is a good default for photographs and is usually indistinguishable from the original at normal viewing size. Lower settings become visible on sharp edges and in smooth gradients such as skies.
- Why is my SVG asking for a size?
- Because it declares only a viewBox and no width or height, so there is no pixel size to use. Give a width, a height, or a scale.
- Is it safe to convert an SVG I did not write?
- Yes. SVG can carry scripts and references that fetch from other sites, so the markup is parsed and stripped of scripts, event handlers, and external references before anything is rendered, and rendering happens in a context where scripts do not run.
- Can I resize while converting?
- Yes. Set a width, a height, or both. With proportions kept, one dimension is derived from the other, and giving both fits the image inside that box rather than distorting it.