Convert JPG to AutoCAD DXF Format for Free

Turn a JPG photo or logo into a CAD-ready DXF for laser cutting, CNC machining, or AutoCAD. Upload your image and this free converter traces the shapes into vector DXF geometry that you can download and open in CAD software.

Convert image files with our easy-to-use and free DXF conversion tool. Our tool lets you upload a JPG (Joint Photographic Experts Group) file and, from this, create a new DXF (Drawing Exchange Format) formatted file that you can then download and use within AutoCAD and other high-definition vector graphics applications.

What it does

Along with converting JPG images to DXF, our tool's Technical drawing mode (selected by default for DXF files), turns scans, photos and sketches of technical drawings into real CAD geometry made up of lines, arcs and circles on layers. A live overlay shows the fitted shapes on top of your uploaded image which you can adjust using the Fit tolerance and the Snap and tidy options to straighten and join them. Set the real-world scale from the image DPI, or click a line, circle or arc and type its known length, then choose which layers to include and save the result as an R12 or R2000 DXF.

How to use it

If you are converting a single image, these options are available from the top toolbar. If converting multiple JPG files, you can access the real-time preview and toolbar using the button. For logos and other artwork rather than technical drawings, choose Auto or Classic from the Processor option under CAD Options.

How to Convert your JPG to DXF Online?

Here are three simple steps to create an DXF file from a JPG file.

JPG to DXF Conversion Options

File Format Information for JPG to DXF

ExtensionJPG
Full NameJoint Photographic Experts Group
TypeImage
Mime Typeimage/jpeg
FormatBinary
ToolsJPG Converters, Create Cookie Cutter, JPG Viewer
Open WithPaint.NET, Photoshop

Description

The JPG file format is a popular image format most commonly used for the storage of digital photographs. The format implements a lossy-compression technology that allows for high levels of file compression with little perceptible loss of image quality, making it an ideal format for photographs.

This format is one of the most used on the internet today, with its small file sizes making it ideal for website images. Although there are newer image formats that may offer higher compression and quality, the JPG is still an ideal format for digital photos.

ExtensionDXF
Full NameDrawing Exchange Format
TypeCAD
Mime Typeimage/x-dxf
FormatBinary
ToolsDXF Converters, DXF Viewer
Open WithFree CAD, Auto CAD

Description

The DXF file format was first introduced in 1982 as part of Autodesk's AutoCAD software. DXF files were intended at the time to allow data interchange between AutoCAD and other CAD-related applications. The format has evolved over the years, with the most recent version coming in 2007.

DXF files can contain either text or binary content describing blocks, entities, objects, and other information using a "tagging" system. The DXF format is still popular today and can be opened with most popular CAD applications.

JPG to DXF, How Does It Work?

Our tool analyzes your JPG file for shapes, outlines, and text, which it then recreates in a compatible CAD format suitable for conversion to the DXF format for use within AutoCAD. The tool will automatically attempt to detect and remove any background color and only import important shapes contained within your image.

Which Images Work Best, and Common Problems

Which images work best

Our converter uses various techniques to convert a JPG image into a CAD file you can then open in AutoCAD: a vector-based drawing of lines, arcs, and circles, rather than a flat picture.

Scanned or exported line drawings work best, especially dark lines on a light background. In Technical drawing mode (the default option when converting to a DXF file), use the Scan, CAD screenshot, or Hand sketch drawing type to match what you uploaded. The tool fits a single centerline for each stroke and places the geometry on layers, which makes it easy when working with a plan or parts drawing.

Logos, clipart, and other artwork are usually better in Auto or Classic (under CAD Options > Processor, or in the mode picker). In Classic mode our tool traces the outlines of the shapes rather than a centerline. If you are not sure, choose Auto and the tool will select an appropriate mode for you.

A photograph of an object or a scene is a poor source for a clean CAD drawing. Technical drawing is meant for photos of drawings, rather than general photos. If our tool cannot build a technical drawing, it will suggest Classic mode. For a logo photo, try the Photo, Icon, or Color Logo preset in Classic. A sharper original — or a PNG instead of a JPG (which can suffer from compression artifacts) — will also help, because JPG compression often softens edges.

Too many lines or messy edges

If the resulting CAD drawing looks busy, or the edges are ragged, you can edit it in the preview before you download.

In Technical drawing, raise Fit tolerance to get fewer, longer lines and arcs (a lower value follows the ink more closely and creates more entities). Then use Snap and tidy to straighten horizontals and verticals, join nearby endpoints, and bridge small gaps. Recheck the real-time overlay on your image after each change.

In Classic or Auto, increase the Outline Simplification option to reduce points and smooth out edges. Hole/Part Reduction can remove tiny speckles, and Merge Similar Colors helps when the JPG is soft or anti-aliased by merging similar colors together. If curves are made of too many short segments, you can try a lower Curved Line Quality (the Low setting uses fewer lines; High or Max is smoother but can increase the size of the DXF file considerably). Background removal can be enabled when the page or paper is showing around the design.

Scale and units in AutoCAD

Set the scale in the tool first, so the DXF already has real-world size.

Open the Scale panel and choose millimeters or inches. You can set the scale from the image DPI (with a 1:n drawing scale if the sheet is not full size — for example 50 for a 1:50 drawing), or click a line, circle, or arc — or two points — and type its known length. If your image has no DPI, or the DPI looks like a default, prefer a known length. Our tool writes those units into the file ($INSUNITS).

When you open or insert the DXF file into AutoCAD, run UNITS and match the same unit (millimeters or inches). If a length still looks wrong, use SCALE with a reference length: pick a known edge in the drawing and type the size it should be. Also, you can check insertion units (INSUNITS) so a later INSERT does not apply a second scale factor.

Using the result as a CAD block

The DXF format is a drawing of entities on layers, not a ready-made block. You can still use it as a block in AutoCAD.

Insert your DXF file into your drawing (INSERT), then use BLOCK to define a block from the new geometry, or WBLOCK if you want to save that block out as its own file. You can also insert the DXF itself as a block, then copy or array it like any other block. Keep the layers you need in the tool's Layers panel before you download your final DXF file, so the block stays tidy.

Frequently Asked Questions

© 2026 ImageToStl. Convert your PNG and JPG Files to 3D STL files.