Skip to content

Turn a PNG logo into a vector kit

A PNG logo becomes a clean SVG, plus favicon and app icons.

You have a logo as a PNG, perhaps from a client's email or a screenshot of an old design, and now you need it as a vector. A cutting machine wants paths, not pixels. A website wants a small SVG that stays sharp on every screen. A printer asks for the "vector file", and you have a picture of one. A PNG scaled up just gets blurry; a vector does not.

This template takes the logo from picture to usable set. First you trim the empty border, because tracing a logo surrounded by space wastes part of the work on nothing. Then you trace it to SVG, which finds the outlines of the shapes and writes them as paths. You tidy the result so it is small, then generate the favicon and app icons from it, and finally check it on both a light and a dark background, since a logo that looks right on white often disappears on black.

It works best on flat artwork with few colours: logos, icons, signatures, stamps, silhouettes. It is the wrong tool for a photograph. A traced photo is a pile of blobs.

Use it now

5 tasks, in the order you do them. Tasks with a tool open it with the job's files and tick themselves when you save the result.

  1. 1Trim the empty border around the logoTrim Image
  2. 2Trace it to SVGPNG to SVG
  3. 3Optimize the SVGSVG Optimizer
  4. 4Make the favicon and app iconsFavicon Generator
  5. 5Check it on a light and a dark background
Makes this job on your desk, on this device. No account.

Step by step, and why the defaults are what they are

1. Trim the empty border

Run Trim Image on the PNG. It removes the transparent or flat-coloured margin around the artwork, so the file starts at the edge of the logo.

Why this default. A tight crop means the SVG's size is the logo's size, which makes it easier to place and scale later. It also means the trace spends its effort on the logo, not on the margin. Open Trim Image.

2. Trace it to SVG

Open PNG to SVG and drop the trimmed image. The tool traces the shapes and writes them as SVG paths. Choose Black & white (a Potrace trace) for a one-colour logo or Color for artwork with several flat colours. Compare the preview with the original at a large size, and adjust "Detail (threshold)" if details have disappeared or the shape looks heavy.

Why this default. A good source makes most of the difference: a large PNG with clean edges and solid colours traces well, and a small blurry one does not. If the result looks wrong, going back for a bigger or cleaner source is usually better than changing every setting. Open PNG to SVG.

3. Optimize the SVG

Run SVG Optimizer on the result. It removes metadata and shortens the path data without changing how the logo looks. Keep the viewBox on, so the SVG still scales to any size, and check the side-by-side preview.

Why this default. Traced files often carry more digits of precision than a screen can show. Lowering precision shortens every path, and the viewBox is what lets one file serve a small header and a big banner. Open SVG Optimizer.

4. Make the favicon and app icons

Open Favicon Generator with the logo and download the set. It produces the sizes sites and phones ask for: a 32 by 32 favicon.ico, 16 and 32 pixel PNGs, a 180 pixel Apple touch icon and 192 and 512 pixel Android icons.

Why this default. Different systems pick different sizes, and it is easier to generate the full set once than to find out later which one is missing. For a tiny size, a simpler version of the logo, without the tagline, often reads better. Open Favicon Generator.

5. Check it on a light and a dark background

Place the SVG on white, on black and on a mid-grey, and look at it at the smallest size you will use.

Why this default. A logo with a dark outline vanishes on a dark page, and a logo with white details vanishes on a light one. It is better to find that now than after the favicon is live.

Variants

A logo for a cutting machine

Cutting software wants closed paths and few of them. Use Black & white mode, raise "Remove specks (size)" so tiny islands do not become cut lines, and cut one colour at a time.

A logo with many colours

Trace one version in a single colour for cutting and engraving, and keep the colour version as a PNG.

A signature or a stamp

Scan it at high contrast, trim it, trace it and keep the SVG in this job for reuse in documents.

Common problems

The trace is rough and lumpy.

The source is too small or too blurry. Find a larger version or recreate the logo; do not enlarge a small PNG first, as that only adds blur.

Parts of the logo are missing.

Light details on a light background may be treated as background in Black & white mode. Raise the contrast of the source, move the "Detail (threshold)" setting, or try Color mode.

The SVG is bigger than the PNG.

A complex logo has many paths. Raise "Remove specks (size)" in the tracer and lower the precision in the optimizer, or simplify the artwork.

The favicon looks muddy.

Fine details cannot survive at 16 pixels. Use the simplest part of the logo, such as one letter or the symbol.

Questions

Is my logo uploaded?

No. Tracing, optimizing and icon generation all run in your browser. A client's unreleased logo stays on your device.

Is a traced SVG as good as the original vector?

It is an approximation of the pixels, so it is as good as the source allows. If the original file exists, ask for it first.

Which format should I deliver?

Give the SVG and a transparent PNG at a large size. Add the favicon set only when it is for a website.

More in the Design & craft kit

About the Design & craft kit · How TabShed works