SVG, DXF, PDF or PNG: laser file formats explained

Reading time: 5 minutes.

A laser needs two kinds of information: lines to cut or score, and pictures to engrave. Vector formats (SVG, DXF, and usually PDF) hold lines. Raster formats (PNG, JPG) hold pixels. A laser can engrave pixels but cannot cut along them, so a cut file must be a vector.

Every MyLaserTools tool downloads SVG. The print and cut tools add PNG and PDF, the KerfScript Playground adds DXF, and the 3D tools add STL and 3MF.

Example of Laser file formats
On this page (5)
  1. 1. What each format holds
  2. 2. Which format your software opens
  3. 3. Convert an SVG to DXF
  4. 4. Check the size after import
  5. Common questions

1. What each format holds

Laser file formats compared
FormatHoldsBest forFrom MyLaserTools
SVGVector paths with colours and real sizeCutting, scoring and vector engraving in almost any laser programEvery tool
DXFVector paths from CAD, often without coloursOlder laser software, CNC and CAD programsKerfScript Playground; convert any SVG in Inkscape
PDFA page with vectors, pixels or both, at a fixed sizePrinting at actual size; print and cutPrint and cut tools, with the cut SVG beside it
PNGPixels, with an optional transparent backgroundPhoto engraving, UV and DTF printing, print and cutPhoto and print tools

SVG keeps the colour of each line, and MyLaserTools uses colour to separate operations: cut lines in one colour, score lines in another, engraving in a third. Your laser software turns each colour into its own layer. Cut, score and engrave layers explains the colours.

2. Which format your software opens

Import formats in common laser and cutter software
SoftwareOpensUse from MyLaserTools
LightBurnSVG, DXF, AI, PDF, PNG, JPG and moreSVG
RDWorksDXF, AI, PLT and images; SVG in recent versions through File, ImportSVG, or DXF converted in Inkscape
LaserGRBLImages such as PNG and JPG, and SVGSVG for lines, PNG for photos
Cricut Design SpaceSVG, DXF, PNG, JPGSVG
Silhouette Studio BasicDXF, PNG, JPGPNG, or DXF converted in Inkscape
Silhouette Studio Designer Edition and upSVG, PDF, DXF, PNG, JPGSVG
InkscapeSVG, PDF, DXF, PNG and moreSVG

Your machine maker's own software usually opens SVG and PNG. If it lists DXF but not SVG, convert the file as shown below.

3. Convert an SVG to DXF

  1. Open the SVG from MyLaserTools in Inkscape, which is free.
  2. Choose File, Save a Copy, and pick Desktop Cutting Plotter (AutoCAD DXF R14).
  3. Set the base unit to millimetres and save.
  4. Import the DXF into your laser software and measure one part: it should match the size you set in the tool.

DXF usually drops colours, so set cut, score and engrave again after import. Keep the SVG as your master copy.

4. Check the size after import

Files leave MyLaserTools at the size you set. If the import comes in at a fixed ratio of that size, such as 75% or 133%, the software read the file at the wrong DPI. Fix the import size before you change the design.

Next steps and project ideas

Common questions

What is the best file format for laser cutting?

SVG. It holds vector lines at their real size and keeps colours, which laser software uses to separate cutting, scoring and engraving. Every MyLaserTools tool downloads SVG.

What is the difference between SVG and DXF?

Both hold vector lines. SVG comes from graphics programs and keeps colours; DXF comes from CAD and usually does not. Most laser software opens both, and older programs often prefer DXF.

Can a laser cut a PNG file?

No. A PNG is made of pixels, so a laser can engrave it but has no line to cut along. Download the SVG for anything you want to cut out.

How do I convert SVG to DXF for free?

Open the SVG in Inkscape, choose File, Save a Copy, pick Desktop Cutting Plotter (AutoCAD DXF R14) and set the unit to millimetres.

Was this guide helpful?