Skip to content

Download Started!

Your download has begun.

Back to blog

Image to Vector: How to Convert PNG and JPG to Clean SVG

Pixel image turning into smooth vector curves with bezier handles, image to vector conversion

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.

Drop or paste a screenshot herePNG, JPG or WebP · Ctrl/⌘+V works tooChoose image

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.

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.

📸 See it in action on Instagram

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:

  1. Open the Screenshot & Image to Vector converter and drop, paste or choose your PNG, JPG or WebP.
  2. 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.
  3. 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.
  4. 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)

  1. Place the image in Illustrator and select it.
  2. Open Window > Image Trace.
  3. Pick a preset: Black and White Logo for one-color marks, or 3 Colors / 6 Colors for flat artwork.
  4. Open Advanced. Lower Paths and Corners for smoother curves, raise Noise to drop specks, and tick Ignore White to remove the background.
  5. Click Expand (Object > Image Trace > Expand) to turn the trace into editable paths.
  6. 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)

  1. Import the image into Inkscape and select it.
  2. Open Path > Trace Bitmap (Shift+Alt+B).
  3. Use Brightness cutoff for one-color logos, or Multiple scans: Colors with a low number of scans for flat art.
  4. Turn on Smooth corners and Optimize, apply, then delete the original bitmap.
  5. 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.

Drop or paste a screenshot herePNG, JPG or WebP · Ctrl/⌘+V works tooChoose image

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.

Olaf olafmotion Klimasz

Written by

Freelance Motion Designer Kraków, Poland

Available for projects

I'm Olaf, a freelance motion designer based in Kraków, working with clients worldwide.

I turn complex products into clear, snappy animations: SaaS explainer videos, UI animations and product launch videos. If your product needs 5 minutes of explaining, I'll make it take 30 seconds.

Since 2019 I've also been producing videos and motion graphics for The Moving Average, a trading education YouTube channel. On the technical side, I build custom tools and plugins for After Effects, like the free After Effects project downgrader and the screenshot to vector converter, which keep my workflow fast and my deadlines calm.

Since 2019Motion graphics for The Moving Average on YouTube
WorldwideClients served from a studio in Kraków
AE toolsCustom scripts and plugins for After Effects
What I do
  • Motion graphics
  • Explainer videos
  • UI & app animations
  • Product launch videos
  • After Effects tools

Got a project in mind? Check my work or message me.

After Effects templates to explore

Continue with Effects Templates or open one of the latest project pages.