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.
- Open the SVG in Chrome, Edge, Firefox or Safari and confirm it renders.
- 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.
- Note the viewBox size. A viewBox of 1200 by 800 is a 3 to 2 shape, and the export keeps that shape.
- 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.
- Upload the SVG file from your computer or phone.
- Pick white for a photo, a slide, or a document.
- Pick a brand colour for a logo that sits on a coloured page, and check the result on that page colour.
- 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.
- Enter the output width in pixels. Use 1600 for a website image and 2400 for a large slide or a small print.
- Set the quality to 90 for most uses, or 95 and above for print.
- Convert and download the JPG, then open it at full size and zoom in on the edges and lettering.
- 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.
- Open the JPG in an image viewer or a browser tab.
- Zoom in on text, thin lines and hard edges.
- Place it on the page or slide where it will live and check the background blend.
- If the background looks wrong, convert again with a different background colour. Do not try to fix it by editing the JPG.
Settings table
| Use | Width | Quality | Background |
|---|---|---|---|
| Website image | 1600 pixels | 90 | White or brand colour |
| Large slide | 2400 pixels | 90 | White or brand colour |
| Small print, 6 inches wide | 1800 pixels | 95 | White |
| Thumbnail or avatar | 800 pixels | 85 | White 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.