Convert SVG to PNG
Upload an SVG and get a PNG with its transparent areas intact and its pixel data stored losslessly. Check one thing first: the output size comes from the width and height written in the SVG itself, because this page has no resolution or scale setting.
Download Started!
How would you rate your experience with MiConvert?
Why Convert SVG to PNG?
An SVG is not a picture file in the usual sense. It is an XML document describing shapes, paths, gradients and text, which a renderer has to draw. That works in modern browsers and in vector editors, and fails nearly everywhere else: most email clients strip it, a lot of CMS and marketplace uploaders refuse SVG outright because XML can carry script, Office applications treat it inconsistently, and plenty of phone galleries show nothing at all. PNG is the raster format those same places accept, and unlike JPG it has a real alpha channel, which is what logo and icon artwork usually depends on.
On this page the file goes to our servers, where librsvg (through libvips/sharp) draws the document and PNG is written with lossless pixel data at compression level 6. The rendered size is the size declared on the root svg element. If the file has no width and height, the viewBox units become pixels, so viewBox="0 0 40 20" produces a 40 by 20 image. Files exported from Inkscape sometimes use xlink:, sodipodi: or inkscape: prefixes without declaring them, which breaks strict parsers; those declarations are repaired automatically before rendering for PNG.
What survives the trip: geometry, fills, strokes, gradients, clipping and the alpha channel, turned into pixels. What does not: the vectors themselves, so the PNG cannot be scaled up afterwards without softening. No ICC profile or metadata is written into the PNG. Text is drawn with the fonts available to the renderer, so a family referenced only by name can be substituted and the letter shapes will shift. If the drawing comes out empty because it relied on stylesheets, fonts or images that live outside the file, the job stops with a blank-image error rather than handing you a transparent rectangle.
The people who land here are mostly doing one of three things: posting a logo somewhere that rejects .svg uploads, needing a transparent-background PNG for a slide, thumbnail or app asset, or passing artwork to someone whose software only reads raster images. If you need a flat background instead of transparency, JPG is the other target on the site, and it mattes transparent areas rather than keeping them.
How to Convert SVG to PNG
- Open the SVG in a text editor and look at the root svg tag. The width and height there decide the PNG's pixel size; set them to the size you actually need, for example width="2048" height="2048". If only a viewBox is present, those numbers become the pixel dimensions.
- If the artwork uses text, convert it to paths in your editor first, and inline any external CSS or linked images so the file is self-contained.
- Drop the file into the box on this page. Up to 10 SVGs go in one request at up to 50 MB each without an account, and both single files and small sets are handled the same way.
- Choose PNG as the target and start the conversion. SVG files are small and most finish within a couple of seconds of upload.
- Download each PNG from the results list. The download link works for about four hours, so save the file rather than bookmarking the link.
What This Converter Does
- Keeps the alpha channel: transparent areas of the SVG stay transparent in the PNG, with no background added
- Writes PNG with lossless pixel data, so the rendered image is not re-compressed or degraded
- Renders with librsvg through libvips on our servers, at the exact width and height declared in the file
- Repairs undeclared xlink:, sodipodi: and inkscape: namespace prefixes that make some Inkscape exports unreadable elsewhere
- Rejects a blank render with an explicit error instead of returning an empty transparent image
- Takes up to 10 files per request on the free tiers, 25 on Plus and 50 on Pro, each converted to its own PNG
Video Tutorial
Watch this step-by-step tutorial to learn how to convert SVG files to PNG format online for free using MiConvert.com. No software installation required.
Frequent Questions
Will my transparent background stay transparent?
Yes. PNG carries a full alpha channel and the renderer writes it, so an SVG logo with no background rectangle becomes a PNG with transparent pixels around the artwork. Nothing is matted or filled in. If you want a solid colour instead, add a background rect to the SVG before converting, or convert to JPG, which has no transparency at all.
How do I get a high-resolution PNG?
By changing the SVG, not a setting here: there is no DPI, scale or output-size option on this page. The PNG comes out at the width and height on the root svg element, or at the viewBox units if no size is declared. Edit those attributes to the pixel size you want and upload again, or use Inkscape's export dialog or rsvg-convert locally if you need several sizes from one file.
Is SVG to PNG lossless?
The PNG itself is lossless: pixels are stored exactly as rendered, with no quality setting involved. The rasterization step is the one-way part, because the shapes become a fixed pixel grid. Keep the SVG as your master copy and re-render it whenever you need a different size.
Why does the text look different in the PNG?
Because the SVG referenced a font by name instead of embedding the glyph outlines, and the renderer substituted a font it has. Spacing, weight and letterforms change as a result. Converting text to paths in your vector editor before export fixes it permanently and also removes any dependency on installed fonts.
I got "The SVG rendered as a blank image" - what now?
That means the render produced nothing visible, which almost always points outside the file: styles in a page stylesheet, a web font, or linked bitmaps that are not fetched during conversion. Open the SVG in your editor, inline the styles, embed linked images as data URIs, and re-export a self-contained file. The error exists so you do not download an empty PNG by mistake.
Why does an SVG fail with "Input image exceeds pixel limit"?
Because the declared size is enormous. An SVG is tiny on disk but can ask for a canvas of hundreds of megapixels, and the renderer refuses past roughly 268 megapixels. Reduce the width and height on the root element to the size you really need and the same file converts without trouble.
Can I convert a folder of SVG icons in one go?
You can send up to 10 files in one request free and without an account, 25 on Plus and 50 on Pro, and each one comes back as a separate PNG. There is no ZIP of all results, so you download them one at a time, and there is no folder upload or watch-folder automation. For hundreds of icons, a local rsvg-convert or Inkscape command-line loop is the better tool.
What happens to my file after conversion?
Conversion runs on our servers, not in your browser. The uploaded SVG is deleted as soon as the job finishes, and the PNG stays available through a long random download link for about four hours before it is deleted automatically. File names, sizes and outcomes are recorded in our logs, so avoid putting confidential information in the file name.