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.
Upload an SVG to get your preflight score.
Get 3 tested, cut-ready files every week
Original designs that already pass this checker. One email a week.
No spam. One email a week, unsubscribe any time. See our privacy policy.
Need more than one file?
Batch-fix 20+ files at once, kerf compensation and DXF export are part of Pro (early access).
Issues found
What auto-fix changed
How to use it
- Choose Laser mode (already selected on this page) and drop in your SVG.
- Shared edges are highlighted in blue and stacked duplicates in orange.
- Click Safe auto-fix: every edge is kept once and second passes are removed.
- Download the clean SVG and import it into your laser software.
Duplicate line types and how they are handled
| Type | Where it comes from | Result on a laser | Fix in laser mode |
|---|---|---|---|
| Stacked duplicate shape | Copy-paste in place, imported twice, traced twice | The whole outline is cut twice: darker, wider edges | Removed; the first copy is kept |
| Reversed duplicate | Same outline drawn in the opposite direction | Cut twice even though it looks identical | Detected regardless of start point or direction |
| Shared edge | Puzzle pieces, box joints, grid or tile layouts | The common edge is burned twice | Second pass removed; parts become open paths that still cut fully |
| Sub-beam fragment | Auto-trace noise and stray nodes | Tiny burns or pieces dropping through the bed | Removed 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.
Get 3 new tested cut files every week
Each one comes with its preflight score, minimum size and material settings.
No spam. One email a week, unsubscribe any time. See our privacy policy.