Open FlatCad

Image to DXF and SVG converter

Turn a PNG or JPG into clean cut lines for a laser, CNC router, plasma cutter or vinyl cutter. Drop a logo, silhouette or drawing below. The tracer finds the outlines, fits smooth curves, keeps sharp corners sharp and gives you a DXF or SVG at the size you type.

Trace an image

The picture being traced

How to convert an image to DXF

  1. Drop the picture in the box above, or paste it with Ctrl+V. The outlines appear in green over it within a second.

  2. Check the shape is solid. If parts are missing, move Threshold right to take in lighter greys; if the background is creeping in, move it left. For a white logo on black, tick Light shapes on a dark background.

  3. Clean it up. Raise Ignore specks to drop dust and JPEG noise. Raise Smoothness for fewer, rounder curves; lower it to follow small details. Sharp corners decides which bends stay pointed.

  4. Type the width the part should be in millimetres, then download the DXF or SVG. Or press Open in FlatCad to add holes, a border, text or tabs before you cut.

What the settings do

SettingUse it when
ThresholdGrey areas come out wrong. Everything darker than this counts as the shape. Automatic picks it from the picture (Otsu's method).
DetailSmall text or thin lines get lost (raise it), or a big simple shape has too many curves (lower it).
SmoothnessCurves look lumpy (raise it) or round off details you need (lower it). It is how far a curve may stray from the pixels.
Ignore specksYou see tiny dots or holes from dust, paper texture or JPEG compression.
Sharp cornersCorners come out rounded (raise it) or curves get kinks (lower it).

From a trace to a file a machine can cut

This page exists for the step after tracing: getting outlines that a laser, router or plasma table will cut the way you meant. For help with the picture itself, PNG to SVG covers transparent logos and JPG to SVG covers photos and scans; all three use the same tracer.

Before cutting expensive material, check one dimension you know in the imported file. If it is out by a factor such as 25.4 or 3.78, the program guessed the units: why DXF and SVG files import at the wrong size explains which mistake it was.

Already have vector artwork? Open the SVG, Illustrator file or PDF directly: that keeps the designer's exact curves. Need lettering instead? Use the text to DXF tool. Want to 3D print it? Image to STL.

Open FlatCad, free, no signup

Questions

What kind of picture makes a good cut file?

Bold, solid shapes with clear gaps between them: logos, silhouettes, signatures in marker, stencil art. Think about the cut, not the picture: every boundary between dark and light becomes a cut line, so shading, gradients and fine texture turn into hundreds of tiny loops a machine would cut one by one.

Will a CNC router cut every detail?

Only details wider than the bit. A 3.175 mm (1/8 in) end mill can't make an inside corner tighter than a 1.6 mm radius, and any gap or stroke narrower than 3.2 mm is skipped or widened. Type the real width before you check, then make the design bigger or use a smaller bit. A laser, with a kerf of a few tenths of a millimetre, keeps far finer detail.

Is the DXF made of curves or tiny lines?

The tracer fits smooth Bézier curves with straight lines where the picture is straight. The SVG keeps those curves exactly. The DXF here uses closed polylines that follow the curves within 0.05 mm, which every laser and CNC program reads. Open in FlatCad turns the curves into true arcs and lines instead, and you can export that as a DXF.

How do I get the right size?

Type the width the shape should have in millimetres; the height follows the picture. In FlatCad you can also click two points of known distance on the picture to set its scale exactly.

Where is the origin, and which layer is it on?

The drawing's bottom-left corner sits at 0,0 with Y pointing up, in millimetres, and every outline is on one red layer called Cut. In LightBurn or CAM, that means the part lands on the machine origin at the size you typed and needs no unit or layer changes.

Which programs open the files?

DXF: LightBurn, LaserGRBL, RDWorks, AutoCAD, Fusion, Inkscape, CAM software and cutting services. SVG: Cricut Design Space, Silhouette Studio, Glowforge, xTool Creative Space, LightBurn, Inkscape and Illustrator.