Browser-local converter
JPG to DXF converter
Convert a JPG or JPEG image to a DXF for CAD, laser cutting or CNC without uploading it. The image is traced into closed outlines by a brightness threshold you control, sized in real millimetres, and shown as linework before you download it.
Drop your JPG files here
STL, OBJ, PLY, GLB, glTF, 3MF, SVG and DXF, plus PNG and JPG traced to outlines. Nothing is uploaded: files are read and converted inside this tab.
Checking what this device can handle...
Queue
No files yet. Drop files above, or use the file picker.
Output
Units
Size and placement
Repair and cleanup
These can change the shape, so they need a before-and-after review before export.
Inspection
Add a model to see its dimensions, mesh health and estimated volume.
What this JPG to DXF conversion does and does not do
- Tracing follows a single brightness threshold: each pixel is shape or background, and the outlines are the edges between them. Logos, line art, stencils and scanned sketches trace well; photographs do not.
- JPEG compression leaves faint blocks and halos around edges. Near the threshold those can become ragged edges or small specks, so raise the speck size or use a PNG of the same image if you have one.
- Outlines are straight segments following the pixel edges within your smoothing tolerance, not fitted curves. A low-resolution JPG gives visibly stepped edges.
- A JPG has no transparency, so the whole rectangle is either background or shape. Artwork needs a plain background that contrasts with it.
- You choose the physical width in millimetres; a JPG records no real-world size. The height follows the image’s aspect ratio.
- The DXF is R12 with every outline closed on layer 0. Colour, shading and layers are not carried.
Troubleshooting
The edges are ragged
That is usually JPEG compression around the edge. Raise the smoothing tolerance slightly, move the threshold away from the grey halo, or start from a larger or less compressed image.
The background was traced as a big rectangle
The background is darker than the threshold, or the artwork is light on dark. Lower the threshold, or turn on invert.
Small dots are scattered everywhere
Compression noise and paper texture in scans are crossing the threshold. Raise the speck size so islands below it are dropped.
My scanned sketch has gaps in the lines
Pencil lines are often lighter than the threshold. Raise it so lighter greys count as line, or darken the scan before converting.
Questions
Can I convert a picture to DXF for a laser cutter?
Yes, if the picture is high-contrast artwork such as a logo or silhouette. The DXF holds closed polylines in declared millimetres, which cutter software expects. Check it in your cutter’s preview before cutting.
Does JPG or PNG give a better DXF?
PNG, when you have the choice. It is lossless and can be transparent, so edges are clean and the background can simply be empty. A JPG works, and its compression artefacts are the price.
How does this compare with other image to DXF converters?
Most online converters upload the image and process it on a server. Desktop tools such as Inkscape’s Trace Bitmap fit smooth curves and separate colours. This one runs in your browser, traces with a threshold you can see and adjust, and re-opens the DXF to check it before you download.
Is my image uploaded?
No. Decoding and tracing both happen in this tab. There is no upload path in this project, and the Content Security Policy blocks requests to any other origin.
Related tools
- PNG to DXFTurn a PNG logo, silhouette or scanned drawing into a DXF that CAD software, laser cutters and CNC tools can open.
- JPG to SVGTrace a JPG or JPEG image into closed vector SVG paths on your own machine.
- SVG to DXFTurn vector artwork into a DXF that CAD software, laser cutters and CNC front-ends will accept.
- DXF viewerOpen a DXF drawing and look at the geometry itself, not an extrusion of it.
- JPG to STLConvert a JPG into a printable relief on your own machine.
- DXF to SVGTurn a CAD drawing into an SVG you can put on the web or open in a vector editor.