Skip to content

SVG to PNG converter

SVG → PNG fixes vector artwork to a pixel size for upload targets that cannot render SVG themselves.

  • Converted with Image engine · nothing stored
  • Free: 5 conversions a day · 5 MB each
  • Higher limits →

From real runs

What you get — and what changes

  • Vector geometry Changed

    Paths and shapes are rasterized to the requested width, height, or DPI and no longer scale infinitely.

  • Transparency Kept

    Transparent SVG backgrounds remain transparent in the PNG unless a background is specified.

  • Fonts Changed

    Fonts referenced by family name are substituted when that font is not installed in the rasterizer environment.

  • External images Lost

    Linked images are not fetched, so SVGs should embed required raster assets before conversion.

  • External CSS Lost

    Styles in separate CSS files are not loaded; inline critical styling inside the SVG file.

  • SVG filters Changed

    Common filters may render, but complex filter chains are only partially supported by the rasterizer.

Sample conversions

App logo for a marketplace listing

Input
An SVG logo made of paths with a transparent background and no external assets.
Output
A 1024 px PNG with transparent corners. Curves were clean at that size but no longer vector-scalable.

Chart SVG using a brand font

Input
A chart exported from design software with text set in a named brand font and a drop-shadow filter.
Output
A PNG where the font substituted to an installed fallback and the shadow rendered slightly differently.

SVG with linked background photo

Input
An SVG referencing background.jpg from the same folder plus styles from theme.css.
Output
The linked photo and external CSS were missing. Embedding the image and inline styles before upload fixed the render.

A real SVG → PNG run

We converted our SVG sample (389 B) with Image engine on 2026-10-20. It took 27 ms and produced a 4 KB PNG file, 9.5× larger than the input. The engine raised 1 warning, listed below.

Input · sample.svg · 389 B

SVG viewBox 0 0 320 200, 0 paths

viewBox
0 0 320 200
Paths
0

Output · sample.png · 4 KB

320 × 200 px, 8-bit, colour type 6

Width
320
Height
200
Encoding
8-bit, colour type 6
  • Image metadata stripped from output.

Options and when to change them

width
Set the final PNG pixel width for icons, favicons, social previews, or design-system exports.
height
Set height with width when the destination requires exact dimensions rather than preserving the SVG viewBox ratio.
dpi
Use DPI when the SVG has physical units and the output must match print-oriented sizing.

Do it yourself

librsvg rsvg-convert

bash
rsvg-convert -w 1024 in.svg -o out.png

librsvg's font and filter behavior may differ from the Pillow-backed rasterizer used by this page.

SVG to PNG by API or MCP

The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=svg&to=png.

curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
  -H "Authorization: Bearer $FTC_API_KEY" \
  -F "file=@input.svg" -F "from=svg" -F "to=png" \
  -F 'options={"dpi":96}' \
  --output output.png

Options this engine accepts for SVG → PNG

KeyApplies toTypeDefault
dpiReading SVGnumber96
widthWriting PNGnumber0
heightWriting PNGnumber0
fitWriting PNGcontain · cover · fillcontain
qualityWriting PNGnumber90
backgroundWriting PNGstring#ffffff
stripMetadataWriting PNGbooleantrue
API reference

When this is the wrong conversion

  • Keep SVG for web icons when crisp scaling, CSS styling, or tiny source files are more important than upload compatibility.
  • Export from the design tool directly if the SVG depends on proprietary fonts or advanced effects.
  • Use PNG → SVG tracing only for bitmap-to-vector reconstruction; SVG → PNG intentionally goes the other direction.

SVG to PNG questions

Why did my SVG font change?

The rasterizer can only use fonts installed in its environment. Convert text to paths or use common fonts when exact lettering matters.

Can SVG → PNG keep a transparent background?

Yes, if the SVG itself has transparency and you do not set a solid background for the PNG.

Why are images missing from my SVG render?

External images are not loaded. Embed the images as data URIs or produce a self-contained SVG before converting.

Should I use width, height, or DPI?

Use width and height for screen pixels. Use DPI when the SVG uses physical units and the printed size matters.