OnlyFormat

SVG to PNG Converter

Convert vector SVG files to raster PNG images with custom scale factor.

No data sent to server
HD

Related Tools

Vector vs Raster — what changes

SVG (Scalable Vector Graphics, W3C Recommendation in September 2001) describes images as math: paths, circles, polygons. Infinitely scalable, tiny file size for graphics, animatable with CSS/JS. PNG stores actual pixels — fixed resolution, larger file size, but works in every tool that accepts images.

Once you convert SVG → PNG, you’ve fixed the resolution. Need a larger version later? Re-convert from the original SVG. Always keep SVG as the source of truth for graphics.

When SVG → PNG is needed

  • Email signatures: most email clients don’t render inline SVG correctly
  • Social media uploads: Twitter/Instagram/Facebook require raster formats
  • App icons: iOS/Android need PNG at specific resolutions (192px, 512px, etc.)
  • Microsoft Office: older versions of Word/PowerPoint don’t import SVG cleanly
  • Print services: many print shops expect raster formats
  • OG / favicon images: spec mostly accepts PNG

Scale factor guide

  • : standard 96 DPI screens, basic web display
  • : Retina / HiDPI displays (most laptops, modern phones) — recommended default
  • : high-end smartphones (iPhone Pro models), 4K displays
  • 4×+: print preparation, very large monitors

For app icons / favicons, generate multiple resolutions (1×, 2×, 3×) and serve the appropriate one based on device pixel ratio.

How to Use

  1. Choose scale factor (2× for Retina is the safe default).
  2. Drag & drop SVG files, or click to browse.
  3. Click Convert to PNG.
  4. Download individual PNGs or all at once.

Turning Instructions Into Pixels

An SVG is not an image in the usual sense — it is a text file describing shapes: draw a circle here, fill this path with that gradient, set this text in that font. The browser follows those instructions and renders them at whatever size is needed, which is why an SVG stays perfectly sharp at any zoom level.

A PNG is a fixed grid of pixels. Converting means executing the drawing instructions once, at one chosen resolution, and freezing the result. Sharpness is now tied to that resolution, so scaling up afterwards produces the soft, blurry look of any enlarged bitmap.

This is why the scale setting matters more here than in any other conversion on the site. Choose the size you actually need, or larger.

When You Have to Rasterise

SVG is superior nearly everywhere on the web, so the reasons to convert are all about somewhere that cannot handle it:

Social media and Open Graph images. Facebook, X, LinkedIn, and Slack previews require raster formats. An SVG in an og:image tag simply does not render.

Email. Most email clients block or ignore SVG, so newsletter graphics have to be PNG or JPG.

App stores and marketplaces. Icon and screenshot uploads almost always demand PNG at exact pixel dimensions.

Documents and presentations. Office applications handle SVG inconsistently across versions and platforms.

Anywhere fonts are a risk. An SVG that references a font not installed on the viewing machine falls back to something else, silently changing the design. Rasterising locks the appearance in.

FAQ

What scale should I use?

1× for standard screens, 2× for Retina/HiDPI (recommended default), 3-4× for print or large displays. For app icons, generate multiple at once.

Will transparency be preserved?

Yes — SVG transparency converts to PNG alpha channel.

What about CSS animations in my SVG?

The PNG captures the SVG’s static initial state. Animations don’t transfer to PNG (raster format has no time dimension). For animated output, render to GIF or video.

My SVG references external resources — do they load?

External fonts, linked images, and external CSS won’t load during conversion. Embed all dependencies inline in the SVG before converting (use SVGO or similar tools to inline assets).

Why is my output PNG blurry?

Likely your scale factor is too low for the display you’re targeting. Try 2× or 3×. SVG → PNG isn’t lossless from a vector perspective — once rasterized, you can’t get crisp at higher resolutions without re-converting.

What resolution should I choose?

At least the size you will display it at, and double that for high-DPI screens. Going larger costs only file size; going too small cannot be fixed afterwards without re-rendering from the SVG.

Is transparency preserved?

Yes. Areas with no fill stay transparent in the PNG, which is why PNG rather than JPG is the right target for logos and icons.

Why does my text look different?

The SVG references a font that is not available, so a substitute was used. Converting text to outlines in your design tool before exporting the SVG avoids this entirely.

Can I convert PNG back to SVG?

Not meaningfully. Going from shapes to pixels discards the shape information. Tracing tools can approximate an outline, but they do not recover the original vector paths.

Are external images in the SVG included?

No. SVGs that link to remote images will render without them, because the conversion runs locally and does not fetch external resources — which is also a security benefit.

Is the SVG sent anywhere to be rendered?

No. Rendering happens in your browser, and the file is sanitised before being drawn, so scripts embedded in an SVG cannot run.

Can I set an exact pixel size?

The scale factor multiplies the SVG’s own dimensions. For an exact target such as 512×512, set the SVG width and height attributes to match first, then convert at scale 1.

⚠️ Reference Only

Output is generated based on your input and is provided for reference. Results may vary depending on your specific use case, edge cases, or environment-specific behavior. We do not guarantee accuracy of conversions, validations, or computed values.

Always verify critical outputs against official documentation or production environments. We are not responsible for any decisions or losses based on these tool results.