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
Recent
Your last 10 settings, saved only in this browser. Nothing is uploaded.

How to turn an image into a laser-ready SVG
- 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.
- 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).
- Pick Laser operation: Cut (red hairline), the default, or Engrave (black fill).
- Leave Black and white threshold on automatic (0), or drag it between 1 and 255 to decide what counts as dark.
- 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.
- Adjust Smoothing (0 to 100, default 50) for rounder curves, and tick Invert if the trace follows the wrong side.
- Choose a DXF version, R12 (the default) or R2000, if you plan to download the DXF.
- 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.
| Property | Cut (red hairline) | Engrave (black fill) |
|---|---|---|
| Colour | #ff0000 | #000000 |
| Stroke | 0.01 mm, round joins | None |
| Fill | None | Solid, even-odd rule for holes |
| DXF layer | NOFILL | COLOR_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.
| Software | Vector files | Picture files | Notes |
|---|---|---|---|
| LightBurn | AI, SVG, DXF, PDF, PLT, HPGL | PNG, JPG, BMP, GIF, TIF | Colour sets the layer |
| Glowforge | SVG, PDF for cut, score and engrave; DXF | PNG, JPG for engrave only | DXF needs a premium plan |
| xTool Creative Space | SVG, DXF | PNG, JPG, BMP | SVG 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.
| Machine | Work area | In mm |
|---|---|---|
| Glowforge Plus and Pro | about 19.5 in wide x 11 in deep | 495.3 x 279.4 |
| Glowforge Aura | 12 x 12 in | 304.8 x 304.8 |
| xTool P2 | 305 x 600 mm | 305 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.
Related tools
- Laser Engraving Image Converter: use it when a photo should be engraved as a dithered bitmap rather than cut.
- Halftone Generator: use it when you want dot-pattern shading as vector shapes.
- Image to G-code: use it when your machine reads raster G-code.
- Stipple Image Generator: use it when you want a stippled look for engraving.
- Laser Engraving Prep: use it to see every laser tool on this site.
- PNG to DXF Converter: use it when your laser software prefers DXF and the source is a PNG.
- Convert Image to Cut File: use it to check the size against a Glowforge, LightBurn or xTool setup.
- Stencil Maker: use it when the shapes need bridges so inner parts stay attached.