JPEG to DWG Converter
Convert a JPEG image into a DWG drawing you can open in AutoCAD. Upload the file, convert, and download the DWG. No account, no watermark, and the upload is deleted after processing.
Before you start, it is worth being clear about what this conversion can and cannot do, because DWG is a CAD format and a JPEG is a photograph. The two are not different containers for the same thing.
What converting JPEG to DWG actually means
A JPEG is a grid of coloured pixels. A DWG is a set of drawing objects: lines, arcs, circles and polylines, each described by coordinates. There is no direct translation between them, because a picture of a shape and a description of a shape are different kinds of information.
What happens instead is tracing. The image is scanned for boundaries where light meets dark, and paths are drawn along those boundaries. Those paths become CAD geometry. The result follows the shapes in your image closely enough to measure, scale and cut from.
Two things follow, and both surprise people the first time. The drawing arrives with no real-world size, because a JPEG has no physical dimensions to inherit. And the tracer follows every edge it can find, including ones you were not thinking about.
DWG or DXF: which one do you need?
This is the question behind most searches that land here, and the answer is usually simpler than expected.
DWG is Autodesk's own working format, in use since 1982. It is what AutoCAD saves by default. The specification has never been published, so every other program that reads DWG does so through work by the Open Design Alliance rather than from official documentation.
DXF is the format Autodesk does publish, created for the specific purpose of moving drawings between programs. It holds the same geometry.
For traced artwork the two are equivalent. Tracing produces lines and polylines, and both formats store those identically. Nothing about your drawing is better preserved in one than the other.
So choose DWG when something downstream insists on it: a client who asked for DWG files, an office standard, or a program that will not open anything else. Choose DXF when you want the widest compatibility, particularly with laser cutters, CNC controllers and free CAD software, much of which reads DXF and not DWG. If you are unsure, the JPEG to DXF converter is the safer default, and any CAD program can save that DXF as DWG in one step.
How to convert JPEG to DWG
Upload your image
Drag the JPEG into the box or click to browse. JPG and JPEG are the same format, so either extension works and there is no need to rename anything.
Convert
Press Convert. The image is traced and the resulting geometry is written to a DWG. Line art finishes in a second or two; a detailed scan takes longer.
Download and open it
Save the DWG and open it in your CAD program to check the outlines look the way you expect.
Set the scale
Scale the drawing against a dimension you know before you rely on any measurement. This is not optional, and it takes about two minutes.
Which images convert well
Well: logos, line art, stencils, technical drawings, scanned floor plans, signatures, silhouettes, and anything that already looks like a drawing. The tracer follows a clear black-on-white boundary faithfully.
Poorly: photographs, screenshots with anti-aliased text, images with gradients, and artwork with soft shadows. A photograph has no defined edges, only gradual changes in tone, so the tracer produces thousands of tiny fragments trying to follow them.
JPEG compression is worth a particular mention, because it is what makes this different from tracing a PNG. JPEG discards detail to save space, and it does most of that discarding at sharp edges, which is exactly where a tracer is looking. A JPEG saved repeatedly develops faint blocky halos along every line. Those halos get traced too.
If the same artwork exists as a PNG, a TIFF or an original vector file, start from that instead. The difference in the finished drawing is easy to see.
Getting a cleaner drawing
- Raise the contrast until the shapes you want are solid black and the rest is solid white.
- Start from the largest copy of the image you have. Small images have visibly stepped edges, and the trace reproduces every step.
- Remove drop shadows, glows and feathered edges, which are the main cause of doubled outlines.
- Clean specks off scanned drawings. Every speck becomes a closed shape, and on a cutting machine every closed shape becomes a cut.
- Crop to the artwork. Anything left in the frame gets traced along with it.
What opens a DWG file
AutoCAD and the rest of the Autodesk range open it natively, as does AutoCAD LT.
BricsCAD, DraftSight, ZWCAD and NanoCAD all read and write DWG, and are the usual alternatives when an AutoCAD licence is not available.
Fusion 360 imports DWG for 2D sketches, which is the common route from traced artwork to a 3D model.
LibreCAD and QCAD are worth knowing about for the opposite reason: they are the best-known free CAD programs and they work in DXF, not DWG. If either of those is your software, convert to DXF instead.
Autodesk Viewer and eDrawings will open a DWG for looking at without any CAD software installed, which is enough to check a conversion worked.
Sending the drawing to a machine
Traced geometry needs three checks before it goes anywhere near a laser cutter, plasma table or CNC router.
Scale. A JPEG measures in pixels. The drawing has no size until you give it one. Draw a line of known length and scale the imported geometry to match.
Closed paths. Cutting software generally needs outlines that close. Tracing can leave hairline gaps where two paths nearly meet. Every CAD program has a join or close-polyline command that finds them.
Node count. A detailed trace can produce enormous numbers of very short segments, which makes the file heavy and can make a machine stutter. A simplify command usually removes most of them with no visible change.
Many machine controllers want DXF rather than DWG at this final stage. Exporting from your CAD program takes one step.
Common problems and what causes them
The drawing is a mass of tiny segments. The source had soft or noisy edges, most often a photograph or a heavily compressed JPEG. Raise the contrast, or simplify the paths after import.
Faint doubled lines everywhere. JPEG compression artefacts along the edges, traced as separate shapes. Find a cleaner copy of the image, or increase the contrast until the artefacts disappear.
Everything came out inverted. The tracer followed the background rather than the subject. Invert the image and convert again.
The outline is doubled around the whole shape. Usually a drop shadow or glow behind the artwork, traced as a second outline. Remove the effect before converting.
Text is no longer editable. Expected. Tracing produces outlines, never fonts. Add live text in your CAD program if you need to edit it.
Your CAD program will not open the file. Older CAD software can refuse a newer DWG. Convert to DXF instead, which almost never has version trouble.
JPEG and DWG side by side
JPEG (.jpg, .jpeg), named after the Joint Photographic Experts Group, has been the standard photographic image format since 1992. It stores pixels, compresses by discarding detail the eye is least likely to miss, and loses a little more quality each time it is saved.
DWG has been AutoCAD's native format since 1982. It stores drawing objects as coordinates rather than pixels, which is why a DWG can be scaled without losing sharpness, measured precisely, and cut from directly.
Converting between them is not a change of file type so much as a change of kind: from a picture of a thing to a description of its shape.