Turning a JPG into a DXF your machine can actually cut
JPEG was built to make photographs small, and the first thing it gives up is the exact position of an edge — the one thing a cutting machine needs. Every JPEG has been through an 8x8 block transform, so along a hard boundary — black logo on white, part against bench — it keeps a faint halo of ringing and a few blocks that drifted a shade off. Your eye files that under "slightly soft edge" and moves on. A tracer cannot. Those pixels are measurable colour, so they become geometry, and in a DXF geometry is a toolpath: the cutter will try to follow every speckle the compressor left behind.
The second thing JPEG will not give you is an outside. The format has no alpha channel, so the image cannot say "this area is not part of the object" — every pixel is opaque, background included. Whatever the part was sitting on, or whatever colour the artwork was flattened onto, arrives as a solid region of its own, so the edge has to come from contrast instead.
That does not make a JPEG unusable; it changes the plan. Trace at two colours so the engine hunts for one boundary rather than a stack of tonal bands, read the preview for stray islands, and set aside a few minutes in CAD. If the JPG is a re-save of real artwork, go back and re-export that original as a PNG.
Drop an image here
or click to choose one
How it works
- Upload the JPG or JPEG — one image per conversion, up to 25 MB and 40 megapixels.
- Set Colours to 2 so the tracer looks for a single boundary instead of the tonal bands JPEG leaves behind.
- Tick DXF as the output format, and type the finished width and height in mm if the part must come out at a known size.
- Convert and read the preview: stray loops around the edges mean compression noise is being traced.
- Sign in with Google (free) to download the DXF, then delete the leftovers in CAD before you cut material.
Who this is for
This page is for the case where a JPEG is all you have: a client emails a logo as a JPG because that is what their marketplace download produced, or a shop photographs a gasket or a worn paper template because no drawing exists. Either way the job is to get a closed outline into CAD without pretending the source is cleaner than it is.
Photographs deserve their own note, since that is usually where a JPEG comes from. EXIF orientation is applied on upload, so a phone shot taken sideways traces the right way up. Phone files are also large: anything above 1.5 megapixels is downscaled before tracing, which is a good reason to type a physical size in mm. Crop tight and shoot under flat light — a shadow across one side of a part is a colour region, and colour regions become cut lines.
Settings we suggest
Colours: 2. This is the setting that does the work on a JPEG. At 2 the image becomes black and white and you get one boundary per shape; every extra colour is another layer in the DXF and another set of contours a machine can be asked to follow. Go higher only when the part really has separate regions, and expect compression artefacts to appear as extra bands.
Shape stacking: Cut-outs, so holes stay holes and two shapes that meet do not get a doubled boundary along the seam.
Formats: DXF. Tick SVG, PDF, EPS or PNG alongside it and you also get a ZIP of the set.
Physical size: type a width and height in mm and the DXF is written at that size — as is any SVG, PDF or EPS you ticked alongside it. Leave it empty and DXF coordinates come from the pixel grid at 96 px = 25.4 mm.
What lands in the file: DXF R2010 (AC1024) — LWPOLYLINE runs plus degree-3 SPLINE curves, outlines only, never filled regions, one layer per traced colour. Coordinates sit at millimetre scale and the header states the unit, $INSUNITS = 4, so the import dialog has the answer in front of it.
Nothing here scrubs compression noise out for you; the colour count is the lever.
Questions
Why is my DXF full of tiny loops I never drew?
That is the JPEG. Compression leaves ringing and block edges around every hard boundary, and the tracer reads them as small colour regions, so they arrive as closed contours. Colours: 2 removes most of them; delete the survivors near high-contrast corners in CAD. Expect that pass either way, since a traced photograph also carries perspective and shadow.
Should I convert the JPG, or re-export the original as a PNG?
Re-export if you can. JPEG is lossy and every save compounds the last, so a JPG that has been emailed, resized and re-saved carries noise that was never in the artwork. A PNG can also mark the background transparent, so the outside of the part is defined rather than inferred from contrast.
Which DXF version comes out, and what is inside it?
DXF R2010 (AC1024) — AutoCAD 2010 and later, Fusion 360, LightBurn, Inkscape and FreeCAD all open it. Inside are LWPOLYLINE runs and degree-3 SPLINE curves: outlines only, one layer per traced colour, no filled geometry and no embedded bitmap. At 2 colours that means a single geometry layer.
The part imports at the wrong size. What do I fix?
Check what the importer did with the unit. The header declares millimetres, $INSUNITS = 4, but a package that ignores it and assumes inches scales the drawing by 25.4 — set the unit to millimetres by hand and it comes back. Typing a width and height in mm before you convert pins the size itself.
How long does it take, and what are the limits?
In our local measurements a flat logo or sticker lands in 3-12 seconds; a noisy JPEG takes longer. A conversion that runs past its 60-second budget stops and suggests fewer colours or a smaller image. Uploads go up to 25 MB and 40 megapixels. Free and watermark-free: preview the result before signing in, and a free Google sign-in unlocks the download. Signed out you get 10 conversions an hour; signed in, 60 an hour and 300 a day. Download links expire after 1 hour, and files are removed by an automatic 1-day deletion rule.