MH MediaHarvester Web Context API
PNG TO SVG

PNG to SVG Converter

Upload PNG files and convert them to SVG with batch upload, resize, quality, metadata, and ZIP download controls.

Upload and convert

PNG to SVG Converter

Free batch: 3
SVG mode supports real vector tracing (Basic/High Detail) and fast embed output. Default is Basic Vector.

Step 1

Select PNG images

Step 2

SVG output settings

POST /api/image-conversion/png-to-svg/convert
More image tools

Continue to...

Convert PNG to SVG online

Upload PNG files and convert them directly to SVG. The page opens with the upload form first, so you can begin converting immediately.

Vectorize PNG as real SVG paths

Basic Vector SVG is the default mode and creates editable SVG paths. Embed SVG remains available for fast wrapper output, while High Detail Vector SVG keeps more colors and shapes.

Best settings for PNG to SVG

Use the quality, resize, compression, metadata, and background controls to tune the output for web, design, archive, or document workflows.

Batch PNG to SVG conversion

Upload multiple images at once and download a ZIP package when there is more than one output file or when Force ZIP is enabled.

PNG to SVG API

Automate this conversion with POST /api/image-conversion/png-to-svg/convert. The API accepts multipart uploads and the same conversion options shown in the UI.

FAQ

PNG to SVG Converter FAQs

What is the PNG to SVG tool?

It is an online converter for creating SVG output from uploaded PNG files.

How do I convert PNG to SVG?

Upload one or more files, adjust the available options, then start the conversion and download the result.

Can I upload multiple files?

Yes. Batch uploads are supported, and multi-file results are returned as a ZIP package.

Does PNG/JPG/WebP to SVG create real vector paths?

Yes. Basic Vector SVG is the default and creates traced SVG paths. Embed SVG is available as a separate mode.

What is the difference between Basic Vector and High Detail SVG?

Basic Vector is faster and simplified. High Detail keeps more color and shape detail, which can produce larger SVG files.

Can metadata be removed?

Yes. The remove metadata option strips image metadata before writing the converted output.

Can I remove a white background before vector tracing?

Yes. Enable Remove white background when tracing SVG to make near-white pixels transparent before vectorization.

Can I force ZIP output?

Yes. Enable Force ZIP when you want a ZIP file even for a single converted image.

Does the converter change the original file?

No. The uploaded file is read for conversion, and the downloaded result is generated as a new file.

Can I use the converted image on a website?

Yes. SVG output can be used anywhere that supports that image or document format.

Is there an API for this conversion?

Yes. Send a multipart POST request to /api/image-conversion/png-to-svg/convert with one or more files.

What happens if I upload the wrong format?

The endpoint validates the expected input format and returns an error when the file is not PNG.

Can I use this for large batches?

Free conversion supports up to three files at once. Larger batch options are available with an upgraded plan.

What filename will the output use?

The converted file keeps the original filename stem and changes the extension to the SVG output format.

Which settings should I start with?

The default settings are tuned for a balanced output. Increase quality or detail only when the use case needs it.

API and CLI

PNG to SVG Converter endpoint

POST /api/image-conversion/png-to-svg/convert
Example cURL
curl -X POST "http://127.0.0.1:8013/api/image-conversion/png-to-svg/convert" \
  -H "X-API-Key: 1d251a33bcf2e90689dd9eac608f70c0302faccec7afaedc" \
  -F "files=@/path/to/input.png" \
  -F "quality=82" \
  -F "svg_mode=basic_vector" \
  -F "svg_color_count=32" \
  -F "svg_detail=medium" \
  -F "remove_metadata=true" \
  -o converted-output.bin
CLI
python scripts/image_convert_cli.py png-to-svg ./input-1.png ./input-2.png \
  --base-url http://127.0.0.1:8013 \
  --api-key 1d251a33bcf2e90689dd9eac608f70c0302faccec7afaedc \
  --output ./converted