mint

convert · image

Convert SVG to PNG online

Render an SVG file to a PNG at a chosen size or scale and background color; inputs up to 2 MB are processed in up to 20 seconds, and each run after the twenty free daily runs costs 1 credit.

input

The SVG markup as text (up to 2 MB). Use `file` instead for a base64 / URL / uploaded .svg or .svgz

Output width in px (height follows the aspect ratio unless given)

More options (4)

Up to 2 MB.

Output height in px (width follows the aspect ratio unless given)

Multiplier of the SVG's own size (default 1); not combinable with width / height

transparent, #rrggbb or #rrggbbaa

ctrl + enter

result

Press Run. The result lands here, made by the real tool.

1 credit · ≤2 MB · ≤20 s · no login · 20 free/day

How it works

  1. Pick your SVG file with the file picker and set the output width, height or scale and a background color.
  2. Press Run; the renderer processes the file and produces a PNG.
  3. Review the result and download it if it meets your needs.

Limits

Input files may be up to 2 MB; neither side of the output may exceed 8192 px, the total pixel count may not exceed 50 000 000 px, and the output file may not exceed 25 MB. Each visitor gets twenty free runs a day without logging in; runs beyond that draw 1 credit per run from a prepaid balance tied to an API key.

Privacy

The input is processed for your request and discarded immediately after; it is not kept or used for anything else. Usage records store only the time, tool name, status, duration, credits used, and a salted hash of the IP address.

Call it from code

curl
curl -sS -X POST 'https://data.voiddo.com/v1/svg_to_png?download=1' \
  -H 'Content-Type: application/json' \
  -d '{"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"64\" height=\"64\" viewBox=\"0 0 64 64\"><rect width=\"64\" height=\"64\" rx=\"14\" fill=\"#1fa37a\"/><path d=\"M18 34l9 9 19-22\" fill=\"none\" stroke=\"#f6f3ec\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>","width":128}' \
  -o result.png

20 calls a day need no key. Beyond that: one-time credit packs, $5 for 500 credits, $9 for 1,000 credits, $29 for 4,000 credits. Get credits · llms.txt · OpenAPI.

Questions

Are external resources fetched when my SVG is rendered?

No. External files, network references, and XML entities are never loaded during rendering.

How do I call this tool from code?

Send a POST request to https://data.voiddo.com/v1/svg_to_png with your inputs as JSON or form data; a curl example is shown on this page.

What happens after I use my twenty free daily runs?

Each additional run costs 1 credit drawn from a prepaid balance attached to your API key.

Is my uploaded file stored after the run?

No. The input is processed for the request and discarded; nothing is retained after the response is returned.

Can I set a specific width without distorting the image?

Yes. Provide only a width and the height will follow the SVG's aspect ratio, or provide both to set the output dimensions exactly.