Convert SVG to AVIF

Turn SVG images into AVIF. Drawn at the size the SVG declares with transparency kept, or sharp at another width or height, lossy at quality 60 unless asked otherwise; both together stretch it to that exact size.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop SVG files on the dialor turn it to pick what to do

A sharp AVIF drawn from your SVG.Transparency stays, and the size follows the SVG unless you set another.

  1. What you get

    One AVIF file, drawn at the size the SVG declares. Transparent areas stay transparent.

    The AVIF is lossy and is made at Quality 60 unless you choose another value. Fine detail can change, so it is not a pixel-for-pixel copy of the drawing.

  2. Size and rotation

    Set Width (px) or Height (px) to draw the picture sharp at another size. Give one, and the other follows the aspect ratio. Both accept 1 to 20000.

    Give both and the picture is stretched to that exact size, so its proportions can change. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.

  3. Quality and fonts

    Raise Quality to keep more detail, at the cost of a bigger file. Above 90 the file grows quickly while the picture barely changes. Lower values give less detail.

    Fonts that are not installed are replaced by standard sans-serif, serif or monospace fonts. The text can look different from what you designed.

    To go the other way, see AVIF to SVG.

SVG and AVIF.What each format is, and the options this conversion takes.

  1. 01 · height

    Height (px)

    The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000
  2. 02 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60
  3. 03 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270
  4. 04 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · SVG

SVG

Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.

Extensions
.svg .svgz
MIME type
image/svg+xml
Kind
Images
To · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

In your code.The same SVG to AVIF conversion through the API, for your app or your agent.

terminal
$ cv convert photo.svg photo.avif
$ cv convert photo.svg photo.avif

Questions.What people ask about SVG to AVIF.

01OF 04

Yes. Transparency in the SVG is kept in the AVIF.

Set Width (px) or Height (px). With one value, the other follows the aspect ratio.

Only if the fonts are installed. Fonts that are missing are replaced by standard sans-serif, serif or monospace fonts.

No. AVIF is made with lossy compression at Quality 60 unless you change it. A higher Quality keeps more detail.

More conversions.Other ways in and out of SVG and AVIF.