Convert SVG to JXL

Turn SVG images into JXL. Drawn at the size the SVG declares with transparency kept, or sharp at another width or height, as a JPEG XL picture lossy at quality 90 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

An SVG drawn as a JPEG XL picture.Transparency is kept, and the size comes from the SVG unless you set another.

  1. What you get

    One JXL file. The SVG is drawn at the size it declares, with transparency kept. The result is lossy at quality 90 unless you ask for something else.

  2. Setting the size

    Set Width (px) or Height (px) to draw the picture sharp at another size. If you give only one, the other follows the aspect ratio. Each accepts 1 to 20000.

    If you give both, the picture is stretched to that exact size, so its proportions can change.

  3. Quality and fonts

    Quality runs from 1 to 100 and defaults to 90. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Fonts that are not installed are replaced by standard sans-serif, serif or monospace fonts. The text can look different from the original if the SVG relies on a font that is missing.

SVG and JXL.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 90
  3. 03 · 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 · JXL

JPEG XL

JPEG XL, a modern image codec with lossless JPEG recompression and very high quality per byte.

Extensions
.jxl
MIME type
image/jxl
Kind
Images

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

terminal
$ cv convert photo.svg photo.jxl
$ cv convert photo.svg photo.jxl

Questions.What people ask about SVG to JXL.

01OF 04

Yes. Transparent areas of the SVG stay transparent in the JXL.

Set Width (px), Height (px), or both. With one, the other follows the aspect ratio. With both, the picture is stretched to that exact size.

No. It is lossy at quality 90 unless you change Quality. A higher value keeps more detail and makes a bigger file.

See JXL to SVG for that direction.

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