Skip to content
Find a tool

SVG Simplifier

Reduce the number of nodes in an SVG path while keeping the shape within a set tolerance.

Free · runs in your browser · nothing is uploaded

Open on Outlinecut

This embed was switched off for this website. Open on Outlinecut

Add this tool to your siteFree embed code, no sign-up. Keep the credit link.

Embed this tool

Copy this code into your website, blog or class page. The tool runs inside your page.

Optional settings, added to the address after embed=1: &accent=0f6b5c (colour, 3 or 6 hex digits). Other parameters are ignored.

Please keep the credit link below the tool.

An SVG simplifier reduces the number of nodes in the paths of an SVG, so the file gets lighter and easier to edit while the drawing stays almost the same. This one flattens each path, thins the points with the Ramer-Douglas-Peucker algorithm and, if you leave curve fitting on, rebuilds smooth curves with Schneider’s fitting. You set how far the new outline may drift with Allowed deviation, from 0.01 to 2 mm, and the line under the preview shows the node count before and after. The drawing is rebuilt from its shapes, so text, images, masks and filters are not carried over. For clean-up of the markup itself, use the SVG Optimizer.
Svg simplifier example

How to use the SVG Simplifier

  1. Press Choose SVG file, or drop an SVG on the page. You can also open Or paste SVG code and paste the markup. Try a sample loads a small example. Files that are not SVG are refused with “This does not look like an SVG file.”
  2. Wait the first time while the engine loads.
  3. Set Allowed deviation (0.01 to 2 mm, default 0.1). It is the farthest the new outline may sit from the old one.
  4. Keep Fit smooth curves ticked, its default, for curved shapes. Untick it to get straight segments only.
  5. Read the line under the preview: Nodes before, Nodes after, Paths and File size.
  6. Check the preview. If the shape looks too changed, lower Allowed deviation and look again.
  7. Press Download SVG.

Adjust the slider first, because it changes the result far more than the checkbox does. Open the downloaded file in your design or cutting software before you rely on it. If the node count does not fall, the shape already has about as few nodes as it can have for that tolerance, and the tool keeps the original curves in that case.

Keep your original SVG as well. The download is a rebuilt file written in millimetres with the original viewBox, so it is a new file and not an edit of the one you loaded.

How does SVG path simplification work?

Each path is turned into a chain of points, the points that sit within your tolerance of a straight run are dropped, and smooth curves are fitted through what is left. Fewer points mean fewer nodes. In tests the result stayed within 1.5 times the tolerance of the original outline.

  1. Flatten: curves become many short straight segments.
  2. Split: the outline is cut at corners, where the direction turns by more than 35 degrees, so corners stay sharp.
  3. Thin: Ramer-Douglas-Peucker keeps only the points needed to stay within the tolerance.
  4. Refit: with Fit smooth curves on, Schneider’s curve fitting replaces runs of points by Bezier curves, but only where that needs fewer nodes than straight lines.

The tolerance is entered in millimetres and converted to the units of your file. A shape that would end up with more nodes keeps its original curves.

How many nodes does each tolerance keep?

A bigger Allowed deviation drops more nodes and lets the outline drift further. The table comes from running the tool’s code on one test outline: a 50 mm wide wavy blob with 5 lobes and 360 nodes. Your artwork will give different numbers, so read the real counts under the preview.

Allowed deviationNodes kept, curves onNodes kept, curves off
0.01 mm39185
0.05 mm2078
0.1 mm (default)1750
0.5 mm1222
1 mm1114
2 mm99

With curves on the blob keeps its smooth look at very few nodes. With curves off, every node is a straight segment, so more of them are needed at small tolerances.

What is the difference between minify, optimize and simplify?

Minifying removes whitespace and comments. Optimizing also drops metadata and shortens numbers, as the SVG Optimizer does. Simplifying changes the geometry by removing nodes, which is what this page does. Compressing with gzip is done by the server when it sends the file.

Does simplifying reduce quality?

It can move the outline, but never by more than about 1.5 times the tolerance. At the default of 0.1 mm that is 0.15 mm. Curves stay curves when fitting is on.

Answers to common questions

What is an SVG minifier?

A minifier rewrites the markup in its shortest form, removing comments, whitespace and similar leftovers. This page does not do that. It reduces path nodes, and the SVG Optimizer handles markup clean-up.

Are my SVG files uploaded?

No. The work runs in your browser and the page makes no upload request.

How do I reduce the nodes in an SVG online?

Load the SVG, raise Allowed deviation until the Nodes after figure is low enough, check the preview and press Download SVG.

Does compressing an SVG reduce quality?

Clean-up of markup does not change the picture. Simplifying paths can move the outline within your tolerance, so keep the value small for detailed work.

Can I simplify several SVG files at once?

No. The page handles one SVG at a time, so repeat the steps for each file.

Will a shape with few nodes get bigger?

No. If fitting would not reduce the node count of a shape, the original curves are kept.

What does Fit smooth curves do?

It rebuilds runs of points as smooth curves wherever that needs fewer nodes than straight lines. Untick it for straight segments only.

Why is some of my SVG missing in the result?

Only shapes are rebuilt. Text, images, masks and filters are not supported, so convert text to outlines in your editor first.