UltKit

JPG to DXF Converter

A JPG is a grid of colored pixels; a DXF is a list of lines. This page traces the dark shapes in your photo or scan into closed outlines and saves them as a Release 12 DXF that laser, router and plasma software can cut.

CAD Converter

or drop DWG, DXF, DWF … files here ·

Max 95 MB per file· Up to 20 files· Deleted after 30 minutes

Output

Files are processed on our servers and deleted after 30 minutes.

How to use this tool

  1. 1

    Upload the JPG

    Use the cleanest version you have: a flatbed scan beats a phone photo, and a large file beats a thumbnail. Up to 20 images, 95 MB each.

  2. 2

    Tune the trace

    The page starts at a Black/white threshold of 45% and Smoothing of 60, which suit typical JPG noise. Switch Trace as to Centrelines for pen sketches you want drawn as single strokes.

  3. 3

    Convert to DXF

    Press Convert to DXF, open the file in your CAD or laser software, and scale it to a known dimension before cutting.

Answer

Can a JPG be converted to DXF?

Yes, by tracing: dark areas become closed polylines in a DXF file. You get cuttable shapes, not a parametric CAD model, so expect to scale the result and tidy a few curves.

How a JPG turns into DXF lines

  1. Split into black and white

    Every pixel darker than the threshold counts as ink; the rest is background.

  2. Follow the edges

    Boundaries between ink and background become paths, smoothed into curves.

  3. Write the DXF

    Paths are saved as polylines in the AutoCAD version you picked.

The result is geometry a machine can follow, which is different from geometry a designer can edit. A traced circle is a polyline with many vertices that looks round, not a CIRCLE entity with a center and a radius you can type. Straight edges come out very close to straight but are rarely exactly horizontal. For a laser-cut sign, a stencil or a gasket copied from a worn original, that is fine. For a part that must mate with others, use the trace as a reference layer and redraw the critical features on top of it.

Release 12 is the default here because it is the DXF dialect that cutting software reads most reliably. Curves are written as polylines, which every controller understands. If the file is going into a current CAD program instead, choose a newer AutoCAD version, or go straight to JPG to DWG.

Black/white threshold for JPG to DXF

  1. 25%

    Only solid black survives; pencil and gray shading disappear.

  2. 45%

    This page's start: dark ink on white paper, JPG noise ignored.

  3. 65%

    Faint pencil lines appear, and so do shadows.

  4. 85%

    Almost everything becomes ink, including paper texture.

JPG

JPEG image

JPEG (or JPG) is the most widely used photo format, standardised by the Joint Photographic Experts Group in 1992. It uses lossy compression that discards fine detail the eye is unlikely to notice, which keeps photos small enough for the web, email and phone storage. It handles smooth gradients and natural scenes well, but sharp text, line art and flat colours pick up visible blocky or fuzzy artefacts. JPEG has no transparency and no animation, and every re-save loses a little more quality. Every browser, phone, camera and image editor can open it.

Compression
Lossy
Transparency
No
Animation
No
Introduced
1992 · Joint Photographic Experts Group
JPG converter

DXF

Drawing Exchange Format

DXF is a CAD data exchange format published by Autodesk in 1982. It describes drawing geometry and layers in a documented text (or binary) structure, so many programs that cannot read DWG can read DXF. It is widely used for laser cutters, CNC routers, plasma cutters and vinyl cutters. DXF files are larger than DWG and may lose some advanced features during exchange.

Compression
–
Transparency
–
Animation
–
Introduced
1982 · Autodesk
DXF converter

People trace a JPG into DXF because a cutter or CAD program needs vector paths and the only copy of the design is a photo, a scan or a logo saved from a website.

Prepare the photo or scan before tracing

DoDon't
Scan drawings at 300–600 DPI on a flatbedTrace a screenshot or a thumbnail saved from social media
Crop away the table, the ruler and the edge of the pagePhotograph at an angle or under a lamp that casts shadows
Raise contrast so lines are black, not grayExpect gradients and photos of faces to become clean outlines
Use the original camera or scanner fileCut the first trace without scaling it

JPG is the hardest raster format to trace well, because its compression was designed for photographs in 1992, long before anyone wanted to cut them. Sharp black-on-white edges are exactly where its 8 × 8 pixel blocks leave ringing and stray gray pixels. If you have the same artwork as a PNG, trace that instead with PNG to DXF; a lossless file gives smoother, lighter DXFs with fewer nodes for the machine to process.

JPG to DXF questions

Can a phone photo of a part give me a DXF accurate enough to cut?

Only roughly. A photo taken at an angle has perspective distortion, so circles turn into ovals and parallel edges lean. Put the part or template on a flatbed scanner, or shoot straight down from a distance with a ruler in the frame, then scale the result in CAD.

Why does the DXF from my JPG contain thousands of tiny shapes?

JPEG compression leaves faint blocky noise around every edge, and paper texture adds more. Each speck that crosses the threshold becomes its own outline. Lower Black/white threshold, raise Smoothing, or start from the original scan rather than a re-saved copy.

Does lettering in the JPG become editable text?

No. Tracing sees letters as shapes, so each one becomes an outline you can cut but not retype. To get the words themselves, run the image through image to text and add them in CAD as real text.

How large is the traced drawing when I open it?

A JPG has no physical size, only pixels, so the traced coordinates follow the pixel grid. Measure one feature you know, such as a 50 mm hole spacing, and scale the whole drawing by reference in AutoCAD, LightBurn or your CAM program.

When should a JPG be traced as outlines rather than centrelines?

Outlines draw around both edges of every dark shape, which is what a laser needs to cut out a filled logo or a stencil. Centrelines run one stroke down the middle of each line, which suits engraving a pencil sketch or sending it to a pen plotter.