🔒 Files stay in your browser — 100% private

Remove duplicate lines from an SVG before laser cutting

Double cuts burn edges, widen the kerf and waste machine time. This tool finds stacked duplicate shapes and edges shared by neighbouring parts, keeps one clean pass, and gives you an SVG that cuts once.

Machine

Upload an SVG to get your preflight score.

Need more than one file?

Batch-fix 20+ files at once, kerf compensation and DXF export are part of Pro (early access).

The cut-line preview appears here: every line your machine will cut, with problems highlighted.

How to use it

  1. Choose Laser mode (already selected on this page) and drop in your SVG.
  2. Shared edges are highlighted in blue and stacked duplicates in orange.
  3. Click Safe auto-fix: every edge is kept once and second passes are removed.
  4. Download the clean SVG and import it into your laser software.

Duplicate line types and how they are handled

TypeWhere it comes fromResult on a laserFix in laser mode
Stacked duplicate shapeCopy-paste in place, imported twice, traced twiceThe whole outline is cut twice: darker, wider edgesRemoved; the first copy is kept
Reversed duplicateSame outline drawn in the opposite directionCut twice even though it looks identicalDetected regardless of start point or direction
Shared edgePuzzle pieces, box joints, grid or tile layoutsThe common edge is burned twiceSecond pass removed; parts become open paths that still cut fully
Sub-beam fragmentAuto-trace noise and stray nodesTiny burns or pieces dropping through the bedRemoved below your size threshold (0.5 mm by default)

How shared edges are detected

Every straight segment and curve in the file is converted to a direction-independent key on a 0.02 mm grid. When two different parts produce the same key, that edge would be cut twice. The check works the same whether the shapes came from Illustrator, Inkscape, Affinity or a CAD export.

After removal, a part that lost one of its edges becomes an open path. That is expected for laser work: the neighbouring part still provides the cut along that line, so the material separates exactly as before — with one pass instead of two.

Use it alongside your laser software

Most laser programs have their own duplicate or overlap options, but they only act inside that program. Cleaning the SVG itself means the file stays correct when you share it, sell it or open it in xTool Creative Space, LaserGRBL, LightBurn or a browser-based laser app.

Frequently asked questions

Does removing shared edges leave a part uncut?

No. The shared edge is still cut once by the neighbouring part, so every part separates. Only the second pass over the same line is removed.

Why are some lines open paths after fixing?

A part that shared an edge with its neighbour no longer repeats that edge, so its outline is open on that side. On a laser that is fine: the line is still cut by the neighbouring part.

What tolerance is used to decide two lines are the same?

Stacked shapes are compared by sampling both outlines and requiring every point to be within about 0.1 mm. Shared edges must match on a 0.02 mm grid, which catches exact copies without merging lines that are merely close.

Should I use Cricut mode for laser files?

No — Cricut mode keeps shared edges because blade cutters handle layered designs differently. Use Laser mode for laser files so shared edges are removed and the fragment threshold matches a laser beam.