Convert SVG to JPG

Converting SVG to JPG turns a drawing that scales infinitely into a picture with a fixed size — so the one decision that matters is how large to render it, and you can set that here rather than accept a guess. Drop the file above and it converts inside your browser. Transparent areas are filled with a colour of your choosing, because JPG cannot store transparency.

  • Where it runs In your browser. The file is never uploaded.
  • Rebuilt JPG works differently from an SVG, so this is not the gradual degradation a lossy codec applies. What JPG can express is reproduced faithfully; what it has no equivalent for does not survive at all.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Text is rendered with the fonts embedded in the file; anything else falls back.

Up to 100 files at once. Mixed formats are fine.

The size decision that most converters make for you

An SVG has no resolution. It is a set of instructions — draw a circle here, fill this shape with that colour — and can be rendered at any dimensions with equal sharpness. A JPG is a fixed grid of pixels. Converting between them therefore requires choosing a number, and that choice is permanent.

Most converters take whatever width the SVG happens to declare and render at that, silently. Since many SVGs declare something modest — a 100 or 200 pixel icon size left over from wherever they were made — the result is a small image that looks fine until somebody scales it up, at which point it is visibly soft. This is the single most common complaint about this conversion, and it is a settings problem rather than a quality problem.

Choosing a resolution that will not embarrass you later

Work backwards from where the image ends up. On a web page, render at twice the size it will be displayed — high-density screens have been standard for a decade and a 400-pixel image in a 400-pixel slot looks soft on most phones. For print, the working rule is 300 pixels per inch: a graphic printed four inches across wants around 1200 pixels.

Erring large is cheap and erring small is not. A JPG rendered bigger than necessary costs some file size and can be scaled down without visible loss; one rendered too small cannot be recovered at all, because the detail was never drawn. The scale control sits under the result, so you can convert, look, adjust and convert again without starting over.

The transparency trap

JPG has no alpha channel. Not a limited one — none. Every pixel is opaque, so anything transparent in the SVG has to be filled with something, and white is the sensible default.

It is also the default that produces the memorable failure: a white or very pale logo, designed to sit on a dark background, converted to JPG and delivered as a white rectangle containing apparently nothing. If you can see the shape in the preview and not in the result, this is why. Set a contrasting fill colour in the settings, or convert to PNG or WebP, both of which keep the transparency rather than resolving it.

When JPG is the wrong target for a vector

Most SVGs are logos, icons and diagrams — flat areas of colour with hard edges. That is precisely the content JPEG compression is worst at: it was designed for photographs, and it responds to a sharp boundary between two flat colours by smudging it into a faint halo. The file frequently is not even smaller than the PNG equivalent, because PNG is very good at exactly this kind of image.

So the honest advice is to convert to PNG unless something specific demands JPG — and things do: marketplace listings, print submission systems, older content management systems and some office software still refuse anything else. When the SVG holds a photograph or a richly shaded illustration, JPG is genuinely the better answer.

Fonts inside an SVG, and what happens to them here

An SVG usually names a typeface rather than embedding it. Whatever renders the file has to have that font available, and resvg — which renders here — has the fonts your system has, not the ones your design tool had.

So a missing font is substituted and a carefully spaced wordmark arrives with the wrong spacing. The fix belongs in the design tool: convert text to outlines before exporting. The letters become shapes, nothing can be substituted, and the file is safe to hand to anybody.

The effects that may not survive rendering

Shapes, strokes, fills and gradients convert faithfully. The uncertain territory is filters — blurs and drop shadows — along with blend modes and masks built out of other masks.

resvg covers what real files use and leaves out what it does not implement, rather than approximating it into something almost right. If an effect carries meaning, look at the JPG instead of assuming. If it is missing, flatten it before exporting.

Why part of the drawing came out missing

An SVG can reference an external photograph, font or stylesheet by URL. Nothing here reaches out to the internet, so a referenced file is simply not present — which is the same property that keeps your drawing private.

The symptom is a JPG with a blank rectangle where an image should be. Export again with resources embedded rather than linked, and everything the drawing depends on travels with it.

How large the JPG will be

The size follows the resolution you chose, not the SVG. A 3 KB icon rendered at 4000 pixels is a multi-megabyte JPG, because the file is now a grid of pixels rather than a description.

Quality around 85 is the sensible default for anything photographic. For a flat-colour logo it is the wrong question entirely: no quality setting stops JPEG laying a halo along a hard edge, and the answer there is PNG.

Converting a set of drawings

Drop the whole folder. Every SVG is rendered at the same scale and returned as a ZIP, which is what an icon set or an export batch usually wants.

The rendering happens on your machine, so nothing waits in a queue behind anybody else. The two limits are the ones printed above the drop zone — 100 MB per file, 100 files in a batch — and they are the same for every visitor rather than a tier to be paid past. And because it is resvg rather than a browser canvas, the last file is drawn exactly like the first.

How to convert an SVG to a JPG

  1. Drop your SVG onto this page, or click to choose one.
  2. Set the size and the background colour under the result, then convert again if needed.
  3. Download the JPG. The rendering happened in your browser, with no upload.

SVG vs JPG: infinite scale against a fixed grid

SVG compared with JPG
SVGJPG
Full nameScalable Vector GraphicsJPEG Image
File extension.svg.jpg, .jpeg, .jpe
Media typeimage/svg+xmlimage/jpeg
CompressionUncompressedLossy — file size is bought with quality
First published20011992
Published byW3CJoint Photographic Experts Group
SpecificationSVG 1.1ITU-T T.81
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Bit depth8
Colour it can describeRGBRGB, greyscale, YCbCr
Largest image65,535 px per side
Opens in a browserEvery browserEvery browser
Considered insteadPNG, PDFWebP, AVIF, HEIC

What is lost

JPG has no alpha channel. A transparent SVG comes out with those areas filled in — white unless something else is set — and no setting in JPG brings the transparency back.

SVG describes shapes and JPG stores pixels. The result is sharp at the size it was rendered and no sharper — enlarging it afterwards can only invent the pixels in between, which is why the export size matters more here than in most conversions.

JPG holds a single still image. An animated SVG keeps its first frame and loses the rest, so a conversion is a way to take a still out of one, not a way to move it.

Layers are merged. SVG keeps them separate and editable; JPG stores the composite, so anything that depended on moving a layer afterwards has to happen before the conversion.

Opening the result

The usual programs do not overlap: SVG opens in Inkscape, Adobe Illustrator and Figma, JPG in Adobe Photoshop, GIMP and Preview — so whoever receives the result needs something from the second list.

File size and quality

The file gets substantially smaller, and it gets smaller by discarding detail. SVG keeps everything; JPG keeps what the eye is poor at noticing. On a photograph that trade is close to free; on text, a screenshot or a line drawing it is visible as haloing around the edges.

What each format is for

SVG is W3C's format, published in 2001. The specification is SVG 1.1, and it is worth reading if the file has to outlive the tool that wrote it.

JPG comes from Joint Photographic Experts Group and dates from 1992, specified as ITU-T T.81. Adobe Photoshop, GIMP and Preview all read it.

SVG to JPG: common questions

Why does my SVG look blurry as a JPG?

Because it was rendered too small and then stretched. An SVG has no size of its own — it is instructions, so it can be drawn at any dimensions — and the conversion has to pick one. If the file declares a modest width, that is what most converters use, and a 200-pixel render blown up to fill a banner is soft in exactly the way vectors were invented to avoid. Set the scale under the result and convert again.

How large should I render it?

Match the final use and then some. For a web page, twice the display size covers high-density screens. For print, aim for roughly 300 pixels per inch of the printed size — an image four inches wide wants around 1200 pixels. Rendering larger than needed costs only file size; rendering smaller cannot be undone.

What happens to the transparent background?

It is filled with a solid colour, because JPG has no way to store transparency. White is the default and can be changed in the settings under the result. This is the failure worth anticipating: a white or pale logo on a transparent background becomes a white logo on white and vanishes. If the transparency matters, convert to PNG or WebP instead.

JPG or PNG for a logo?

PNG, almost always. Logos are flat colour with hard edges, which is what JPG handles worst — the compression smears the boundaries and produces a faint halo, and the file often does not even end up smaller. JPG is the right target when the SVG contains a photograph or a rich illustration, or when something downstream insists on it.

Is the file uploaded?

No. The SVG is rendered and the JPG encoded inside your browser, so nothing is sent. The renderer is resvg, which produces the same result on every machine rather than depending on the fonts and quirks of whoever opens it.

More about these formats

Where these figures come from

The claims this page makes about SVG and JPG are checkable, and these are the documents that settle them.