What is a DXF file?
A DXF (Drawing Exchange Format) file is a CAD drawing format that Autodesk introduced with AutoCAD in 1982 so other programs could exchange drawings; it stores lines, arcs, circles, polylines, text and layers, usually as plain text. Laser cutters, CNC routers, plasma tables and CAD programs such as AutoCAD, Fusion, LibreCAD and LightBurn all open it. You can make one from an SVG with Contour’s SVG to DXF, or from a PNG or JPG logo with PNG to DXF, which traces the image first; DXF export is part of Contour Pro at US$5 a month, and Inkscape can save DXF for free. A DXF holds outlines and layers, not photos or color fills, so images have to be traced into clean shapes first.
Checked against official documentation on 2026-11-16
Step by step
What is a DXF file?
DXF files for laser cutters, CNC routers and 2D CAD. Contour writes DXF R12, the version almost every program reads.
Open or view a DXF
- 1Free on the desktop: LibreCAD on Windows, macOS and Linux opens and edits DXF.
- 2Free online: upload the file to Autodesk Viewer, or import it into LightBurn, Fusion or AutoCAD if you have them.
- 3Before cutting, check the units on import: the same drawing can come in as millimetres or inches.
Make a DXF from an SVG with Contour
- 1Open SVG to DXF and drop the SVG; the preview shows every shape and the real size.
- 2Choose millimetres or inches for the DXF to match what your cutter or CAD program expects.
- 3Download the DXF (Pro): each color goes on its own layer, curves are split into fine segments, and fills become closed outlines.
Make a DXF from a PNG or JPG logo
- 1Open PNG to DXF and drop the image.
- 2Pick a preset and fewer colors, so every area becomes a clean closed shape.
- 3Download the DXF (Pro), or the SVG if your software also accepts SVG (free, traced at up to 1.6 megapixels).
In Inkscape (free)
- 1Open the SVG, or trace the image first with Path › Trace Bitmap.
- 2Convert text to paths with Path › Object to Path.
- 3Choose File › Save As and pick one of the DXF types, such as Desktop Cutting Plotter (AutoCAD DXF R14).
When it goes wrong
Common problems and fixes
- The drawing comes in at the wrong size
- DXF coordinates are plain numbers, and each program guesses the unit. Export in the unit your software expects, or set the unit in its import dialog.
- Curves turn into many short lines
- That is normal for DXF R12, which has no Bézier curves: Contour splits curves into segments within about 0.07 mm of the original, finer than a laser kerf.
- Text is missing
- DXF readers do not have your fonts. Convert text to outlines before exporting.
- Shapes are not closed, so the cutter will not fill or pocket them
- Filled shapes in the SVG become closed outlines; open strokes stay open. Close the paths in your editor, or trace the artwork instead of drawing it with strokes.
Convert SVG to DXF with Contour
Check every shape and the real size for free in your browser; DXF export comes with Pro.
Sources
Checked against these pages on 2026-11-16. Software updates rename menus; if a step no longer matches, write to contour@niamori.ai.
What does DXF stand for?
Is DXF the same as DWG?
Can I convert a PNG to DXF for free?
How-to guides
More guides
- How to vectorize an imageTurn a PNG or JPG into an SVG vector three ways: free in your browser with Contour, with Inkscape’s Trace Bitmap, or with Illustrator’s Image Trace.
- What is an SVG file?What an SVG file is and how to open one: in any web browser, with Contour’s free SVG viewer, as File Explorer previews on Windows, and in vector editors.
- What is an STL file?What an STL file is, why every slicer uses it, and how to open one on Windows now that 3D Viewer is gone, on a Mac or a phone, or convert it for free.
- What is a 3MF file?What a 3MF file is, how it differs from STL, and how to open one or turn it into an STL: in Bambu Studio, in PrusaSlicer, or free in your browser.
- How to make a faviconMake a favicon from your logo, add it to your site’s HTML or WordPress, and get it into Google: the sizes you need, the head tags, and fixes for a stale icon.
- How to use Trace Bitmap in InkscapeUse Inkscape’s Trace Bitmap to turn a PNG or JPG into vector paths: which detection mode to pick, the settings that matter, and fixes for messy traces.
- EPS vs SVGEPS and SVG are both vector formats. What each one is, which programs, printers and cutters take which, and how to turn an image or an SVG into either one.
- What does vectorize mean?To vectorize an image means redrawing its pixels as shapes and curves, so it scales without blurring. What that means, raster vs vector, and how to do it free.