SVG PreviewerImage Tools
Shows SVG code as an image with zoom, backgrounds, and size details.
An SVG is a text file that describes a drawing, so it opens in a browser rather than a photo app. Preview it safely, find out why it might look wrong, then save it in the format the next app accepts.
Many photo viewers, upload forms, and print services don't accept SVG, and when a file does open it can look wrong. An icon drawn in white disappears on a white background. A file with no width, height, or viewBox gets a default size of 300 × 150 pixels, and the drawing can end up outside that area. An icon that uses currentColor shows as black, because a standalone image has no text color to borrow.
Files from other people bring one more worry: an SVG can contain scripts and links. Shown as an image, none of that runs.
Open the file in the SVG Previewer. Paste the code, drop the .svg file on the text box, or upload it. It draws the SVG as an image, the way an <img> tag would, so scripts, event handlers, and links inside the file don't run. Switch between light, dark, and checkerboard backgrounds to find white or transparent parts, zoom from 25% to 800%, and read the size and viewBox. Images and web fonts linked from the file are not loaded.
For a PNG, use SVG to PNG. Choose a scale from 1x to 8x or an exact width or height, and keep the background transparent or pick a color. The drawing is rendered at the final size, so a 24 × 24 icon at 4x comes out as a sharp 96 × 96 PNG instead of an enlarged small one. The PNG can be up to 8000 pixels on each side.
When a form or print service insists on JPG, use SVG to JPG. JPG has no transparency, so pick the color that fills the empty areas, and set the quality: the default of 92 keeps graphics clean, with full color resolution from 90 up. For logos and flat artwork, PNG is the better choice whenever it is accepted.
Yes, in the SVG Previewer. The file is shown as an image, so browsers don't run its scripts or open its links, and nothing is uploaded.
Often the drawing is white on a white background, or the file has no size and no viewBox and falls back to 300 × 150. Switch to the dark background and check the viewBox.
No. The vector drawing is rendered at the final pixel size, so a 4x or 8x PNG is as sharp as the SVG.
PNG. Flat colors and sharp edges are what JPG handles worst, and PNG keeps transparency.
Tools used in this guide
Shows SVG code as an image with zoom, backgrounds, and size details.
Turns SVG files into sharp PNG images at any scale, with transparency.
Turns SVG files into JPG images at any size, on a background color you pick.