PNG to SVG Tracer

Guides Troubleshooting

How to Make an SVG File Smaller: Fewer Points, Same Look

A traced SVG is heavy when it has too many shapes or too many points along each shape. Fix those two things and most files drop dramatically.

Four traces of the same sunset illustration showing how SVG file size grows as the color count goes up
Fewer colors means fewer shapes and a smaller file

What makes an SVG big

Every curve is stored as numbers. More colors mean more paths. More detail means more points per path. A traced photo can run into megabytes. A traced logo should be a few kilobytes.

The settings that shrink it

  1. Lower the color count. This is the biggest lever on noisy images, because every extra color adds another set of shapes. Choosing the number of colors shows how to count them and when you have gone too low.
  2. Raise Smoothing. Smoother curves need fewer points.
  3. Raise Remove small specks. Tiny shapes add weight and add nothing visible.
  4. Soften the source. Less noise means fewer stray shapes.

Change one setting, check the preview, and stop as soon as the look starts to suffer.

Shrink it after tracing

Once the trace looks right, run the SVG through the SVG optimizer. It removes editor data and unused ids, strips extra whitespace and rounds the numbers in your paths. Two decimal places is safe for almost everything, and one usually works for logos. It does not merge or simplify shapes, so a file with too many shapes still needs a lower color count in the tracer. If the file is headed for a cutter, the routine in clean up a traced SVG before cutting puts the tracing, checking and shrinking steps in order.

What to expect

Image typeTypical result
Two-color logoVery small, a few KB
Multi-color logoSmall to medium
Detailed illustrationMedium to large
Traced photoLarge, often not worth it

When the file is still too big

If you traced a photo, the file will be large because a photo has no clean shapes. Lower the colors hard, or ask whether you need a vector at all. For web use, a compressed PNG or WebP may be the better choice. In one test with a four color logo, a lossy WebP was 8 KB and the traced SVG was 11 KB, so SVG is not always the smallest file. The numbers and when each format fits are in website logo formats: SVG vs PNG vs WebP.

If a logo is big, the source is probably noisy. See why traces look jagged and clean it up first.

You can run all of this in the SVG tracer and watch the result before you download.

TagsSVGFile sizeTracing

Related tools

Keep reading