Command-line tool
svg2png
brew/svg2png
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
SVG to PNG converter
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install svg2png
Linux
brew install svg2png
Convert an SVG file to PNG
svg2png path/to/file.svg path/to/output.png
Convert an SVG file to PNG with a specific width (preserving aspect ratio)
svg2png -w 800 path/to/file.svg path/to/output.png
Convert an SVG file to PNG with a specific height (preserving aspect ratio)
svg2png -h 600 path/to/file.svg path/to/output.png
Related command-line tools
- mapnik
Toolkit for developing mapping applications - Legacy File Converter
Legacy File Converter (Windows package; no description in the winget index) pdf file-converter converter spreadsheet… - temp-converter
Simple terminal temperature unit converter between Celsius, Fahrenheit and Kelvin. - Lotus 1-2-3 File Converter
Lotus 1-2-3 File Converter (Windows package; no description in the winget index) pdf sqlite converter lotus… - Quattro Pro Converter
Quattro Pro Converter (Windows package; no description in the winget index) pdf sqlite converter legacy-files csv… - Ami Pro Converter
Ami Pro Converter (Windows package; no description in the winget index) pdf sam docx converter lotus legacy-files… - Contenta Converter PREMIUM
Contenta Converter PREMIUM (Windows package; no description in the winget index) cli photo image-processing converter… - Microsoft Works File Converter
Microsoft Works File Converter (Windows package; no description in the winget index) pdf docx converter legacy-files…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents