JPEG to DXF Converter

Upload, paste a link, or drag and drop a JPEG file into this JPEG to DXF Converter to quickly transform it into an accurate, editable DXF CAD file.

Start by uploading a file here…

Free on Android

Convert on the go — get our app

100+ tools in your pocket. Faster uploads, batch convert & save files instantly.

5.0
GET IT ON Google Play

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.

FAQs

How do I convert a JPEG to DXF?
Upload your JPEG, press Convert, and download the DXF. The whole process runs in your browser and takes a few seconds for most images.
Is JPG to DXF the same as JPEG to DXF?
Yes. JPG and JPEG are two spellings of the same format — the shorter one exists because older versions of Windows only allowed three-letter extensions. This converter accepts both.
Why does my converted DXF look messy?
Almost always because the source was a photograph or a low-contrast image. Tracing needs hard edges. Convert the image to solid black and white first and the result will improve dramatically.
Can I convert a photograph to DXF?
You can, but the result is rarely useful for CAD or cutting. A photograph has no defined edges, so the tracer produces very large numbers of small fragments. Simplify the photograph to a two-tone image first.
Will the DXF open in AutoCAD?
Yes. DXF is Autodesk's own exchange format, and the output also opens in LibreCAD, QCAD, Fusion 360, SolidWorks, Inkscape and most CNC and laser software.
Can I use the DXF for laser cutting or CNC?
Yes, with one check first. Cutting normally requires closed paths, and tracing can leave tiny gaps. Open the file in your CAD program, join any open paths, set the correct scale, and then send it to the machine.
What size will the drawing be?
A JPEG stores pixels, not millimetres, so the DXF has no inherent physical size. Set the scale after importing by matching one known dimension.
Do I need to install anything?
No. The converter runs online in any modern browser on Windows, macOS, Linux, Android and iOS. There is nothing to download or install.
Is there a file size limit?
Very large images take longer to trace and produce larger DXF files. If a conversion is slow, reducing the image to the smallest resolution that still shows the detail you need will speed it up and give a cleaner result.
Are my files kept private?
Files are uploaded over an encrypted connection, are never shared, and are deleted automatically after processing.
Can I convert any image to DXF, or only JPEG?
Any raster image works: JPEG, PNG, BMP, GIF, WEBP and TIFF all trace the same way. What matters is edge sharpness rather than format. A clean PNG of line art gives a better result than a blurred JPEG of the same drawing.
Which image format gives the best DXF?
PNG, because it compresses without losing data and leaves edges crisp. JPEG compression softens edges slightly, and the tracer follows that softness. If you have a choice, start from the PNG.