Methods to convert multiple PNG files to SVG at once — online tools, Inkscape CLI, and potrace.

Processing PNG files one at a time is tedious when you have a set of icons or illustrations. Here are methods for batch conversion.

Method 1: Shape to Vector (Up to 10 Files)

Open shapetovector.com, drag and drop up to 10 PNGs, click Convert, download all as a ZIP. Takes seconds, no installation needed.

Method 2: Inkscape Command Line

Inkscape can batch-convert from the terminal without opening the GUI. Script a loop over your PNG folder to process any number of files.

Method 3: Potrace (CLI Tracing Engine)

The open-source tracing engine used by Inkscape. Install standalone and batch-convert via shell scripts. Works best on single-color images.

Tips

  • Organize all PNGs in one folder with highest-resolution transparent versions
  • Use consistent settings across similar files for visual consistency
  • Batch-optimize output with svgo: svgo -f ./svg-output/
  • Spot-check several results in a browser before production use