JPG to DXF Converter

Trace JPG and JPEG photos, scanned sketches, and silhouettes into smooth R12 ASCII DXF and SVG cut paths—100% locally in your browser.

JPG / JPEG -> R12 DXF 100% Browser Local
Contours0
Vertices0
Output Size0 x 0 mm
DXF Size0 KB
Live Contour Trace Preview (Cyan = Exported CAD Vectors) 100% browser-local image tracing
Open Full 2D CAD Editor

Convert JPG & JPEG Images to Clean R12 DXF Cut Paths

This JPG to DXF converter turns raster .jpg and .jpeg logos, hand-drawn shop templates, stencil silhouettes, and scanned part outlines into fabrication-ready AC1009 (R12) ASCII DXF and SVG files right inside your web browser. Every step—grayscale thresholding, noise filtering, Marching Squares contour extraction, and Ramer–Douglas–Peucker (RDP) smoothing—runs 100% locally on your machine with zero file uploads and no account required.

Preparing a JPG Photo or Scan for Accurate DXF Tracing

Unlike lossless vector files, JPEG images contain 8×8 compression blocks and uneven lighting gradients when shot with a phone camera. Follow these four steps above to get crisp CNC or laser paths:

  1. Photograph flat and square: Place paper templates flat on a contrasting surface and shoot straight down to minimize perspective skew before cropping tightly around the part.
  2. Dial in Threshold Cutoff: Lower the cutoff (80–120) to ignore off-white paper grain or soft shadows on scanned pencil/marker drawings; raise it (150–190) to pick up faint gray artwork.
  3. Filter JPEG speckles: Increase Min Noise Filter (12–25+) to strip tiny compression artifacts so your laser cutter or plasma torch does not waste moves piercing dust specks.
  4. Smooth stair-stepping & set exact scale: Set Path Smoothing (RDP) around 1.2–2.0 to turn jagged pixel edges into clean polylines, then enter the true physical part width in Output Width (mm) before downloading.

JPG vs. PNG vs. SVG: Choosing the Right Starting File

Source Format Best Conversion Path Why It Matters for Cutting
JPG / JPEG photo or scan JPG to DXF (This Page) Needs threshold + noise filtering to drop JPEG artifacts before vector tracing.
Transparent PNG logo PNG to DXF Converter Lossless edges with automatic white-background alpha compositing.
Illustrator / Inkscape SVG SVG to DXF Converter Direct mathematical curve sampling—zero pixelization or tracing distortion.

Refine Your Traced DXF Before Cutting

Once you download your traced .dxf, open it directly in our DXF Editor or Online CAD Editor to verify overall dimensions, replace traced circular holes with true geometric CIRCLE entities, or check extents and layers in our DXF Viewer Online. Need a printable 1:1 paper check template first? Send the DXF straight to our DXF to PDF Converter.

Frequently Asked Questions

Can I convert JPG and JPEG images to DXF online for free?

Yes. Drop any .jpg or .jpeg photo, logo, stencil, or scanned part sketch into the uploader above to trace contours into clean AC1009 (R12) ASCII DXF and SVG files directly in your browser with no signup.

How do I get clean cut lines from a compressed JPG or phone photo?

JPEG compression introduces faint mosquito-noise blocks around edges. Raise the Min Noise Filter slider to drop isolated tiny contour islands, adjust Threshold Cutoff to separate dark ink from off-white paper, and increase Path Smoothing (RDP) to 1.2–2.0 for smooth laser and CNC polylines.

How do I scale a traced JPG to exact millimeter dimensions in DXF?

Enter your target real-world width in millimeters in the Output Width (mm) input before downloading. The exported DXF sets $INSUNITS = 4 (mm) and scales height proportionally so LightBurn, VCarve, Fusion, and AutoCAD open it at exact physical size.

Are my JPG files uploaded to a remote server?

No. Pixel thresholding, Marching Squares contour tracing, and R12 DXF generation execute 100% locally in your browser using HTML5 Canvas and JavaScript. Your JPG photos and shop templates never leave your device.

When should I use JPG to DXF vs. PNG to DXF or SVG to DXF?

Use JPG to DXF (this page) when starting from JPEG scans, camera photos, or compressed raster artwork that needs despeckling and threshold tuning. If your source file is a transparent PNG logo, our PNG to DXF converter (/png-to-dxf) handles transparent alpha compositing; if you already have a clean vector SVG, use SVG to DXF (/svg-to-dxf) for exact curve conversion without raster tracing.

Can I clean up or edit the DXF after converting from JPG?

Yes. After clicking Download Traced DXF (R12), open the downloaded file in our DXF Editor (/dxf-editor) or Online CAD Editor (/) to delete stray fragments, add exact circular mounting holes, or place millimeter dimensions.