Convert SVG to JPG

Rasterise SVG vector files into JPG images in your browser. The tool reads the SVG’s own width, height or viewBox to decide the output resolution, then flattens anything transparent onto white — JPG has no alpha channel. Nothing is uploaded, and up to 20 files run at once.

90% · applies to every file you add

Drop SVG files here to convert to JPG

SVG in, JPG out — up to 20 files, 50.00 MB each. Nothing is uploaded. Transparent areas are filled with white, because JPG has no alpha channel.

Where the JPG size comes from

A JPG has fixed pixels, an SVG has none — so the first question when converting is how large the raster should be. This tool answers it from the file itself: width and height attributes first, then the viewBox, then a 1024 px fallback. Whatever the answer, the SVG is given that size explicitly before it is drawn, which is what keeps the output predictable.

That step matters more than it sounds. Browsers have their own opinion about how big an unsized SVG should be — one that declares only a viewBox is drawn at about 150 px tall, with no warning. Reading the declared size and drawing at exactly that size is the difference between a usable JPG and an accidental thumbnail.

How the size is decided

Declared in the SVGResult
width + heightUsed as-is — width="320" height="200" gives a 320×200 JPG.
viewBox onlyThe viewBox size is injected into the SVG before rendering, so it is not shrunk.
NeitherFalls back to 1024×1024. Never 0×0, which would not draw at all.

JPG or PNG for an SVG?

If you need…Use
SVG to PNGTransparency kept and hard edges kept sharp. The better raster for logos, icons and anything that will sit on a non-white background.
SVG to JPGA smaller file for a white page or a form that only accepts .jpg. Transparency becomes white, and the result is typically smaller than the same image as PNG.

Frequently asked questions

What resolution will the JPG have?

The tool reads the SVG’s own size, in this order: the width and height attributes, then the viewBox, then a 1024 px fallback if the file declares neither. The image is rendered at exactly that size, so a 320×200 SVG comes back as a 320×200 JPG. Long edges are capped at 4096 px to stay inside browser canvas limits.

What happens to the transparent parts?

They are flattened onto white. JPG has no alpha channel, so a transparent pixel has to become some colour — white is the usual choice because it matches a page, a document or a print sheet. If the transparency has to survive, export the SVG to PNG instead.

My SVG has no width or height. What happens?

The viewBox decides the size. This is the step browsers get wrong on their own: an SVG with only viewBox="0 0 480 300" is drawn by a browser at its default 150 px height, silently shrinking it to 240×150. This tool reads the viewBox and renders at the declared size instead.

Why is text or an image inside my SVG missing?

Fonts and images that the SVG references from outside the file are often unavailable at render time, so they get dropped or substituted. Inline the font and embed images as data: URLs to make the SVG self-contained.

Is a JPG the right choice for vector artwork?

For a white page, a form that rejects .png, or a smaller file — yes. But JPG is lossy, and lossy compression is the worst fit for sharp edges, so small text and thin lines can look soft. Raise the quality slider, or use PNG if the artwork has hard outlines or transparency.

Can I convert several SVG files at once?

Yes — up to 20 files per run, each up to 50 MB. They are rendered one at a time on your own device, with no upload and no queue.

Other tools