Quick answer
How to convert an image to a vector (SVG) depends on what the image shows:
- Screenshots, UI, graphics with text: rebuild them from real shapes and live text with the free screenshot and image to vector converter. It exports SVG for Figma and native layers for After Effects.
- Logos, icons, flat illustrations: trace them with Illustrator’s Image Trace or Inkscape’s Trace Bitmap, then simplify the paths.
- Photos: don’t convert them. A photo turned into vectors becomes thousands of shapes. Keep it as an image inside the SVG.
Free tool · Screenshot & image to vector
Convert an image to vector right here
Drop a PNG, JPG or WebP. The converter opens and rebuilds it as clean SVG with real shapes and live text.
Free · no sign-up · export to Figma and After EffectsOpen the converter →
“Image to vector” sounds like one task, but it is really three. Most bad results, the lumpy logos and the SVG files with 20,000 points, come from using a pixel tracer on images it was never built for. Here is how to choose the right method, step by step instructions for each one, and how to clean up the SVG afterwards.
📋 Table of Contents
Raster vs vector in one minute
A PNG or JPG is a raster image: a fixed grid of colored pixels. Scale it up and it gets blurry. An SVG is a vector image: shapes described by math, such as “a rectangle 320 px wide with a 16 px corner radius” or “a curve through these four points”. It stays sharp at any size, and every shape can be edited, recolored and animated.
Converting raster to vector means guessing those shapes from the pixels. The quality of the guess decides whether you get a clean file or a mess.
Which conversion method fits your image
| Your image | Best method | Why |
|---|---|---|
| Website or app screenshot, dashboard, button, card | Shape rebuild (AI layout detection) | Gives real rectangles, corner radii and editable text instead of outlines |
| Logo, icon, signature, simple flat illustration | Image Trace / Trace Bitmap | Few colors and clear edges trace cleanly |
| Poster or graphic with lots of text | Shape rebuild, then fix fonts | Traced text can’t be edited or translated |
| Photo, 3D render, gradient-heavy artwork | Keep as an embedded image | A traced photo is huge and still looks worse than the original |
Method 1: rebuild the image from shapes (best for UI and text)
This is what a designer does by hand in Figma, automated:
- Open the Screenshot & Image to Vector converter and drop, paste or choose your PNG, JPG or WebP.
- Wait about a minute. AI detects every card, button, icon and text block. Your browser then snaps edges to the pixels, samples the exact colors, measures corner radii and identifies the font by comparing the letters against 30+ common typefaces.
- Check the result with the Compare slider, then export: Copy SVG for Figma, Download SVG, or an After Effects .jsx script that builds native shape and text layers.
- Need it in a set size? Pick a format such as 16:9, 1:1 or 9:16, and the vectors are fitted into that canvas.
The result is a handful of clean primitives: one rectangle per button, one text layer per label, one path per icon. That’s exactly what you want for editing or animation.
Method 2: Image Trace in Illustrator (logos and icons)
- Place the image in Illustrator and select it.
- Open Window > Image Trace.
- Pick a preset: Black and White Logo for one-color marks, or 3 Colors / 6 Colors for flat artwork.
- Open Advanced. Lower Paths and Corners for smoother curves, raise Noise to drop specks, and tick Ignore White to remove the background.
- Click Expand (Object > Image Trace > Expand) to turn the trace into editable paths.
- Reduce anchor points with Object > Path > Simplify.
Start from the biggest, sharpest version of the logo you can find. Tracing a 200 px favicon always gives wobbly curves.
Method 3: Trace Bitmap in Inkscape (free)
- Import the image into Inkscape and select it.
- Open Path > Trace Bitmap (Shift+Alt+B).
- Use Brightness cutoff for one-color logos, or Multiple scans: Colors with a low number of scans for flat art.
- Turn on Smooth corners and Optimize, apply, then delete the original bitmap.
- Simplify extra nodes with Path > Simplify (Ctrl+L).
Why most PNG to SVG converters give you “messy paths”
Pixel tracers follow every color boundary they see. On a screenshot, that includes the anti-aliased edge of every letter, the soft halo of every shadow and every JPEG compression artifact. You end up with:
- text converted to hundreds of tiny outlines that can’t be edited;
- rounded rectangles made of dozens of wobbly points instead of one shape with a radius;
- gray “ghost” shapes along edges and shadows;
- files of several megabytes that slow Figma and After Effects down.
Rebuilding from shapes avoids all of that, because it decides what an element is (button, text, icon) before drawing it.
How to clean up an SVG after converting
- Merge and simplify. Join shapes of the same color and run Simplify in Illustrator or Inkscape.
- Fix fonts. Replace outlined text with live text in the real brand font.
- Name layers. Good names (Primary button, Card, Icon / bell) make the file usable for anyone who opens it next.
- Optimize the file. Remove hidden layers and metadata before shipping an SVG to the web.
Using the vector image in After Effects
After Effects 2026 can import and paste SVG as shape layers. In current releases text doesn’t come in as editable text layers, and on older versions you need Illustrator in between. The converter’s .jsx export skips both problems: run it with File > Scripts > Run Script File… and you get shape layers and live text layers, parented and ready to animate. For ideas on what to do next, see how to turn a screenshot into editable vectors for Figma and After Effects.
Free tool · Screenshot & image to vector
Try it with your own image
PNG, JPG or WebP. Free, no sign-up. Export SVG for Figma or native layers for After Effects.
Free · no sign-up · export to Figma and After EffectsOpen the converter →
Image to vector FAQ
How do I convert a PNG to SVG for free?
For screenshots, UI and graphics with text, use the free screenshot and image to vector converter. For logos and icons, Inkscape’s Trace Bitmap is free and works well.
Can you convert a JPG to vector?
Yes, with the same methods as a PNG. JPG compression adds noise around edges, so use the highest-quality JPG you have. Tracing tools may need a higher noise setting.
Can I turn a photo into a vector?
Technically yes, but the result is thousands of shapes that look worse than the photo and are hard to edit. For photos, keep the image as a bitmap inside the SVG or use it as a texture.
Will the text stay editable?
With a shape rebuild, yes: text is exported as live text layers. With pixel tracing, no: text becomes outlines.
What is the difference between image to vector and image to SVG?
None in practice. SVG is the most common vector file format, so “image to SVG” and “image to vector” describe the same conversion.