JPG to DXF Converter
To convert a JPG to DXF, load the picture, let the tracer find the edge between dark and light, remove the JPEG speckle, type the width you want in millimetres or inches and download the DXF. It works for logos, scanned drawings and silhouettes saved as JPG or JPEG, and the picture is traced in your browser, so it is never uploaded.
How to convert a JPG to DXF
- 1
Start from a clear JPG
Use the largest, least compressed copy you have. A dark shape on a plain light background gives the cleanest lines; a busy photo does not.
- 2
Load it and check the lines
Upload the JPG or press the noisy JPEG sample button. Auto threshold finds the dark/light split; the preview lines show what will be written, with holes in a different colour.
- 3
Take out the JPEG noise
Raise Remove specks until the dust is gone, then Simplify and Smooth curves until the edges look like your shape. Use Invert if the shape is the light part.
- 4
Set the size and save
A JPG has no real size, so type the width in mm or inches. Download the DXF and open it in your CAD or laser program to check one dimension.
What to expect from different kinds of JPG
The tracer turns pixels into a two-colour mask first, so the result depends on how clean that mask is. This is how common JPG sources behave and where to start with the sliders.
| Black logo on white | Traces cleanly. Auto threshold is usually enough; add a little Remove specks for the blocks around the edge. |
|---|---|
| Scanned ink or pencil drawing | Good if the paper is evenly lit. Remove specks 40-100 px clears dust; if the paper is shaded, turn Auto threshold off and move Threshold by hand. |
| Product or part on a white sheet | Works as a silhouette for the outer outline. Shadows under the part can join it, so photograph it flat and evenly lit. |
| Heavily compressed web JPG | Edges are ragged and ringed with halos. Raise Simplify and Smooth curves, and expect the outline to be a little softer than the original. |
| Colour logo | Traced by brightness, not colour. Light colours on white may vanish; move Threshold up, or edit the JPG to higher contrast first. |
| Light shape on a dark ground | Switch on Invert to trace the light parts instead of the dark ones. |
| Photo of a person or scenery | Gradients have no single edge, so the trace is a blotchy silhouette. Use a high-contrast cut-out instead. |
| Size limit | Files up to 25 MB. Larger pictures are scaled down before tracing, to 2000 px on the long side in Outline mode and 1200 px in Centerline mode, which is plenty for a cut outline. |
What JPEG compression does to a trace
JPEG saves a picture in 8 by 8 pixel blocks and throws away fine detail to make the file small. Around a sharp edge that leaves faint ripples and a grey halo, and across a flat area it can leave a checkered texture you cannot see at normal zoom. A tracer sees every one of those pixels, so a clean black shape can come out with a fringe of tiny islands and a wobbly edge.
You can fix most of it in the tool. Remove specks deletes any blob smaller than the size you set, Simplify merges nearly straight runs of points, and Smooth curves rounds the stair-steps. Each time a JPG is opened and saved again it loses more, so trace from the original file, not from a copy that was pasted into a document and exported.
A JPG also has no transparent background. Where a PNG logo can be traced by its shape, a JPG is traced by brightness, so the background needs to be clearly lighter (or darker, with Invert) than the shape.
Which JPGs trace well, and how to improve the rest
Think of the tracer as drawing the border between two tones. Logos, stamps, signatures, stencils, silhouettes and scanned line drawings have exactly that border. Photographs of faces, landscapes or anything with soft light and shade do not, and no slider will invent an edge that is not in the picture.
If a JPG is almost right, improve it before you load it. Raise the contrast in any image editor until the shape is nearly black and the ground nearly white, crop away the scanner edge and the table, and erase stray marks. When you scan a drawing, scan it at 300 dpi in greyscale, with the paper flat and the lid closed, so one side of the page is not darker than the other. When you photograph one, use daylight from a window and shoot straight down to avoid perspective.
Photographing a real object for a cut-out? Put it on a white sheet, keep the camera square to it, and leave a clear margin. The outline you get is the silhouette seen from above.
From JPG to a cut on a laser, router, plasma table or vinyl cutter
Outline mode writes each shape as a closed polyline, with holes as their own closed loops inside it. That is what cutting software wants: it can cut the outer edge last and the holes first without joining anything. Centerline mode instead draws one line along the middle of thin strokes, which suits engraving, plotting and pen drawings but leaves lines open.
Because the DXF is traced from pixels, the curves are straight segments joined closely together. For almost every cut that is invisible, and the Simplify slider decides how many points you get. If you need true arcs or splines, redraw the shape in a CAD program on top of the DXF.
Always check the size. Type the width the finished piece should have, open the file in your CAD or laser software, and measure one known dimension before you feed material to the machine. Kerf, tool diameter and tab placement are set in that software, since the DXF follows the exact edge of your shape. If your artwork is already a vector, the SVG to DXF converter skips tracing completely.
Want the shape in 3D?
The logo or part you just traced can also become a 3D model. Make one from a photo or a short text prompt with AI, or turn a picture straight into a printable STL.
More free DXF, SVG and laser tools
JPG to DXF: frequently asked questions
A traced file is only as exact as the picture it came from. Measure one dimension in your CAD or laser software before cutting material.