PNG to SVG Converter
Batch convert PNG images to SVG format with embedded raster data
Drop your PNGs here and get back valid SVG files — each one with the original raster data base64-encoded inside an SVG wrapper. Dimensions, transparency, every pixel stays exactly the same. Batch mode handles dozens of files at once, so you're not stuck converting one at a time.
The output works anywhere SVGs are accepted: web pages, Figma imports, documentation platforms, email builders. And everything runs in your browser. Nothing gets uploaded.
How It Works
Your browser reads the PNG file and converts its binary data into a base64 string. That string gets embedded inside an SVG <image> element with the correct width and height attributes pulled from the original PNG. The result is a valid SVG file you can download instantly. No tracing, no vectorization — just a pixel-perfect embedding.
Examples
Company Logo for a Website Header
Your designer sent a 400×120px PNG logo. The CMS only accepts SVG uploads for the header slot.
logo.png (400×120px, 18 KB)
logo.svg (24 KB, embedded base64)
Batch-Converting App Icons for Documentation
You've got 15 feature icons as PNGs. The docs framework wants SVGs. Converting them one by one in Illustrator would take forever.
15 PNG icons (64×64px each, ~2-5 KB)
15 SVG files, all converted in under 2 seconds
Transparent Product Shot for an Email Template
A product photo with a transparent background needs to go into an email builder that strips PNGs but accepts inline SVGs. The alpha channel has to survive the conversion or the background bleeds through.
product-shot.png (800×600px, transparent BG, 142 KB)
product-shot.svg (190 KB, transparency preserved)
Who Uses This
Drop PNG assets into SVG wrappers so they work with SVG-only component libraries and icon systems.
Quick-convert raster mockup exports to SVG when handing off files that need to be in vector format.
Batch-convert screenshot PNGs to SVG for documentation platforms that prefer or require vector files.
Convert product images to inline SVG for email builders that strip raster image tags.
Common Mistakes
This tool embeds the PNG inside an SVG — it does not trace edges or create vector paths. If you need scalable line art, you'll want a proper auto-tracer like Potrace. For photos and complex images, though, embedding is usually what you actually want.
The converter only accepts .png files. If you drag in a JPEG or WebP, it'll be silently skipped. Rename tricks won't work either — the tool checks the actual MIME type.
Base64 encoding adds roughly 33% to the raw file size. A 100 KB PNG becomes about a 133 KB SVG. That's normal and expected. The tradeoff is format compatibility, not compression.
Technical Details
- Processing: 100% client-side (FileReader API + JavaScript)
- Browser Support: Chrome, Firefox, Safari, Edge
- Max File Size: Limited only by your browser's available memory
- Output Format: SVG 1.1 with embedded base64 <image> element
- Transparency: Alpha channel fully preserved
Frequently Asked Questions
Does this create real vector paths from my PNG?
No. The PNG gets embedded as a base64-encoded raster image inside an SVG wrapper. It won't become scalable vector art. If you need actual traced paths — like for a simple logo — you'd want a dedicated vectorizer tool instead.
Why is the SVG file bigger than the original PNG?
Base64 encoding increases data size by about 33%. So a 50 KB PNG turns into roughly a 67 KB SVG. It is the cost of converting binary data to a text-safe format. Most applications won't notice the difference.
Can I convert multiple PNGs at once?
Yes. Drag in as many PNGs as you want, or use the "Add More" button to keep adding files. Hit "Convert All" and they're all processed in a single batch. Each file downloads separately.
Is transparency kept during conversion?
100%. The alpha channel in your PNG is preserved exactly as-is inside the base64 data. When you open the SVG, transparent areas will still be transparent. Nothing gets flattened or filled with white.
Are my images uploaded to a server?
Not at all. The entire conversion happens in your browser using JavaScript. Your PNG data never leaves your computer. Close the tab and there's zero trace of your files on any server.
Convert PNG images to SVG format in batch. Each PNG is wrapped as a base64-encoded image inside an SVG container, preserving original dimensions and transparency. All processing runs in your browser — nothing is uploaded to any server.