How to use SVG to PNG Converter
- Choose up to ten static SVG files. Unsupported elements, missing references and external resources are refused before rendering.
- Leave Output width empty to use the resolved SVG size, or enter a base width of 16–4,096 pixels.
- Set Scale, output format and background. The longest output side is capped at 4,096 pixels; JPEG uses white when Transparent is selected.
- Convert and inspect each saved image, especially text and gradients. A batch includes individual images and a ZIP. Keep the SVG for editing.
Example: SVG to PNG Converter
A badge that needs a PNG copy for a form which will not accept SVG.
Options
- Width
- The pixel width of the exported image. Empty uses the size the file declares: the width and height attributes first, then the viewBox. A file with none of those is refused. A file that names only a height, with no viewBox, is read as 300 pixels wide.
- Scale
- Scale multiplies the base width: 240 pixels at scale 2 requests 480 pixels. The allowed scale is 0.05–8. Height follows the resolved SVG proportions. If either side would exceed 4,096 pixels, both are reduced together; use the reported output dimensions.
- Background
- Transparent keeps the alpha channel in PNG or WebP; JPEG receives a white background. White, black or a colour you choose is painted behind the drawing first, which suits a file that will sit on a fixed page colour.
- Output format
- PNG and WebP can keep transparency. JPEG uses a solid background. Each file in a batch uses the same settings.
Supported inputs and limits
- Up to 10 SVG files, 5 MiB each and 20 MiB total.
- PNG, JPEG and WebP output is capped at 4096 pixels on the longest side, 40 megapixels across the batch and 64 MiB of exported batch files.
- Static shapes, text, gradients, clip paths, masks, symbols and local use references are supported.
- Referenced IDs must exist, be unique and match the expected element type.
- Circular references, excessive nesting and reference expansion are refused.
More details
Scripts, event attributes, document types, entities, foreign namespaces, foreignObject, external links, raster image elements, data URIs, animation and filters are refused.
CSS url() references and escaped CSS references are unsupported; use supported presentation attributes for local references.
Only checked XML is rendered as an image.
Text becomes pixels, source metadata is dropped, and locally available fonts can affect the result.
Keep the SVG for later editing.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
Why the file is parsed before it is drawn
An SVG can contain document features that this converter deliberately refuses. Static shapes, supported text, gradients and local references can render, while scripts, external resources, filters, animation and embedded raster images cannot. A refusal identifies the unsupported construct so you can simplify a copy in an SVG editor. Fonts available on the device can change text appearance; compare the exported image with the drawing you intended.
What the pixel size means
The converter resolves a base size from supported width/height attributes and the viewBox, applies your width and scale, then caps the longest side. The resulting PNG, JPEG or WebP is a raster grid. Its text is no longer selectable and its paths are no longer editable. More pixels can render existing vector edges more finely, but cannot add content absent from the SVG.
Questions about SVG to PNG Converter
Why was my file refused?
The drawing contains an unsupported or unsafe construct, or a local reference is missing, duplicated, circular or has the wrong target type. The error identifies what failed.
Can an icon with a gradient convert?
Yes. Static linear and radial gradients work through local presentation-attribute references such as fill="url(#paint)". Filters, outside resources and CSS url() remain unsupported.
Can I place a logo or a raster image inside the SVG?
A logo made from supported vector shapes and local symbols can convert. Embedded raster images, image elements, data URIs and outside resources are refused.
The PNG came out at the wrong size. What decides it?
Output width supplies the base width, or an empty field uses the resolved SVG size. Scale multiplies it and height follows the proportions. If the requested result exceeds 4,096 pixels on either side, both dimensions shrink together. The result reports the actual size and whether it was capped.
Does the PNG keep the text as text?
No. The drawing is rasterised, so every glyph becomes pixels. Keep the SVG when you need selectable or searchable text.