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.
result
Press Run. The result lands here, made by the real tool.
1 credit · ≤2 MB · ≤20 s · no login · 20 free/day
Keys are stored in this browser only. A key lets you buy credits and keep going after the free runs.
How it works
- Pick your SVG file with the file picker and set the output width, height or scale and a background color.
- Press Run; the renderer processes the file and produces a PNG.
- 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.
More tools
- Image converterConvert and resize images between PNG, JPEG, WEBP, GIF, BMP, TIFF and ICO, with quality, fit modes, transparency handling and optional metadata strippingconvert
- QR code generatorTurn text or a URL into a crisp QR code as PNG or SVG, with size and error-correction controlconvert
- JSON and YAML converterConvert text between JSON and YAML with safe parsing, indent, key sorting and minify options, and line-accurate error messagesconvert
- Markdown rendererRender Markdown to a sanitised HTML page or fragment, or to a PDF, with tables, fenced code, heading anchors, an optional table of contents and a choice of themesconvert
- PDF mergerMerge 2 to 20 PDF files into one document in the order given, optionally keeping their bookmarksconvert
Call it from code
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.png20 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.