How to Convert SVG to JPG or PNG (and When You Shouldn't)
To convert SVG to JPG, open SVG to JPG, choose your file and download the picture; for a transparent background use SVG to PNG. The result is a normal picture at the size written inside the SVG file, with a white background in JPG and a transparent one in PNG. One thing to know first: the tool has no size setting, so a small SVG gives a small picture.
Why SVG to JPG is not like other conversions
A JPG or PNG is a grid of pixels, and it has one fixed size. An SVG is a set of instructions (draw a circle here, a line there) and has no pixels at all, so it looks sharp at any size. Converting means choosing one size and drawing the instructions at that size. After that the picture can't be enlarged without getting blurry.
That is why people are sometimes surprised. An SVG that looks big in a browser can become a tiny picture, and a picture made from it can't be scaled up again.
What TypeorDrop does with your SVG
We checked this by running the converter on test files:
- Size. The picture has the width and height that the SVG declares. An SVG with
width="200" height="100"came out 200 × 100 pixels. One withwidth="1000" height="500"came out 1000 × 500. - No size in the file. An SVG that only has a
viewBox(many icons do) came out at the size of the viewBox: a 24 × 24 icon became a 24 × 24 picture. - JPG background. JPG can't hold transparency, so transparent areas become white.
- PNG background. PNG keeps transparency. An SVG with no background gave a PNG with a transparent background.
- Fonts. Text is drawn with the fonts installed on our server. In our test, an SVG asking for a font we don't have came out in a similar plain font instead.
- Linked images. An image that the SVG loads from a web address is not fetched. In our test the space where it should be stayed empty.
How to convert SVG to JPG or PNG
- Open SVG to JPG or SVG to PNG.
- Click to choose your SVG, or drop it on the page. Free accounts take files up to 25 MB.
- Start the conversion.
- Download the picture and open it. Check the size, the background and the text.
If you want a WebP picture instead, there is also SVG to WebP.
How to get a bigger picture
Because the tool uses the size inside the file, you choose the size before you upload. Open the SVG in a text editor, find the opening <svg tag and change the width and height numbers. If the tag has a viewBox, the drawing scales to fit, so setting width="2000" height="1000" on a drawing that was 200 × 100 gives a 2000 × 1000 picture. We tested this with a 24 × 24 icon, which came out 480 × 480 after we set those two values. Keep the same proportions as the viewBox, or the drawing will sit inside a wider or taller area.
To make the finished picture smaller, convert it first, then use Resize Image or Compress Image on the JPG or PNG.
JPG or PNG?
- PNG for logos, icons, diagrams and anything with sharp edges or transparency. The file is lossless.
- JPG for a final picture where a white background is fine and a smaller file matters, such as an upload form that only takes JPG.
Our comparison of JPG, PNG and WebP goes into more detail.
When you shouldn't convert
- The place you are uploading to accepts SVG. Websites and most design tools take SVG, and it stays sharp at every size.
- You may need a bigger size later. Keep the SVG as your master and make pictures from it when needed.
- The SVG relies on a special font. Convert the text to outlines (paths) in your drawing program first, or the text may change.
- The SVG loads pictures from the web. Embed them in the file first, or they will be missing.
- It has to be editable. A JPG or PNG can't be edited as shapes any more.
Troubleshooting
The picture is tiny. The SVG declares a small size. Change width and height in the file as described above, or make the SVG bigger in your drawing program, then convert again.
The text looks different. The font isn't installed on our server. Turn the text into outlines before you convert.
A picture inside the SVG is missing. It was linked from a web address. Embed it in the SVG, or add it to your design another way.
The background is white and I wanted transparent. You used SVG to JPG. Use SVG to PNG.
The conversion fails. The file may be damaged or not a real SVG. Open it in a browser to check that it displays.
FAQ
Can I convert an SVG to JPG without losing quality?
JPG is always lossy, but a sharp SVG becomes a clean JPG at the size you choose. For no loss at all, use PNG.
Does SVG to PNG keep the transparent background?
Yes. In our test, areas with no fill stayed transparent in the PNG.
Can I choose the resolution or DPI?
No. The tool uses the size written in the SVG. Change width and height in the file to get a different size.
Is it free?
Yes. You can run 2 jobs a day without an account and 10 a day with a free account. Pro removes the daily limit and ads for $4 a month or $38.40 a year.
Are my files kept?
The uploaded file is deleted when the job is done. The result is kept for 7 days so you can download it.
Ready? Open SVG to JPG or SVG to PNG and drop your file in.
Related articles
- JPG, PNG or WebP: Which Image Format Should You Use?
- The Best Free Online Image Tools, Compared Honestly
- How to Make a Favicon from a PNG (ICO Sizes and HTML Tag)