Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Image to SVG: trace a picture into a vector.

Turn a PNG, JPG or WebP into an SVG made of real shapes, so a logo or an icon stays sharp at any size and can be edited in Figma, Illustrator or Inkscape. Colour or black and white, with the background made transparent if you like. Change or take out any colour afterwards, and save it as SVG, PDF or PNG. It runs in this tab, so nothing is uploaded. No sign-up, no limit.

Need a custom tool, app or website? Contact us 

This runs in your browser. Your pictures are never uploaded.

How it works

Three steps, nothing to install.

01 / Drop

Choose a picture

Drop a PNG, JPG or WebP, or paste a screenshot. It is traced straight away.

02 / Adjust

Pick what it is

Logo, drawing, photo or black and white. Change the number of colours, drop small specks, or clear the background. The SVG updates as you go.

03 / Save

Fix colours and save

Drag the line to compare, change or take out a colour, then save an SVG, PDF or PNG, or copy the code.

Guide

How to convert PNG to SVG, and get clean shapes.

Converting a PNG or JPG to SVG means tracing the picture: the pixels are grouped into areas of colour and each area is redrawn as a vector shape with its own outline. The result scales to any size without going blurry and can be recoloured shape by shape in a design app. This image to SVG tool does the tracing in your browser, with settings for logos, drawings, photos and black and white art.

How to use the image to SVG converter

  1. Drop a PNG, JPG, WebP or HEIC on the box, click it to choose a file, or paste a screenshot with Command-V.
  2. Set What is in the picture: Logo or icon, Drawing or illustration, Photo, or Black and white. The trace runs again each time you change a setting.
  3. Pick Outlines: Smooth curves for most art, Straight lines for pixel art or sharp geometric logos.
  4. Leave Colours on Auto, or choose a fixed number from 2 to 64.
  5. Move Drop specks smaller than to clean up dust and noise, and tick Make the background transparent if you want the backdrop gone.
  6. Pick Shapes: Stacked puts smaller shapes on top of larger ones, Cut out makes shapes that never overlap.
  7. Drag the line on the preview to compare the original with the SVG.
  8. Under Colours in the SVG, click a swatch to change that colour, or its cross to take every shape of that colour out. The SVG updates at once, without tracing again.
  9. Click Download the SVG, Copy SVG code, PDF, or PNG, twice the size.

The line above the buttons tells you how many shapes and colours the SVG has, its file size and how long the trace took. Fewer shapes usually means a cleaner, lighter file. Your settings are remembered in this browser for next time.

Change colours, and the other formats

Each colour of the trace is listed as a swatch, the commonest first. Click one to pick a new colour, such as your exact brand colour, and every shape of that colour changes. Click the cross to take those shapes out, which is a quick way to drop a white background or a stray shade; click the arrow to bring them back. Changing a setting traces the picture again and starts the colours fresh.

  • SVG is the vector file for Figma, Illustrator, Inkscape, cutting machines and web pages.
  • PDF holds the same shapes as vectors on one page the size of your picture, one point per pixel, for print shops and apps that prefer PDF.
  • PNG, twice the size draws the SVG at double the picture's width and height (at most 8,000 pixels on the long side) with a clear background, when you need a sharper bitmap.

Stacked shapes are the usual choice: each shape sits on top of the one behind, so there are no gaps between colours. Cut out shapes have holes where other colours sit, so no two shapes overlap. That suits cutting machines and vinyl, where each colour is cut from its own sheet, but the file can have more shapes.

What each setting does

SettingWhat it changesWhen to touch it
Logo or iconAuto keeps up to 16 colours and merges near matchesFlat brand marks, app icons, badges
Drawing or illustrationAuto keeps up to 32 colours and holds on to smaller detailsCartoons, flat illustrations, stickers
PhotoUp to 32 colours with no merging, rounder cornersA poster style vector of a photo
Black and whiteOnly dark areas become shapes, on a clear backgroundSignatures, stamps, line art, scanned ink
Dark enough to be blackThe cut-off for what counts as ink, 20 to 235Raise it if thin lines vanish, lower it if grey smudges appear
ColoursFixes the palette sizeWhen Auto merges two brand colours you want kept apart
Drop specks smaller thanRemoves blobs below this size, 0 to 32 pxRaise for JPG noise, lower if small dots or full stops disappear

How the picture is sized for tracing

Tracing works better with enough pixels to follow a curve, so small pictures are enlarged first, up to four times, until the long side reaches 1000 pixels. Very large pictures are traced at 2000 pixels on the long side to keep it quick. Either way, the SVG you download is set to the original picture's width and height.

Your pictureTraced atSVG size
250 by 100 logo1000 by 400 (4 times)250 by 100
600 by 600 icon1000 by 1000600 by 600
1500 by 900 drawing1500 by 900 (as is)1500 by 900
4000 by 3000 photo2000 by 1500 (half)4000 by 3000

The speck size follows the same scale, so 8 px always means 8 pixels of your original picture. Because it is a vector, you can then set the SVG to any size you like.

Tips for a cleaner trace

  • Start from the best copy. A large PNG of a logo traces far better than a small JPG pulled from a website. JPG blocks around edges become extra shapes.
  • Crop first. Trim away anything that is not the artwork with the image cropper, so the trace has less to clean up.
  • Count your colours. If a logo has three colours plus a white background, set Colours to 4. A fixed count stops stray in-between shades from becoming shapes.
  • Clear the backdrop. The transparent option clears the colour touching the picture's edges, like a magic wand. If the background is busy or a photo, remove it first with remove background, then trace the PNG.
  • Check the edges. The SVG has no soft, half see-through pixels: each spot is either inside a shape or empty. Soft shadows and glows turn into hard rings, so leave them out of the source.

What to expect from photos

A photo has smooth shading and thousands of colours. Traced into at most 32 flat colours, it comes out as a poster style picture made of patches, and the file can be large. That can look great as an effect, but it is not a sharper copy of the photo. If you want a photo bigger and crisp, an image upscaler is the better tool.

Who uses a PNG to SVG converter

  • Designers rebuilding an old logo when only a PNG survives.
  • Makers preparing art for cutting machines, vinyl and laser cutters that read SVG.
  • Developers who want a small icon as inline SVG code they can colour with CSS.
  • Anyone turning a signature or a hand drawing into clean black shapes for documents.

Questions

Good to know.

Is this a real vector SVG?

Yes. The picture is traced into filled shapes with curved or straight outlines, one shape per area of colour. It is not a PNG wrapped inside an SVG file, which some converters make and which still goes blurry when enlarged.

Are my pictures uploaded?

No. The tracer is downloaded to your browser, about 150 KB, and works there, so the picture never leaves your computer.

What traces the picture?

VTracer, an open tracer by visioncortex, under the MIT licence. It groups the colours into areas, stacks them from back to front, and fits curves to each outline.

What works best?

Logos, icons, flat drawings, signatures and line art with clear edges. Photos and soft gradients trace too, but as many flat patches, so the file gets large and looks like a poster. For a logo, start from the largest, cleanest copy you have.

How do I get a transparent background?

Tick "Make the background transparent". It clears the colour around the edges of the picture, like a magic wand. Areas that are already transparent in a PNG stay empty either way.

Can I edit the SVG afterwards?

Yes. Open it in Figma, Illustrator, Inkscape or Affinity, and each colour area is its own shape you can recolour or delete. Or paste the copied code straight into a web page.

Can I convert a JPG to SVG too?

Yes. JPG, PNG, WebP and HEIC all work the same way. A JPG has compression noise around edges, so raise Drop specks smaller than a little to clean it up.

Why does my SVG have so many shapes?

Each patch of colour becomes a shape, so soft gradients, shadows and JPG noise add many small ones. Pick fewer colours, raise the speck size, or choose Logo or icon.

Why did thin lines disappear in black and white mode?

The lines were lighter than the cut-off. Move Dark enough to be black to a higher value, so paler greys count as ink.

Can I use the SVG with a cutting machine?

Usually, yes, as long as its software imports SVG. Black and white mode gives simple single colour shapes, which cut most cleanly. For a design in several colours, pick Shapes: Cut out, so the colours do not overlap.

Can I save it as a PDF?

Yes. Click PDF. The shapes stay vectors, on one page the size of your picture. You can also save a PNG at twice the size.

Will the SVG keep the exact colours of my logo?

Each colour comes from the picture itself, so it is very close. For exact brand values, click that colour under Colours in the SVG and pick your brand colour; every shape of that colour changes.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch