Home/Developer Tools/SVG Stroke/Fill & PNG Converter

SVG Stroke/Fill & PNG Converter

Convert SVG strokes to fills, or render an SVG to PNG

Free · No sign-up required

Two different SVG problems, one tool

This handles two unrelated conversions that both happen to start from an SVG file: rendering it as a raster PNG, and converting its stroke outlines into filled shapes. They solve different problems and are worth understanding separately rather than as one generic "SVG converter".

SVG to PNG

An SVG is drawn with vector instructions and has no pixels until something rasterises it. This renders it to a PNG at a size you choose, useful for anywhere a raster image is required and a vector is not accepted — an app icon, a favicon source, a platform that only takes JPG or PNG uploads. The output is only as sharp as the pixel size you render at; a logo needed at several different sizes should be rendered separately for each, rather than upscaling one small PNG afterward.

Stroke to Fill

An SVG line can be drawn two structurally different ways: as a stroke — a path with a line width applied around it, computed live by whatever is rendering the SVG — or as a fill — a solid shape whose outline was already computed once and baked into its geometry. They can look identical on screen and behave very differently once the file leaves the environment that rendered it.

StrokeFill (after conversion)
Line widthLive, resizes with any scale transform appliedFixed — baked into the shape's actual geometry
File compatibilityRequires full stroke rendering supportWorks everywhere a filled path works — more universally supported
EditabilityEasy to change width or dash pattern laterWidth is now part of the shape; harder to adjust afterward
Common need for conversionPreparing artwork for laser cutting, CNC, or vinyl cutting software

The most common reason to convert stroke to fill is compatibility with software — cutting machines, certain print workflows, some older rendering engines — that either does not support live strokes correctly or needs pure filled geometry to interpret cut lines and printable areas unambiguously.

Frequently asked questions

Which mode do I need?

PNG export if you need a raster image for somewhere vectors aren't accepted. Stroke to Fill if you're preparing artwork for a cutting machine, older software, or any tool that specifically asks for filled paths rather than live strokes.

Why does my exported PNG look blurry at large sizes?

PNG is a fixed-resolution format — render at the target size you actually need rather than a small size scaled up afterward, which loses sharpness.

Will Stroke to Fill change how my SVG looks?

Visually it should look identical at the size it was converted at — the line width is preserved, just baked into the shape geometry instead of computed live.

Can I convert a filled SVG back to strokes?

No — once a stroke's outline is baked into fill geometry, the original live stroke parameters (width, dash pattern) are not recoverable from the result.

Does the PNG keep transparency?

Yes — areas with no fill in the SVG export as transparent pixels in the PNG, provided the background wasn't explicitly filled.

Is my SVG uploaded anywhere?

No. Both conversions run entirely in your browser.

More tools in this category

🎚
Image Brightness & Contrast Adjuster
Adjust brightness, contrast, saturation and more with a live preview
🌗
Image Filter Effects
Apply blur, grayscale, sepia, invert and other CSS-style filters to an image
🔲
Image Grid Splitter
Cut an image into equal rows and columns for a social media grid post
🖨
Image to ASCII Art
Turn a photo into ASCII art text you can paste anywhere
🔳
SVG Pattern Generator
Generate tileable SVG background patterns — dots, stripes, grids
Photo Censor / Pixelate Tool
Blur or pixelate a rectangular area of a photo before sharing it