How to Keep a Transparent Background When Converting to SVG
An SVG has no background by default, so a white box means something added one. Here's how to keep transparency when you convert a PNG to SVG, and what to check.
On this page
- First, what's actually adding the white?
- If your file isn't really transparent, no converter can fix that
- AI images: verify the alpha channel
- Converting a real transparent PNG to SVG
- What this looks like with PerfectVector
- How to check it actually worked
- Exporting an SVG you designed (the other situation)
- FAQ
- Sources
Here's the detail that makes this so confusing: an SVG has no painted background by default. Its visible result stays transparent unless an element, embedded image, or export process supplies a fill. The SVG standard permits embedded raster images, so an .svg can also carry a JPG or PNG whose white background is still baked in. The fix depends on which case you have and whether the source contained real transparency.
The quick version
- An SVG is transparent by default. A white background means something added one.
- Converting a transparent PNG? Use a converter that respects the alpha channel, so it traces your subject and leaves the rest empty. Convert a PNG to SVG and check the result.
- Starting from a JPG? It can't be transparent, so there's nothing to keep. Remove the background first, then convert.
- Exporting from Illustrator or Inkscape? Delete the white background rectangle on your canvas and check your export settings.
- Always verify: drop the SVG onto a colored background. If you still see white, something's there.
First, what's actually adding the white?
Before you fix anything, work out where the white is coming from. It's one of three situations, and the fix is different for each.
| Your situation | Why it's white | The fix |
|---|---|---|
| Converting a transparent PNG to SVG | The converter filled the empty area, or traced it as a shape | Use a converter that respects transparency; delete any stray background shape it added |
| Converting a JPG, or a PNG with a solid white background | There was never any transparency to keep | Remove the background first, then convert |
| Exporting an SVG you designed in Illustrator or Inkscape | A background rectangle on your canvas, or an export setting adding a fill | Delete the background shape; check the transparent option on export |
The middle row is easy to miss, so start there.
If your file isn't really transparent, no converter can fix that
This is the part the forums skip. JPEG does not support an alpha channel, as the MDN image-format guide documents. If your logo is a JPG, its background is baked into the pixels, even when that background is white and looks like “nothing.” Converting it to SVG will not strip that away automatically. (Converting a JPG is a slightly different job in general, which how to convert a JPG to SVG covers.)
Some PNGs have the same problem. The PNG specification supports alpha transparency, but a particular PNG may still be fully opaque or contain a plain white fill. If you're not sure which you have, open the file over a dark background. See a white rectangle around your logo? It isn't transparent. It only looked that way against a white page.
The fix in both cases is the same: remove the background before you convert, so the converter has real transparency to work with. Cut the subject out in any photo editor, export a transparent PNG, then trace that. (PNG vs SVG explains why a PNG can hold transparency and a JPG can't.)
AI images: verify the alpha channel
AI-image behavior now varies by product. Some systems expose a real transparent-background option; for example, OpenAI's Images API reference documents transparent, opaque, and auto background modes. Other outputs may still arrive on a solid background, and a generated gray-and-white checkerboard can be ordinary pixels rather than an alpha channel. Do not infer transparency from the thumbnail: inspect the file on a dark background or check its alpha channel.
The dark-background test catches a solid fill or painted checkerboard. If the file has no real alpha, remove the background first, export a genuinely transparent PNG, then convert. If the file is headed for a cutting machine, transparency still is not the cut instruction; the machine follows paths. The full production side of that lives in how to vectorize AI art for print.
Converting a real transparent PNG to SVG
If your source is a genuinely transparent PNG, keeping that transparency through the conversion mostly comes down to the converter you use. The job is simple in principle: trace the visible subject into vector paths and leave the transparent area as empty space, not a white shape. A good converter does exactly that. A careless one does one of two irritating things instead:
- It fills the transparent area with white, so you get a solid box.
- It traces the transparent area as its own path, so you end up with an invisible or filled rectangle around your design that appears when you drop it on a colored background or send it to a cutting workflow. It's the same stray box around a Cricut design.
So the move is to convert with a tool that handles the alpha channel cleanly, then verify it (more on that below). A transparent logo is the most common version of this.
What this looks like with PerfectVector
PerfectVector is designed to preserve a transparent PNG background while rebuilding the visible artwork as vector paths. Convert your transparent PNG, then check the free preview against a colored backdrop and inspect it for a stray background shape. One credit unlocks the finished SVG; verify current pricing and credits.
To be straight with you, though: PerfectVector keeps the transparency that's already in your file. It can't invent transparency that was never there. If your source is a JPG or a white-filled PNG, cut the background out first, as above, and then the conversion stays clean.


How to check it actually worked
Don't trust the thumbnail. A transparent SVG looks identical to a white-background one against a white page, which is exactly why people think they're fine until they aren't. Two quick checks:
- Drop it on a color. Place the SVG over a colored background in your browser, Figma, Canva, or Design Space. Real transparency lets the color through. A white box won't.
- Look for a stray rectangle. Open the SVG and select the shapes. If there's a full-size rectangle sitting behind your artwork, delete it. That's the culprit in most "it's still white" cases.
Exporting an SVG you designed (the other situation)
If you're not converting a raster but exporting an SVG you drew yourself, the white usually comes from your own canvas, not a converter:
- Illustrator: delete any white rectangle acting as a background. Adobe's current Image Trace options include a Transparency setting that prevents a transparent raster background from being traced as white; verify the expanded result before saving SVG.
- Inkscape: make sure no background rectangle is selected, hide or delete the original raster if you traced one, and export the vector. Inkscape SVGs are transparent unless you added a fill.
Either way, the rule from the top still holds: an SVG has no background unless you gave it one.
FAQ
Does an SVG support a transparent background? Yes, and it's transparent by default. An SVG has no background unless a shape or fill is added, so transparency is the starting state, not something you have to switch on. White appears only when something puts it there.
How do I save an SVG with a transparent background? Make sure there's no background rectangle in your design, then export without a background fill (most tools export transparent by default). Afterward, verify by placing the SVG on a colored background. If you see white, find and delete the background shape.
Why does my SVG have a white background after converting? Either the converter added a white fill or traced the empty area as a shape, or your original file wasn't actually transparent. Check the source first: if it's a JPG or a white-filled PNG, there was no transparency to keep, and you'll need to remove the background before converting.
Can I convert a JPG to SVG with a transparent background? Not directly, because a JPG can't store transparency. Its background is baked into the pixels. Remove the background first (cut out the subject and export a transparent PNG), then convert that to SVG.
How do I keep transparency when converting a PNG to SVG? Start from a genuinely transparent PNG and use a converter that respects the alpha channel, so it traces your subject and leaves the rest empty. Then confirm the result on a colored background and delete any stray rectangle the trace may have added.
How do I remove a white background from an SVG? Open the SVG, select the shapes, and delete the full-size white rectangle behind your artwork. If the white is part of an embedded raster rather than a shape, re-convert from a truly transparent source instead.
Why does my AI image have a checkerboard background instead of a transparent one? If the checkerboard remains visible over another color, it was painted into the image as pixels rather than stored as transparency. Some generators can produce a real alpha channel when their transparent-background option is enabled, so verify the downloaded file rather than relying on the preview. If the pattern is baked in, remove the background, export a transparent PNG, and then convert that to SVG.
Sources
- W3C — SVG 2 Embedded Content — explains how raster PNG or JPEG content can remain embedded inside an SVG.
- W3C — PNG Specification, Third Edition — lossless raster storage and alpha-channel transparency.
- MDN — Image file type and format guide — JPEG's lack of alpha transparency and PNG transparency support.
- OpenAI — Images API reference — documented transparent, opaque, and automatic background modes.
- Adobe — Image Trace panel options — transparency handling during Illustrator tracing.
Got a transparent logo stuck as a PNG? Trace it into SVG paths, then place the preview on a colored background and check that no unwanted rectangle was added.
More from the blog

Vectorize a BMP Without Tracing Every Pixel Defect
A BMP can preserve hard edges and every source defect. Learn how to clean it selectively, trace it into editable SVG paths, and inspect the result.

Convert a Photo to SVG: What Works and What Doesn't
You can run a photo through an SVG converter, but a detailed photo won't become a crisp vector. Here's what you really get, and which photos are worth converting.