An SVG logo is close to perfect on your own website: a tiny file, sharp at every size. Then a presentation tool, an app store listing or a client's document asks for a PNG, and the vector file is refused.

Converting is easy. Converting at the right size is where people go wrong, because a PNG has fixed pixels and an SVG does not, so the converter must decide something the source file never forced on you. This guide explains that decision and the transparency choice that comes with it, using the free SVG to PNG Converter on Ovatly, which renders in your browser.

Contents

  • Quick answer
  • Two different kinds of picture
  • Choosing the output width
  • Transparency and backgrounds
  • How to convert SVG to PNG, step by step
  • Worked example: a wide logo at 1024 px
  • When PNG is the right call, and when it is not
  • Limitations and honest trade-offs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

To convert SVG to PNG well: open the SVG to PNG Converter, paste your SVG markup or load the .svg file, set the output width to the size the image will display at (times two for retina screens), choose a transparent background if the artwork needs one or white or black if the destination expects a solid backdrop, then convert and download. Height follows the aspect ratio automatically. The vector is rendered fresh at that size, so the PNG is as sharp as the size allows; rendering too small is the one mistake you cannot fix afterwards, short of converting again.

Two different kinds of picture

An SVG is a set of drawing instructions: shapes, paths and text described mathematically. It has no fixed pixel size, which is why one file can serve as a tiny icon and a billboard graphic. A PNG is a grid of pixels with set dimensions: it looks the same everywhere, and it can never be enlarged beyond its grid without going soft.

Converting is carrying out the instructions once, at a size you choose, and keeping the resulting grid. That explains every rule in this guide: the size decision is permanent in the PNG, and the quality ceiling is set by how many pixels you ask for. The SVG remains the master, because the trip back from pixels to instructions does not exist in any clean form.

Choosing the output width

The tool asks for one number: the output width in pixels. The height follows the artwork's aspect ratio, so a wide logo stays wide and a square icon stays square.

Pick the width from where the PNG will live, not from habit. The tool's own guidance is the display width times two for retina screens: a logo shown at 300 px wide wants a 600 px PNG. An app icon wants exactly the size the store specifies.

Bigger is not free. Doubling the width quadruples the pixel count, and the file grows with it, so a 4,000 px render of a simple logo is waste if it will only ever be shown at 400 px. If a PNG comes out too heavy for its destination, the fix afterwards is compression, covered in the guide to compressing images without visible quality loss, not re-rendering smaller.

Transparency and backgrounds

SVG artwork usually has no background; what sits behind the shapes is transparent. The converter lets you keep that or replace it: transparent, white or black.

Transparent is right when the PNG will sit on a page or slide whose colour you do not control. White is the safe default for documents and print, where transparency is often flattened unpredictably. Black suits artwork for dark interfaces. One trap: some systems flatten transparency onto black, and dark artwork on that black can nearly vanish. If the destination is unknown and the artwork is dark, white is the defensive pick.

How to convert SVG to PNG, step by step

  1. Open the SVG to PNG Converter. Paste your SVG markup, or choose an .svg file to load its code.
  2. Set the output width in pixels, using the display-size-times-two rule above. The height takes care of itself.
  3. Choose the background: transparent, white or black.
  4. Convert and check the preview. Look for anything missing, especially text in an unusual font or a picture inside the artwork; the FAQs below explain why those go first.
  5. Download the PNG. If the size is wrong, change the width and convert again from the SVG rather than resizing the PNG.

Before rendering, the tool sanitizes the markup, removing scripts and event handlers, so a downloaded SVG cannot smuggle code into it.

Worked example: a wide logo at 1024 px

Take an SVG with a viewBox of 0 0 100 50 and no width or height attributes: an intrinsic shape of 100 by 50 units, a two-to-one rectangle.

Set the output width to 1024 px and convert. The PNG is exactly 1024 by 512 px: the height is the width divided by two, following the artwork's aspect ratio. The render is sharp because the vector is drawn fresh at that width, rather than a small bitmap being stretched up to it.

The same example shows the failure mode to avoid. Render that logo at 128 px for a thumbnail, then place the PNG somewhere it displays at 800 px wide, and it will look soft whatever you do to the file. Never enlarge the PNG; go back to the SVG and render again at 1600 px.

When PNG is the right call, and when it is not

PNG is right when the destination demands a bitmap: upload forms that reject SVG, office documents, app store listings, older content systems, and any fixed slot whose pixel size you know. It is also right when you need the artwork frozen exactly as it looks today, immune to whatever fonts the viewer's machine has.

SVG stays right on your own website, where it is smaller than any PNG of the same artwork and sharp at every size. And it stays right as your archive copy: always convert from the vector, never from a previous PNG. The other conversion and editing jobs around this one are gathered in the Image Tools cluster.

Limitations and honest trade-offs

An SVG loaded as an image must be self-contained. Browsers block external fonts and linked images inside it, so those elements fail or go missing in the render. If your artwork uses a web font or references a picture by URL, embed the asset in the file first, as a data URL, and convert again.

The SVG must also declare a size, through width and height attributes or a viewBox. Without one, the tool asks you to add it rather than guessing. A guessed size is how blurry PNGs get made.

Finally, the PNG is a copy at one size. It cannot be edited as shapes or scaled up cleanly. That is not a flaw in the converter; it is what a bitmap is. Keep the SVG, and the limitations stop mattering.

Common mistakes

  • Converting at display size, then viewing on retina. The result looks slightly soft. Render at twice the display width.
  • Enlarging a small PNG later. The pixels are not there. Go back to the SVG and render bigger.
  • Losing the background by accident. A transparent PNG of a white logo disappears on a white page. Pick the background deliberately.
  • Expecting linked assets to survive. Fonts and images referenced by URL are blocked here. Embed them.
  • Deleting the SVG after converting. The PNG is a copy, not a replacement. The vector is the only version you can re-render at a new size.

FAQs

Why convert SVG to PNG at all? SVG is ideal on the web, but many upload forms, office documents and older systems only accept bitmap formats. A PNG rendered at the exact size you need keeps the artwork as sharp as the vector allows.

What width should I pick? The width the image will actually display at, times two for retina screens. A logo shown at 300 px wide wants a 600 px PNG.

My SVG rendered with missing pieces. Why? Almost always an external reference: a font loaded by URL, or an image linked instead of embedded. Browsers refuse to load those inside an image-context SVG, so embed the asset in the file and convert again.

Is my SVG uploaded? No. Sanitizing and rendering both happen in your browser, so your artwork never leaves your device.

Can I turn the PNG back into an SVG later? Not cleanly. Tracing a bitmap produces an approximation with stray paths, not your original artwork. Keep the SVG file as your master and treat every PNG as a disposable copy made from it.

Conclusion

Converting SVG to PNG is a two-decision job: pick the width from where the image will be displayed, with a factor of two for retina, and pick the background from where it will sit. Get those right and the SVG to PNG Converter produces a render as sharp as the vector allows, without your artwork leaving the browser. Keep the SVG as the master, and a wrong size is one re-render away. For the opposite privacy job on photos, see the guide on how to blur faces and sensitive details in photos.

Related guide: How to Blur Faces and Sensitive Details in Photos.

References