FabDigit

Image to DXF converter

Drop a picture, check the traced outlines, set the real width, then download a DXF for your laser, CNC or CAD program.

Free · No account · The file stays in your browser

Drop a picture here

PNG, JPG, WebP, BMP or GIF: logos and silhouettes. SVG, DXF and PDF work too.

The file is read in your browser and is not uploaded.

How it works

  1. Drop

    Drop a picture. It is traced in your browser; nothing is uploaded.

  2. Check

    See the traced outlines. Move the threshold if an edge is missing or two shapes run together.

  3. Size and download

    Type the real width, choose millimetres or inches, then download the DXF.

What you can do

  • Closed outlines

    Every shape and every hole in it is one closed polyline: the path a laser, plasma or router follows.

  • Round holes stay round

    An outline that is round to within a third of a pixel is written as a true circle, so a hole has one diameter.

  • Real size

    The picture's own resolution sets the size when the file has one, else 96 pixels per inch. Type the width to set it exactly.

  • Private

    The tracing runs on your computer. The picture never leaves the browser.

How does image to DXF tracing work?

A picture is pixels; a cutter needs lines. The tracer splits the picture into ink and background at one brightness threshold, finds each edge between the pixels to a fraction of a pixel, and writes it as a closed outline.

It works best on a logo, silhouette, stencil or template with clear edges, dark on light or light on dark. Transparent areas count as background. A photo has no clean edges and traces into thousands of pieces.

The outline follows the pixels, so it is as accurate as the picture: a 1,000-pixel-wide picture of a 100 mm part is good to about 0.1 mm. For a part with exact dimensions, draw it in CAD.

Ø20

STEP and IGES: an exact circle

The file stores the hole as a true circle of 20 mm diameter. CAD programs, CAM and the quote read the size directly, so the part can be edited, drawn and machined.

STL and OBJ: flat triangles

The same hole becomes 16 straight edges whose middles sit 0.19 mm inside the true circle. A finer mesh gets closer but is never round; 3D-printing slicers read this form.

The same Ø20 mm hole in a 55 × 35 mm plate, stored in a STEP file (ISO 10303-21, exact geometry) and in an STL mesh with 16 segments per circle.

What carries over

In the pictureIn the DXF
Dark shapes (or light ones on dark)Closed polylines
Holes and cut-outs inside a shapeClosed polylines of their own
Round holesTrue circles
Transparent areasBackground
Colours and grey shadesSplit at one threshold into ink or background
TextTraced as outlines, like any shape
Specks of a few pixelsDropped

If the trace looks wrong

What you seeWhat to do
An edge is missing, or two shapes run togetherMove the threshold
The background came out as a box around everythingTick Light shapes on dark, or the other way round
Each drawn line became a thin shape with two edgesThat is how a line drawing traces. For CAD lines, convert the PDF or DXF the drawing came from
Edges have stepsUse a bigger picture: a small or heavily compressed one has steps in its edges
The size is wrongType the real width; the height follows

Supported formats

Every tool accepts the same file types.

FormatExtensionsOpens as
STEP.step, .stp3D solid: view, measure, edit, draw and price (FabDesk on a computer)
IGES.iges, .igs3D solid or surface: view, measure, edit and price (FabDesk on a computer)
STL.stl3D mesh: view, measure and price
OBJ.obj3D mesh: view, measure and export
3MF, glTF / GLB, PLY, AMF.3mf, .glb, .gltf, .ply, .amf3D mesh: view, measure, convert to STL; closed meshes convert to a STEP body
DXF.dxf2D drawing: view, measure and price
AutoCAD drawing.dwg2D drawing, R13 (1994) to the 2018 format: read on our server and opened like a DXF (view, measure, extrude, price)
FBX, DAE (COLLADA), 3DS, SVG.fbx, .dae, .3ds, .svgOpened in FabDesk on a computer: FBX, DAE and 3DS as a mesh, an SVG as a sketch to extrude
SOLIDWORKS assembly.sldasm3D mesh when the file holds every part; otherwise save it as STEP and open the STEP
SOLIDWORKS part.sldprt3D solid when it reads exactly, otherwise the display mesh SOLIDWORKS saved: view and measure (FabDesk on a computer)
NX part.prt3D solid when the file confirms it, otherwise a mesh: view and measure (FabDesk on a computer)
FreeCAD part.fcstd3D solid
Fusion design.f3d3D solids, every body in place, when each body checks out; otherwise a mesh (FabDesk on a computer)
Inventor part.iptExact part when every body checks out, otherwise a mesh
CATIA part.catpart3D solid when the part checks out (a closed, valid solid that matches its own preview), otherwise a mesh: view and measure (FabDesk on a computer)
Creo, Rhino, ACIS.prt, .3dm, .sat, .sabMesh: view and measure (FabDesk on a computer). Save as STEP to edit
Parasolid.x_t, .x_b3D solid when the body checks out (closed, every edge on its faces): view, measure and price
JT.jtMesh for JT 8, 9 and 10 files: view and measure. JT 7 and older: save as STEP, or upload the file to a quote

Limits

  • Files up to 20 MB. Small pictures are enlarged with smoothing (up to 4 times), large ones reduced to 2,000 pixels.
  • One split into ink and background: artwork in several colours comes out as one set of outlines.
  • Curves are written as fine polylines; only round holes become true circles.

FAQ

How do I convert an image to DXF?

Drop the picture on this page, check the outlines, type the real width, choose mm or inches and click Download DXF.

Will the DXF be the right size?

A picture has no real size, only pixels. The picture's resolution is used when the file states one, else 96 pixels per inch; type the width you want and the DXF is drawn at it.

Can I convert a photo?

Not usefully. A photo has no clean edges, so it traces into thousands of pieces. Use a logo or silhouette, or cut the shape out on a plain background first.

Does it keep the colours?

No. A DXF for cutting holds lines only, and the picture is split into ink and background by brightness.

Does it work with LightBurn, Glowforge or xTool?

Yes. They import DXF; the file says mm or inches, so it comes in at the width you set.

Is it free?

Yes. Opening and measuring a file need no account. Sign in to get an instant price.

More free tools

Open and measure

  • Online CAD viewerOpen STEP, SOLIDWORKS, Inventor, IGES, STL and DXF files in one viewer.
  • 3D file viewerOpen STL, OBJ, 3MF, GLB and STEP models in 3D in your browser.
  • STEP viewerOpen STEP and STP files, measure them and get a 2D drawing.
  • SLDPRT viewerOpen SOLIDWORKS part files without SOLIDWORKS and measure them.
  • SLDASM viewerOpen SOLIDWORKS assemblies, or save them as STEP and open that.
  • Inventor file viewerOpen Autodesk Inventor .ipt parts without Inventor and measure them.
  • CATIA file viewerOpen CATIA V5 .CATPart parts without CATIA and measure them.
  • IGES viewerOpen IGES and IGS files in 3D and measure them.
  • STL viewerView STL meshes in 3D and check their size before printing.
  • G-code viewerSee the tool paths in a G-code file layer by layer, with the print time and filament.
  • 3D print time estimatorEstimate a 3D print time and filament from its G-code, planned like printer firmware.
  • NC viewerOpen an NC or G-code program and play the tool path move by move.
  • G-code simulatorPlay a G-code program move by move and see the tool or nozzle path build up.
  • OBJ viewerOpen OBJ models in 3D and measure them.
  • 3MF viewerOpen 3MF print files in 3D and measure them.
  • GLB viewerOpen GLB and glTF models in 3D and measure them.
  • PLY viewerOpen PLY meshes and scans in 3D and measure them.
  • FBX viewerOpen FBX models in 3D, measure them and save them as STL.
  • DAE viewerOpen COLLADA (.dae) models in 3D, measure them and save them as STL.
  • GlTF viewerOpen .gltf models with their .bin in 3D and measure them.
  • 3DS viewerOpen 3D Studio (.3ds) models in 3D, measure them and save them as STL.
  • 3DM viewerOpen Rhino .3dm models without Rhino and measure them.
  • NX part viewerOpen Siemens NX .prt parts without NX and measure them.
  • X_T viewerOpen Parasolid .x_t and .x_b files as exact parts and measure them.
  • JT viewerOpen Siemens JT files in 3D and measure them.
  • F3D viewerOpen Fusion 360 .f3d designs without Fusion and measure them.
  • FreeCAD viewerOpen FreeCAD .fcstd files online as exact parts.
  • SAT file viewerOpen ACIS .sat and .sab parts in 3D and measure them.
  • DXF viewerView and measure DXF drawings and flat patterns.
  • DWG viewerOpen AutoCAD DWG drawings without AutoCAD.

Edit

  • STEP editorChange a STEP file in your browser: move faces, add holes and cuts, export STEP.
  • Online STL editorEdit an STL in your browser: cut, add holes, fillet, save.
  • STL repairFix holes, cracks, flipped and duplicate triangles in an STL, then save it.
  • STL simplifierReduce an STL file size: keep fewer triangles, keep the shape, save a smaller STL.
  • G-code editorEdit a G-code program next to its 3D tool path, then download it.

2D drawings and outlines

From a picture or text

  • Lithophane makerTurn a photo into a lithophane STL: thick where it is dark, thin where it is light.
  • Image to STL converterTurn a picture (PNG, JPG, WebP) into a 3D part: trace it, extrude it, save an STL.
  • PNG to DXF converterTrace a PNG logo or silhouette into DXF outlines for laser and CNC.
  • JPG to DXF converterTrace a JPG logo or silhouette into DXF outlines for laser and CNC.
  • Image to SVG converterTurn a logo, icon or silhouette picture into a clean SVG vector, in one colour or up to 8.
  • Image vectorizerVectorize a bitmap logo or illustration into SVG shapes, in 1 to 8 flat colours.

Ready to order?

Configure the material, finish and quantity. Our engineers review every order before production.