JPEG to DXF Converter
Convert a JPEG image into a DXF file you can open in AutoCAD, LibreCAD, Fusion 360, or send straight to a CNC router or laser cutter. Upload the image, convert, and download the DXF — free, no account, and the file is removed from our servers after processing.
Before you start, it is worth understanding what this conversion really does, because it decides whether the result is usable. This page explains that, and what to do when the output is not what you expected.
What JPEG to DXF conversion actually does
A JPEG is a raster image: a grid of coloured pixels, with no knowledge of lines, shapes or edges. A DXF is a vector drawing: a list of mathematical lines, arcs and polylines that CAD software can measure, scale and cut.
There is no direct translation between the two. The converter has to trace the image — find the boundaries between light and dark areas, and draw paths along them. This process is often called raster-to-vector conversion, or vectorisation.
That single fact explains almost everything about the result. Tracing works beautifully when the image has clear, hard edges. It produces a mess when the image is full of gradients, texture and noise.
How to convert JPEG to DXF
Upload your JPEG
Drag the file onto the upload area, or click to browse. JPG and JPEG are the same format, so either extension works. You can also paste an image URL.
Convert the file
Press Convert. The image is traced and the paths are written into a DXF. Most files finish in a few seconds; large or highly detailed images take longer.
Download the DXF
Download the finished file. It is standard DXF, readable by AutoCAD, LibreCAD, QCAD, Fusion 360, Inkscape and the software that drives most CNC and laser machines.
Check it before you cut
Always open the DXF in your CAD program before sending it to a machine. Check the scale, check that outlines are closed, and delete any stray paths the trace picked up. This step takes a minute and saves wasted material.
What converts well, and what does not
This is the part most converter pages leave out, and it is the difference between a useful DXF and a wasted afternoon.
Converts well: logos, line drawings, scanned technical drawings, floor plans, stencils, silhouettes, signatures, text, and any black-and-white artwork with hard edges. Anything that already looks like a drawing will trace cleanly.
Converts badly: photographs, portraits, landscapes, images with soft shadows or gradients, and screenshots with anti-aliased text. There are no real edges in a photograph — only gradual changes in colour — so the tracer invents thousands of tiny fragments trying to follow them.
If you are converting a photograph and the result looks like scribble, the converter is not broken. The image simply does not contain the kind of information a DXF can hold. Simplify the image to solid black and white first, and the trace will follow.
Preparing your image for a better trace
A few minutes in any image editor will improve the DXF far more than changing converter settings:
- Increase the contrast until the shapes you want are solid black and the background is solid white. The tracer follows the boundary between the two.
- Remove the background if it is textured or shaded. Anything left behind becomes geometry.
- Use the largest version of the image you have. A 200-pixel-wide logo has jagged edges, and the trace will follow every jag. Resolution matters more than file size.
- Clean up specks and dust on scanned drawings. Each speck becomes its own closed shape in the DXF, and on a laser cutter each one becomes a cut.
- Avoid JPEG artefacts. Heavily compressed JPEGs have blocky halos around edges, and the tracer follows those too. If you have a PNG of the same artwork, start from that instead.
Common problems and how to fix them
The DXF contains thousands of tiny line segments. The source image had soft or noisy edges. Raise the contrast, or start from a cleaner image. Most CAD programs can also simplify or join polylines after import.
The drawing opens at the wrong size. A JPEG has no physical dimensions — only pixels — so scale has to be set after import. Draw a reference line of known length in your CAD program and scale the imported geometry to match it.
The laser cutter rejects the file or cuts the wrong parts. Cutting usually requires closed paths. A trace can leave small gaps where lines nearly meet. Use your CAD software's join or close-polyline tool before exporting to the machine.
The result is inverted. The tracer follows the boundary between dark and light. If it traced the background instead of your subject, invert the image and convert again.
Text came out as outlines, not editable text. That is expected. Tracing produces shapes, never fonts. If you need editable text, add it in your CAD program.
JPG to DXF, and why both spellings lead here
JPG and JPEG are the same format. There is no difference in the file, only in the extension: early versions of Windows allowed three letters and no more, so .jpeg was shortened to .jpg and both spellings stuck. Cameras, phones and editors still disagree about which to write.
Nothing about the conversion changes either way. A file named drawing.jpg and a file named drawing.jpeg are read identically, traced identically and produce the same DXF. If you were searching for a JPG to DXF converter, this is it, and you do not need to rename anything first.
Converting other images to DXF
The tracing works the same on any raster image, so the format your picture happens to be in matters far less than what is in it. Edge sharpness is what decides the quality of the result.
PNG traces best of the common formats, because it compresses without losing data and keeps edges crisp. If you have the same artwork as both a JPEG and a PNG, use the PNG. There is a dedicated PNG to DXF converter that goes into what happens to transparency.
BMP and TIFF are uncompressed, so they trace cleanly for the same reason PNG does.
GIF and WEBP both work. GIF is limited to 256 colours, which for line art is an advantage rather than a limitation.
Scanned drawings and photographs are usually JPEG whatever the subject, which is why an image to DXF conversion so often starts here. A scan of a hand-drawn plan traces well once the contrast is raised. A photograph of an object does not, because a photograph has no hard edges to follow.
Whatever the source format, the DXF that comes out is the same: a set of outlines your CAD program can measure, scale and send to a machine.
JPEG and DXF compared
JPEG (.jpg, .jpeg), short for Joint Photographic Experts Group after the committee that published it, is a compressed photographic image format from 1992. It stores pixels, is excellent for photographs, opens everywhere, and loses a little quality every time it is saved.
DXF (Drawing Exchange Format) was created by Autodesk in 1982 so that CAD programs could exchange drawings. It stores geometry as coordinates rather than pixels, which means it can be scaled to any size without loss and measured precisely — which is why machines can cut from it.
Converting from JPEG to DXF is therefore not a change of file type so much as a change of kind: from a picture of a thing to a description of its shape.
Is this converter free?
Yes. There is no account, no watermark and no charge. Uploaded files are transferred over an encrypted connection and deleted automatically after processing, so drawings you would rather not share do not stay on our servers.