🧰Locly

Convert SVG to PNG in Your Browser

Convert SVG markup or files to PNG locally

Upload or paste an SVG, then Convert

Preview

Upload or paste an SVG, then Convert

About This Tool

SVG to PNG converts vector SVG files or pasted markup into a PNG image in your browser. Choose optional width and height. Conversion is processed locally in your browser β€” files are never uploaded.

How to Use

  1. Upload an SVG or paste markup
  2. Optionally set width and height
  3. Click Convert
  4. Preview the PNG
  5. Download the file

Common Use Cases

  • Export icons for apps
  • Prepare logos for docs
  • Rasterize diagrams for slides
  • Create favicon sources
  • Share SVGs where PNG is required

FAQ

Q1: Is my SVG uploaded?

No. Rasterization happens locally in your browser.

Q2: What size is used by default?

If width/height are empty, the tool uses viewBox or falls back to 512Γ—512.

Q3: Do scripts inside SVG run?

Executable script content is stripped before rendering for safety.

Q4: Can I paste raw SVG?

Yes. Paste the full <svg>…</svg> markup into the box.

Q5: Why is the PNG blank?

External image links inside SVG may not load offline. Prefer self-contained SVG.

Related Tools