THE VECTOR FIELD GUIDE

Convert SVG to JPG: Background, Size and Quality, Step by Step

Convert SVG to JPG the right way. Learn what rasterization means, how to pick a background colour since JPG has no transparency, what width and quality to use, and the mistakes that blur text and logos.

By Shahab Uddin · Updated

The short answer

To convert SVG to JPG, render the vector at a fixed pixel size, fill any transparent areas with a solid colour, and save the result as a JPEG. JPG cannot store transparency and cannot scale like a vector, so pick the final size before you convert. Use the free SVG to JPG converter on this site: upload the SVG, set the width and background colour, choose quality 90 for most uses, and download the JPG.

What converting SVG to JPG actually does

An SVG file stores shapes as paths, so it can scale to any size without losing sharpness. A JPG stores a grid of pixels, so it has one fixed size. Converting SVG to JPG means rasterization: the browser draws the vector shapes onto a pixel grid at the width you choose, then compresses that grid as a JPEG.

That change is one way. Once the shapes become pixels, you cannot get the paths back from the JPG. Keep the original SVG file, because you will need it if you ever want a different size, a different background, or a vector version again.

JPG also has no transparency. Every pixel in a JPG has a colour, so any transparent part of the SVG must become a solid colour during the conversion. White suits most uses. A brand colour suits a logo on a coloured page.

Worked example: a 1200 by 800 logo

Take a logo with a viewBox of 1200 by 800, a 3 to 2 shape. Export it at 1200 pixels wide and the height stays 800, because the converter keeps the aspect ratio. That image has 960,000 pixels.

Export the same logo at 2400 pixels wide and the height becomes 1600. That image has 3,840,000 pixels, exactly 4 times as many as the 1200 pixel export, because doubling each side multiplies the area by 4.

For print, divide the pixels by 300. The 1200 pixel export prints 4 inches wide and 2.67 inches tall. The 2400 pixel export prints 8 inches wide and 5.33 inches tall. A 6 inch wide print at 300 DPI needs an 1800 pixel wide export, and the height is 1200.

Quality changes the file size more than the look for flat art. In a quick local test of a flat two colour test image, quality 90 gave a file of about 30 KB at 1200 by 800, against about 24 KB at quality 60. Real files vary with the artwork, but flat logos stay small at either setting, so there is no reason to drop below quality 85 for a logo.

Step 1: check the SVG before you convert

Open the SVG in a browser tab before you convert it. Check that the shapes, colours and lettering look right, and that nothing is missing. A converter can only rasterize what the file actually contains, so a broken SVG gives a broken JPG.

  1. Open the SVG in Chrome, Edge, Firefox or Safari and confirm it renders.
  2. If the SVG uses a web font or a linked image, convert the lettering to outlines in your editor first, or the JPG may fall back to a different font.
  3. Note the viewBox size. A viewBox of 1200 by 800 is a 3 to 2 shape, and the export keeps that shape.
  4. Keep a copy of the original SVG. The JPG cannot be turned back into paths.

Step 2: upload the SVG and pick a background

Open the SVG to JPG converter on this site and upload the SVG file. The conversion runs in your browser, so the file is not sent to a server. Then pick the background colour, because this choice cannot be changed after the JPG is saved.

  1. Upload the SVG file from your computer or phone.
  2. Pick white for a photo, a slide, or a document.
  3. Pick a brand colour for a logo that sits on a coloured page, and check the result on that page colour.
  4. If the SVG has no transparent areas, the background choice changes nothing, so leave it on white.

Step 3: set the width and quality

Set the width to the largest size you will need. A JPG cannot be enlarged later without blurring, but it can always be made smaller. Quality 90 suits most uses. Quality 100 keeps the most detail and makes the largest file, so save it for print or for a logo with fine lettering.

  1. Enter the output width in pixels. Use 1600 for a website image and 2400 for a large slide or a small print.
  2. Set the quality to 90 for most uses, or 95 and above for print.
  3. Convert and download the JPG, then open it at full size and zoom in on the edges and lettering.
  4. If the edges look rough, export again at a larger width instead of raising the quality further.

Step 4: download and check the JPG

Open the downloaded JPG where you plan to use it, not only in the converter preview. Check it on the real background colour, at the real display size, and on a phone screen if that is where people will see it. A JPG that looks clean in a small preview can still show ringing around text at full size.

  1. Open the JPG in an image viewer or a browser tab.
  2. Zoom in on text, thin lines and hard edges.
  3. Place it on the page or slide where it will live and check the background blend.
  4. If the background looks wrong, convert again with a different background colour. Do not try to fix it by editing the JPG.

Settings table

UseWidthQualityBackground
Website image1600 pixels90White or brand colour
Large slide2400 pixels90White or brand colour
Small print, 6 inches wide1800 pixels95White
Thumbnail or avatar800 pixels85White or brand colour

Common mistakes

  • Exporting too small, then enlarging the JPG. Enlarging pixels blurs edges, so export at the largest size you need.
  • Leaving the background on the wrong colour. A white background on a dark page shows as a white box around the logo.
  • Using a low quality setting for a logo. Flat art with sharp text needs quality 90 or above, or the edges show ringing.
  • Deleting the original SVG after the conversion. The JPG cannot be turned back into paths, so a new size means starting again.
  • Converting a photo style SVG to JPG at a tiny width for print. Print needs 300 DPI, so work out the pixels from the inches first.

When JPG is the wrong choice

Use PNG when you need transparency or razor sharp text on a flat graphic, because PNG is lossless and keeps transparent areas. Use WebP when the platform accepts it and you want a smaller file with transparency. Keep the SVG itself when the image must scale, for example a logo on a website that appears at many sizes.

JPG is the right choice for a photo style image, a slide, an email attachment, or any place that accepts only JPG. It is also the right choice when file size matters more than perfect edges, because a JPG of a photo is far smaller than a PNG of the same photo.

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

Can I convert SVG to JPG for free?

Yes. Use the free SVG to JPG converter on this site. Upload the SVG, set the width and background, and download the JPG. No account is needed and the file is processed in your browser.

Does converting SVG to JPG lose quality?

The JPG is sharp at the size you export, but it is no longer scalable. Enlarging it later will blur edges, so export at the largest size you need. Keep the original SVG for future sizes.

Can a JPG keep a transparent background?

No. JPG has no transparency, so transparent areas become the background colour you pick. If you need transparency, export a PNG or WebP instead.

What size should I export?

Use the size it will be shown or printed at. For a website or slide, 1600 to 2400 pixels wide is usually plenty. For print, multiply the inches by 300, so a 6 inch wide print needs 1800 pixels.

Why does my JPG look blurry around text and logos?

JPEG compression is tuned for photos, so hard edges can show faint ringing at low quality. Raise the quality to 90 or above, and use PNG for flat graphics with sharp text if the platform accepts it.

Is JPG the same as JPEG?

Yes. JPG and JPEG are two extensions for the same format. The downloaded file uses .jpg, which every app recognizes.

Next, make it useful.