JPG is the most widely used lossy format for photos. JPG opens in most environments, but another format such as SVG may suit some uses better.
SVG is an XML-based vector format that stays sharp at any size. Converting JPG to SVG is not like changing the format of an ordinary file, though: it is tracing (an estimate) that redraws the image as shapes. It works well for simple images such as logos and icons but not for photos, so read the cautions below first.
This converter reads the file itself to confirm it is JPG, then converts it to SVG right in your browser. Your image is never uploaded.
JPG vs SVG: what's the difference?
| Item | JPG | SVG |
|---|---|---|
| Compression | Lossy | Vector (stored as math) |
| Transparent background | No | Yes |
| Animation | No | Yes |
| Introduced | 1992 | 2001 |
| Support in programs and upload forms | nearly everywhere | moderate |
| Shown directly in browsers | Yes | Yes |
| Photo file size (JPG = 1) | baseline (1×) | n/a |
What is JPG?
JPG (JPEG) is a lossy format standardized in 1992. It drops information the human eye is less sensitive to, making photos very small. It is the format cameras and smartphones save by default, so it is the one you meet most often.
What is SVG?
SVG stores lines, shapes and curves as math in text (XML) instead of pixels. It stays sharp however far you zoom, and a simple logo can be just a few KB.
What changes when you convert JPG to SVG
It is an estimate, not an exact copy
Converting JPG to SVG here means tracing: finding the outlines of areas of color in the image and redrawing them as shapes. It isn't an ordinary conversion that preserves the original pixels, so the result is not identical to your JPG file; edges may shift a little and small details can disappear.
JPG files are often photos, which don't suit SVG conversion
Photos have continuously changing colors, so splitting them into shapes gives a rough result and a file that can be much larger than your JPG original (a single photo can reach several MB or more). When this site detects an image with many colors like a photo, it shows a warning on the result screen. If your JPG contains a logo or icon, it is fine.
Colors are simplified to the number you set
SVG reduces the colors to a set number (2-64) to build the shapes. Subtle color differences in your JPG file disappear, and smooth gradients can split into bands. You can adjust the number of colors and the level of detail in the conversion options; for logos and icons, 4-16 colors is often enough.
Text becomes shapes, not a font
Text inside the JPG image is drawn as shapes in the SVG, not as text. You can't edit or search it later, and small or blurry text can be hard to read. If you need to edit the text, use the original design file.
The background becomes one big shape
JPG has no transparent background, so the background color is included in the SVG as a large shape. If you don't need it, delete that shape in an editor after converting, or start from an original with a transparent background.
How size and file size change
An SVG grows with the number of shapes. A simple logo can be smaller than the JPG original, but a complex image becomes much larger. After converting, the result screen compares the size with the original and tells you when it is larger. Tracing is done on an image reduced to at most 1024px on a side, and only the display size (width and height) of the SVG is set to the size you chose, so it stays sharp when enlarged.
When to convert
- You have a JPG logo or icon without an original vector file (AI, Figma and so on) and want a form that doesn't break when enlarged
- You want to change the color or size of a simple graphic with code on the web
- You need a base outline for a program that takes outlines (vectors), such as cutting, embroidery or laser tools; the result may need cleaning up
- You want to rebuild a low-resolution JPG logo as a vector; if the JPG has compression noise, the result needs cleaning up
JPG → SVG: practical tips
Because of compression noise, a JPG has slightly different colors mixed in even where the color looks the same, so even a flat-color logo can be split into messy shapes. Try lowering the colors and setting the detail to simple.
If it's a photo, this conversion isn't recommended. If the result screen shows the photo warning, JPG or WebP is a better choice than SVG.
JPG has no transparent background, so a white background is included as one big shape. After converting, delete the background shape in an editor before using it.