SVG to PNG Converter

Convert checked static SVG drawings to PNG, JPEG or WebP, with a chosen width and background.

On-device No sign-up Free to use

Convert controls

  1. 1 Add files
  2. 2 Arrange/Options
  3. 3 Download

Drop your images here

or choose them from your device

Up to 10 SVG files, 5 MiB each and 20 MiB total. Static shapes, text, gradients, clips and local symbols are supported. Scripts, filters, embedded images and external resources are refused. References in CSS styles are not supported; use presentation attributes.

    ?

    Leave this empty to use the SVG size. A viewBox or a width and height attribute supplies it; an SVG with none of those is refused.

    ?

    JPEG uses a white background when Transparent is selected. JPEG and WebP use 92% quality.

    ?

    Multiplies the width. The height follows the SVG shape, so the picture is never stretched.

    ?

    Used only when Background is set to a color you choose.

    Result

    Showing an example.

    A badge that needs a PNG copy for a form which will not accept SVG.

    badge.png at 96 by 48 pixels on a transparent background. The result reports the SVG size it read, the output 96 by 48 pixels and the file size.

    Loading the tool. Your result will appear here.

    https://usefreetools.net/svg-to-png · 20 November 2026

    Was this helpful?

    How to use SVG to PNG Converter

    1. Choose up to ten static SVG files. Unsupported elements, missing references and external resources are refused before rendering.
    2. Leave Output width empty to use the resolved SVG size, or enter a base width of 16–4,096 pixels.
    3. Set Scale, output format and background. The longest output side is capped at 4,096 pixels; JPEG uses white when Transparent is selected.
    4. 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.

    You add
    badge.svg, an SVG with width 48, height 24 and viewBox 0 0 48 24. Output width 96, Scale 1, Background transparent.
    You get
    badge.png at 96 by 48 pixels on a transparent background. The result reports the SVG size it read, the output 96 by 48 pixels and the file size.

    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

    InputUp to 10 SVGs, 5 MiB each and 20 MiB total
    OutputPNG, JPEG or WebP; 4096 pixels per side
    SafetyStatic local references only; active and external content refused
    • 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.

    Page updated · Project managed by Tony Hines · Report a problem with SVG to PNG Converter

    Related reading

    All guides