An SVG is a set of drawing instructions with no fixed pixel size, so turning it into a JPG means choosing one. You enter a width in pixels, the height follows from the shape of the drawing, and the graphic is drawn at that size and saved as a JPG at quality 80. JPG has no transparency, so anything see-through is placed on white.
How to use it
- Drop your .svg or .svgz files on the page, or click to choose them.
- Enter a number in Width in pixels, or leave the default of 1024.
- Click Convert to JPG.
- Download the JPG and view it at full size to check sharpness and fonts.
Choosing the width
Width in pixels accepts whole numbers from 16 to 10000. Only the width is set; the height is calculated so the drawing keeps its proportions. Pick the size the image will be shown at, or double it for high-density screens.
The finished image may not exceed 100 megapixels, so the maximum width only works for graphics that are not taller than they are wide. If the size you ask for is over that, the refusal tells you the widest value that fits.
How sharp the result is
The drawing is rendered directly at the width you ask for, not rendered small and enlarged, so curves and text are as crisp at 4000 pixels as at 400. That holds for a 16-pixel icon, for a 4K canvas, and for drawings sized in millimetres or inches such as an A4 or Letter page.
What cannot be sharpened is anything in the SVG that is not a vector. A photo or screenshot embedded in the drawing has its own fixed resolution and is scaled like any bitmap, so it softens when the width you choose is larger than it was made for.
What is not drawn
The file is rendered on its own, on a server with no internet access.
- Images linked by address are not fetched. Images embedded inside the SVG are drawn.
- Web fonts are not loaded. Text in a font the server lacks is drawn in a substitute, so convert text to outlines first if the typeface matters.
- Animations and scripts do not run; you get the drawing in its starting state.
- An SVG whose DOCTYPE declares an entity pointing at another file is refused. Compressed .svgz files are read like plain .svg.
Questions
What size should I enter for an SVG to JPG conversion?
Enter the width in pixels you need the JPG to be. The default is 1024, the minimum 16 and the maximum 10000. The height is worked out from the proportions of the drawing.
Why does my SVG have a white background as a JPG?
JPG cannot hold transparency, so empty areas of the SVG are filled with white. Use SVG to PNG to keep the background transparent.
Why is the JPG blurry?
Vector shapes and text are drawn at the width you set, so blur almost always comes from a bitmap embedded in the SVG being stretched. Lower the width, or replace the embedded image with a larger one in your drawing program.
Why did the fonts change?
The font named in the SVG is not installed where the file is rendered, and fonts are not downloaded. Convert the text to paths in your drawing program before exporting the SVG.
Can I set the JPG quality or the height?
No. Quality is fixed at 80 and the height always follows the width. To change the shape afterwards use Crop image, and to make the file smaller use Compress image.
I need a favicon from my SVG logo. Is JPG right?
No. Browsers expect an icon file, which Favicon generator builds straight from the SVG with a transparent background.