How to Simplify SVG Paths: Fewer Nodes, Same Shape
A traced SVG often has far more nodes than the shape needs. Each node is a point where one curve or line ends and the next begins, and every extra one makes the file bigger, the curves lumpier when you edit them, and cutting machines and plotters slower. Simplifying means redrawing each outline with fewer, longer curves while staying within a small distance of the original.
The numbers in this guide come from our converter's test images, measured by the same test script that checks the converter. You can reproduce any row: open the image in the PNG to SVG converter, move the Detail slider and read the node count under the preview.
Simplify while tracing, not afterwards
The cheapest node is one that's never created. When a tracer follows the pixel staircase along an edge, it produces dozens of tiny segments; cleaning those up later is slow and guesses at the shape. Our converter fits curves to the traced outline directly: it keeps corners as corners, keeps straight sides as single lines, and lets each curve run as far as it can while staying within the tolerance set by Detail.
Here is what Detail does on three of our test images. Shape overlap compares each color's area in the SVG with the original image, so 100% means every pixel is where it should be.
| Image | Detail | Nodes | File size | Shape overlap |
|---|---|---|---|---|
| Two-color logo | 100 | 51 | 1.2 KB | 99.4% |
| Two-color logo | 75 | 48 | 1.2 KB | 99.4% |
| Two-color logo | 50 | 43 | 1.1 KB | 99.4% |
| Two-color logo | 25 | 33 | 951 B | 99.1% |
| Two-color logo | 0 | 27 | 801 B | 98.2% |
| Wordmark | 100 | 149 | 2.2 KB | 97.2% |
| Wordmark | 75 | 144 | 2.3 KB | 97.2% |
| Wordmark | 50 | 125 | 2.0 KB | 96.3% |
| Wordmark | 25 | 112 | 1.8 KB | 95.3% |
| Wordmark | 0 | 109 | 1.8 KB | 94.9% |
| JPEG badge | 100 | 81 | 1.9 KB | 99.0% |
| JPEG badge | 75 | 77 | 1.8 KB | 99.0% |
| JPEG badge | 50 | 56 | 1.5 KB | 98.3% |
| JPEG badge | 25 | 44 | 1.3 KB | 98.3% |
| JPEG badge | 0 | 38 | 1.1 KB | 97.8% |
On the two-color logo, going from Detail 100 to 0 removes 24 of 51 nodes and costs 1.2 points of overlap. The wordmark keeps more of its nodes (109 at Detail 0) because letters have many real corners, and every corner needs a node no matter the setting.
A good routine: start at the default, lower Detail until a curve you care about starts to flatten in the Nodes view, then go back one step.
Fewer colors, fewer paths
Every color becomes its own path, so an image traced with 12 colors has 12 overlapping outlines even if you only see four. Anti-aliased edges are the usual culprit: the soft pixels between navy and white look like a third color to a naive tracer. Our converter assigns those in-between pixels to one side or the other, which is why the two-color logo comes out as 43 nodes in two paths rather than a halo of thin slivers. If a result still has a color you don't want, click Merge next to it in the color list and its pixels join the nearest remaining color.
Decimal places change size, not shape
After the node count, the biggest lever on file size is how many decimals each coordinate keeps. For an image a few hundred to a few thousand pixels wide, one decimal is a tenth of a pixel, finer than any screen shows at the original size.
| Decimal places | Logo size | Wordmark size | Wordmark overlap |
|---|---|---|---|
| 0 | 780 B | 1.4 KB | 96.3% |
| 1 (automatic here) | 1.1 KB | 2.0 KB | 96.3% |
| 2 | 1.4 KB | 2.3 KB | 96.3% |
| 3 | 1.6 KB | 2.6 KB | 96.3% |
Going from one decimal to three makes the wordmark 34% bigger and changes nothing you can see. Whole numbers save another 28%, which is fine for large logos but can make small icons look slightly bumpy. Use the Decimal places setting in the converter, or leave it on automatic.
Simplifying an SVG you already have
If the file came from somewhere else, these are the standard tools:
- Adobe Illustrator: select the paths, then Object › Path › Simplify. Drag the slider until the curve starts to drift, and check the point count it reports.
- Inkscape: Path › Simplify (Ctrl+L). Each press simplifies a bit more; the strength is set by the simplification threshold in Preferences › Behavior.
- SVGO and similar optimizers remove editor metadata, round numbers and rewrite path commands in shorter form. They don't remove nodes from traced outlines, and on files that are already written compactly they gain little: on our converter's output SVGO saved at most 0.9%. On files saved from a design editor, which carry metadata and long numbers, the savings are much larger.
Simplifying an existing path works on the curves alone, without the image, so it can't tell a real corner from noise. When you still have the original bitmap, re-tracing with a lower Detail usually gives a cleaner result than simplifying a dense trace.
When not to simplify
Thin strokes lose the most. A line three pixels wide that moves by one pixel has lost a third of its width, while a large shape barely notices. Our scanned signature keeps 85.0% overlap with the clean drawing at its default settings, the lowest of our tests, so for signatures, small text and fine line art keep Detail at the default or higher and accept the extra nodes.
Checklist
- Start from the largest, sharpest copy of the image.
- Pick the preset for the kind of image: Logo, Icon, Line art, JPEG logo, Illustration or Photo.
- Merge colors you don't need.
- Lower Detail while watching the Nodes view; stop before curves flatten.
- Leave decimal places on automatic unless the file size really matters.
- Download, then check the file in your editor's outline view.
More measured results, with downloads, are on the logo vectorization examples page. For JPEGs, start with the JPG to SVG converter, which removes compression noise before tracing.
PNG to SVG with paths you can edit: few nodes, one path per color, nothing uploaded.