Skip to content

JPG to DXF converter

Turn a photo or scan of a template, part or drawing into a DXF you can scale accurately and cut.

Free mode runs in your browser. Your image never leaves your device.

Vector trace of the example image
Scanned ink drawing of an olive branch on paper, traced into smooth black vector lines
100%
Nodes
293
Size
7 KB

How to convert JPG to DXF

Getting accurate dimensions from a JPG

Scanner beats phone
A flatbed scan at 300 dpi or more has no perspective distortion, so proportions stay true
Phone photo
Shoot straight down from far away with zoom to reduce lens distortion. Keep the object flat and the light even
Contrast
Trace a dark outline on white paper, or place a light part on a dark background
Scale reference
Measure one known dimension of the real object and enter it as the target width
Output
Closed polylines, DXF R12 or R2000, mm or inches
Accuracy
Good for templates, gaskets, signs and decorative parts. For tight tolerance machine parts, redraw critical features in CAD

Questions about JPG to DXF

How do I make sure the DXF is the right size?

Measure one dimension of the real object, usually the overall width, and enter it as the target width before exporting. Then check a second dimension after import to confirm the scale.

Can I convert a photo of a part into a DXF for CNC?

Yes, if the part is flat and photographed straight on with strong contrast. For precise fits, use the traced DXF as a reference and redraw critical edges in CAD.

What resolution should my scan be?

300 dpi is enough for most templates. Use 600 dpi for small parts or fine detail, keeping the file under 10 MB (25 MB on Pro).

Does the DXF have closed shapes?

Yes. Vecfox closes every outline, including inner holes, so CAM and laser software can treat each shape as a cut or pocket.

More about JPG to DXF

Vecfox converts JPG images to DXF with closed polylines, in millimeters or inches, scaled to a width you set.

Vecfox runs the trace in the browser, so you can preview the outlines for free before exporting the DXF with Pro or 1 credit.

JPG to DXF is usually about getting a physical shape into a machine: a paper sewing or woodworking template, a broken gasket, a hand-drawn sign, a bracket you want to copy. The quality of the capture decides the quality of the DXF. A tilted phone photo turns a rectangle into a trapezoid, and no tracer can know that the original corners were square.

For flat objects, a flatbed scanner is the best tool you probably already have. Put a sheet of black paper behind a light-colored part (or white paper behind a dark one) for a clean silhouette. If the object is too big to scan, photograph it from as far away as you can with the camera zoomed in, which reduces the wide-angle bulge at the edges.

Treat the result as a very good starting point, not a measured drawing. For decorative cuts, signs and templates it is usually ready to go. For parts that must fit something else, bring the DXF into your CAD program and snap holes and straight edges to exact dimensions.