Skip to content
Find a tool

SVG for Laser Cutting

Turn an image into laser-ready paths: red hairlines to cut or black fills to engrave, at an exact width in millimetres.

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.

To get an SVG for laser cutting from a picture, the tool traces the image into closed paths and draws them either as a red hairline for cutting or as a black filled shape for engraving. You set the real width in millimetres and the file carries it. Laser software such as LightBurn treats colour as the layer and the layer as the operation, so the two styles land on separate layers without extra work. The download comes as SVG, DXF, PDF or G-code. High-contrast logos, silhouettes, line art and text trace best; a photo becomes a two-tone shape. The sections below cover what the file looks like, how cut and engrave differ, which formats Glowforge, LightBurn and xTool take and where kerf comes in.
Svg for laser cutting example

How to turn an image into a laser-ready SVG

  1. Choose your picture, drop one on the tool or paste one from the clipboard. Try a sample loads a test picture if you only want to see the tool work.
  2. Set Width (5 to 600 mm, default 100). The height follows the picture. Width is the width of the whole picture, empty margin included; the shapes keep their place inside it, so a logo with a white border comes out narrower than this figure (crop the picture tight if the shapes must be exactly this wide).
  3. Pick Laser operation: Cut (red hairline), the default, or Engrave (black fill).
  4. Leave Black and white threshold on automatic (0), or drag it between 1 and 255 to decide what counts as dark.
  5. Raise Remove specks up to (0 to 40, default 8) to drop stray dots, and set Smallest feature (0 to 5 mm, default 0.5) to drop pieces too small to cut.
  6. Adjust Smoothing (0 to 100, default 50) for rounder curves, and tick Invert if the trace follows the wrong side.
  7. Choose a DXF version, R12 (the default) or R2000, if you plan to download the DXF.
  8. Check the Overlay view, then click Download SVG, Download DXF, Download PDF or Download G-code.

If the shape is still wrong, the fault is usually the threshold, so move it before you touch anything else.

What SVG settings do lasers need (stroke width, colours)?

A laser job needs closed paths and a colour that says what each path does. Cut style gives a red hairline and Engrave style gives a black fill, so your laser software can assign an operation per colour. The table shows both styles as the tool writes them.

PropertyCut (red hairline)Engrave (black fill)
Colour#ff0000#000000
Stroke0.01 mm, round joinsNone
FillNoneSolid, even-odd rule for holes
DXF layerNOFILLCOLOR_000000

What is the difference between cut and engrave lines in SVG?

A cut line is a thin path the laser follows to go through the material. An engrave area is a filled shape the laser sweeps to mark the surface. LightBurn’s documentation says colours indicate layers and each layer sets an operation, with line, fill and offset fill modes. Red hairlines normally go to a line layer and black fills to a fill layer.

Which file formats do LightBurn, Glowforge and xTool accept?

All three take SVG. The table comes from each maker’s documentation, which we read on 2026-10-26.

SoftwareVector filesPicture filesNotes
LightBurnAI, SVG, DXF, PDF, PLT, HPGLPNG, JPG, BMP, GIF, TIFColour sets the layer
GlowforgeSVG, PDF for cut, score and engrave; DXFPNG, JPG for engrave onlyDXF needs a premium plan
xTool Creative SpaceSVG, DXFPNG, JPG, BMPSVG text must be converted to paths; very complex SVGs can exceed its curve limit

Is the SVG scaled to mm?

Yes. The Width you set is the width of the file in millimetres, and the height follows the picture. Set your laser software to millimetres as well. This page does not check the work area, but the sizes below come from the makers’ pages, and the Machine menu on the home page checks Glowforge and xTool.

MachineWork areaIn mm
Glowforge Plus and Proabout 19.5 in wide x 11 in deep495.3 x 279.4
Glowforge Aura12 x 12 in304.8 x 304.8
xTool P2305 x 600 mm305 x 600

How do I set kerf?

Not here. The tool traces the edge of your shapes and applies no kerf offset, so the file is the nominal size. Kerf compensation belongs in your laser software, after import. A common rule is to offset the path by half the kerf width you measured on a test cut.

Answers to common questions

Can I use SVG files for laser cutting?

Yes. Glowforge, LightBurn and xTool Creative Space all import SVG. Use the Cut and Engrave styles so each path has a clear job.

Is PNG or SVG better for engraving?

For shapes and outlines, SVG, because it stays sharp at any size. For photos, a dithered bitmap works better, and the laser engraving converter makes one. Glowforge takes PNG and JPG for engraving only.

Why does my SVG open as a web page?

SVG is text, so the system may hand it to a browser when you double-click. Import the file from inside your laser software instead.

Why are lines missing or not filling in LightBurn?

Usually a layer setting. Colour decides the layer, so check that the red cut paths and black fills each sit on a layer whose mode is line or fill as intended. If small parts are gone, lower Smallest feature or Remove specks up to.

Do the Cut and Engrave styles change the shape?

No. The trace is the same either way. Only the drawing changes, from a red hairline outline to a solid black fill, so you can switch styles and download again.

What does the G-code contain?

GRBL-style G-code in millimetres, with the inner contours cut first and M4 dynamic power. It uses a feed of 1000 mm/min and power S800, and this page has no controls for them, so edit those values for your machine. The G-code always traces the outlines, also in Engrave style: it never fills an area, so for filled engraving use Image to G-code or your laser software. It assumes GRBL laser mode ($32=1) and has not been run on a real machine, so test it on scrap first. The DXF puts the Cut style on a layer named NOFILL and the Engrave style on COLOR_000000, so assign the operation by layer in your software.