Free Image to DXF Converter: PNG & JPG to CAD

Trace floor plan scans, blueprints and CNC silhouettes from PNG to DXF or JPG to DXF in your browser. Pick Centerline or Closed Outline, calibrate real mm, inch or foot scale, and export universal R12 DXF with zero uploads.

100% browser-local (zero upload)Centerline CAD walls + CNC outline2-point ruler (mm · in · ft) · R12 DXF
100% browser Web Worker · 0 bytes uploaded to any server
Try a built-in sample
Tracing mode
165
14 px
1.6 px
Real-world CAD scale
ft

Ruler span 600 px = 36 ft → output sheet 48.00 × 31.20 ft

Strict AutoCAD R12 (AC1009) ASCII POLYLINE/LINE with Y-axis flipped for AutoCAD, LibreCAD, QCAD & LightBurn.

Phone photo shadowed? Clean sketch with AI first
36 ft
Third-party licenses
Polylines: 0·Segments: 0·Vertices: 0
800 × 520 px → 48.00 × 31.20 ft (AC1009)
Zero image upload
100% Local
Centerline & CNC outline
2 Modes
True mm, in & ft scale
2-Point
AC1009 universal CAD
R12 DXF

How it works

How to convert PNG to DXF or JPG to DXF at true scale

Turn a scanned apartment plan, dark blueprint or part silhouette into clean CAD polylines in your browser with this image to DXF converter.

  1. 01

    Drop a PNG, JPG, WebP or BMP drawing (or load a sample)

    Select, drag in or Ctrl+V paste any raster image up to 15 MB, or click one of 8 ready presets. Our workspace decodes PNG to DXF and JPG inputs inside a local Web Worker without uploading files.

  2. 02

    Choose Centerline or Closed Outline and tune cleanup

    Use Centerline mode so thick floor plan walls become single CAD axes with 0 and 90 degree orthogonal snap, or switch the tracer to Closed Outline for CNC and laser cut loops. Toggle Invert for dark blueprints and raise Despeckle to drop paper grain.

  3. 03

    Calibrate with the 2-point ruler and download R12 DXF

    Drag P1 and P2 onto a known wall or part edge, type its real length in mm, inches or feet, and check the live polyline and vertex count. Export an AutoCAD R12 (AC1009) DXF file or vector SVG ready for CAD and CAM software.

Capabilities

Why engineers and architects use this DXF converter

Six CAD-grade capabilities built into the image to DXF workspace above, solving double-line walls, arbitrary pixel scales and cloud privacy concerns.

01

Centerline skeleton tracing for single-line CAD walls

Ordinary contour tracers outline both sides of a 6 px wall stroke, leaving hollow double rectangles that cannot be trimmed or offset in CAD. Centerline mode thins each wall to its medial axis and snaps near-axis segments to 0 and 90 degrees during PNG to DXF conversion.

Try it in the tool above
02

Two-point scale ruler in millimeters, inches and feet

Unscaled raster-to-CAD outputs land in drafting software at raw pixel coordinates like 1,420 units wide, forcing manual SCALE math after import. Click two endpoints of any known wall or flange bore, enter 36 ft or 160 mm, and our DXF converter writes calibrated coordinates plus $INSUNITS.

Try it in the tool above
03

Blueprint invert, alpha compositing and despeckle cleanup

Prussian-blue prints, phone photos of pencil sketches and transparent PNG logos all behave differently under a plain threshold. Transparent pixels composite onto white paper first, dark blueprints invert in one click, and 8-connected despeckle removes scanner dust before JPG to DXF tracing.

Try it in the tool above
04

Ramer-Douglas-Peucker vertex simplification with live stats

Raw pixel staircases bloat CAD files with thousands of microscopic segments that stall snap cursors and laser controllers. Slide the RDP tolerance from 0.4 px to 5 px and watch vertex counts drop by over 70% in real time while corners stay crisp.

Try it in the tool above
05

Universal AutoCAD R12 (AC1009) ASCII DXF plus 7-layer makers

Modern DXF dialects often fail in lightweight CAM routers and legacy viewers. Every download writes strict AC1009 HEADER, TABLES and ENTITIES with Y-up coordinates, and our companion Floor Plan Maker and Blueprint Maker export 7 structured CAD layers including WALLS, DOORS and DIMENSIONS.

Try it in the tool above
06

100% browser-local Web Worker privacy for NDA drawings

Client floor plans, tenant build-outs and proprietary CNC brackets should never sit on a third-party server queue. Every raster-to-vector run happens inside an isolated browser Web Worker on your own device with zero image upload requests.

Try it in the tool above

Examples

Image to DXF examples you can open and inspect live

Each card below shows real polyline output from this free image to DXF converter across architectural scans, dark blueprints and CNC parts. Click any example to load its raster input, trace mode and 2-point ruler in the workbench.

Centerline Tracing vs Closed Contour Tracing: Picking the Right Mode

The biggest mistake in any PNG to DXF or JPG to DXF job is using an outline tracer on architectural walls, or a centerline skeleton tracer on a solid CNC bracket. A scanned floor plan represents walls as dark strokes of finite pixel width; architects want a single axis along the middle of each wall so offsets, wall thickness tools and room dimensions snap cleanly.

By contrast, laser cutters, plasma tables, waterjets and router CAM paths require closed boundary loops (70=1 closed POLYLINE rings) where the tool kerf follows the outside perimeter and inside bolt holes. Switching modes in our image to DXF converter swaps both the underlying algorithm and the target CAD layer (TRACE_CENTERLINE vs TRACE_OUTLINE).

  • Centerline (CAD Walls): scanned floor plans, pencil field sketches, site boundaries and single-line MEP diagrams.
  • Orthogonal Snap (0 / 90 deg): levels slightly tilted rectilinear walls while leaving 45 degree bays untouched.
  • Closed Outline (CNC / Laser): mounting plates, gaskets, decorative fretwork screens, stencils and metal emblems.
  • Simplification slider: use 1.2 to 2.0 px for crisp architectural scans, or 0.6 to 1.0 px for curved mechanical bores.
2D CAD Architectural Lineweight HierarchyReference Spec
Load-Bearing & Exterior Walls0.50 mm
Heavy solid dark line
Interior Partition Walls0.35 mm
Medium structural line
Furniture & Fixed Millwork0.18 mm
Light crisp outline
Door Arcs & Dimensions0.13 mm
Fine dashed annotation
Centerline wall axes vs closed inner and outer cut contours in a calibrated R12 DXF workflow

Opening and Checking True Scale in AutoCAD, LibreCAD, QCAD and LightBurn

Every file from this DXF converter uses the ASCII AutoCAD R12 (AC1009) specification with Y-up Cartesian coordinates, explicit $EXTMIN / $EXTMAX drawing bounds and the $INSUNITS header code (4 for millimeters, 1 for inches, 2 for feet). Unlike image-wrapped DXF files that only embed a raster reference, every traced path is real editable POLYLINE + VERTEX + SEQEND geometry.

Before exporting your image to DXF file, switch Scale Calibration to 2-Point Ruler, place P1 and P2 at opposite ends of the longest known dimension on the drawing, and enter its measured length. Choosing a long exterior wall (such as 36 ft) rather than a narrow 3 ft doorway minimizes pixel-picking error to well under 0.5%.

  • AutoCAD: run OPEN, pick the .dxf file, type ZOOM then E (Extents), and verify a known wall with DIST. Use SAVEAS if your downstream workflow needs a native .dwg archive.
  • LibreCAD & QCAD: open the .dxf directly and check Edit > Current Drawing Preferences > Units to confirm mm, inch or foot alignment.
  • LightBurn: set LightBurn DXF import units to match the mm or inch unit selected in the converter so cut parts land at 1:1 size.
  • Drafting from scratch instead of tracing? Draw rooms directly in our Free Floor Plan Maker to export 7 named CAD layers.

Preparing Dark Blueprints, Smartphone Sketches and Transparent PNGs

Clean vectorization starts with clean binary separation between foreground ink and background paper. When converting JPG to DXF from a smartphone photo of a notebook sketch, shoot straight down under even light to avoid perspective keystone and heavy shadows, then raise Threshold until faint grid paper disappears while pencil walls stay continuous.

For white-on-blue cyanotype sheets or dark CAD screenshots, enable Invert so light linework becomes the foreground target. For transparent PNG to DXF logos, crests and architectural stamps, our raster pipeline composites alpha onto pure white before thresholding so black strokes on transparent backgrounds never merge into a solid black rectangle.

Use cases

Who uses this online image to DXF converter

From renovation architects digitizing paper archive plans to CNC and laser shops cutting parts at 1:1 millimeter accuracy.

Renovation architects digitizing archive floor plans
Centerline + Invert · 1:1 ft / mmDigitize legacy paper blueprints into editable AutoCAD R12 layers

Renovation architects digitizing archive floor plans

Convert scanned apartment brochures and permit prints into clean CAD centerlines, scale one exterior wall, and start remodeling in AutoCAD without hours of manual line tracing.

CNC router and woodshop fabricators
Closed POLYLINE (70=1) · mmClean outer profiles & inner mortise holes for CNC router CAM

CNC router and woodshop fabricators

Trace high-contrast bracket templates, joinery jigs and inlay silhouettes in Closed Outline mode so inner slots and outer profiles arrive as closed R12 polylines.

Field surveyors and remodeling contractors
2-Point Ruler · Ortho Snap 0°/90°Scale field tape-measure room sketches to exact remodel dimensions

Field surveyors and remodeling contractors

Snap a clear photo of a measured pencil sketch on site, run JPG to DXF cleanup in your browser, calibrate against a laser-measured wall and share a scaled CAD base with trades.

Laser-cut architectural screens and metal panels
LightBurn & QCAD Ready · AC1009Convert decorative grille patterns & stencils into laser cut paths

Laser-cut architectural screens and metal panels

Turn geometric fretwork patterns and ornamental divider graphics into LightBurn-ready DXF cut loops calibrated to exact sheet millimeter widths.

Architecture students cutting basswood scale models
Contour & Site Lot Lines · 1:1Trace site plans and contour sheets for studio laser model beds

Architecture students cutting basswood scale models

Vectorize studio wall diagrams and site contours with this free DXF converter to laser-score 1:50 or 1:100 model sheets cleanly.

Custom hardware, gasket and signage makers
⁦‎6‎⁩ closed loops · 160 mm calibratedReverse-engineer gaskets, brackets & mounting plates locally

Custom hardware, gasket and signage makers

Convert transparent PNG to DXF emblems and mechanical flange outlines locally without exposing proprietary client artwork to external servers.

Frequently asked questions

Answers on local privacy, file formats, Centerline vs Outline modes, scale accuracy, AutoCAD compatibility and member export access.

Open the tool above

Does this image to DXF converter upload my floor plan or part image to a server?

No. Image decoding, thresholding, despeckle cleanup and polyline vectorization all run locally inside a Web Worker in your own browser. Zero bytes of your PNG, JPG, WebP or BMP file are sent over the network.

Which image formats and file sizes are supported, and what about SVG or PDF?

The converter accepts PNG, JPG/JPEG, WebP and BMP files up to 15 MB, and automatically scales images larger than 4,096 px proportionally so browser memory stays responsive. SVG files are already vector graphics and PDFs are multi-page documents; export or screenshot the page as a crisp PNG first to trace it here.

Should I pick Centerline or Closed Outline when converting PNG to DXF?

Choose Centerline (CAD Walls) for floor plans, blueprints, hand sketches and site maps where each drawn stroke represents a single wall or line. Choose Closed Outline (CNC / Laser) for solid mechanical parts, gaskets, stencils and logos where your cutter needs closed inner and outer boundary loops.

How accurate is the 2-point scale ruler in the exported DXF?

When you place P1 and P2 on a clean, long reference span (such as a 36 ft exterior wall or a 160 mm flange diameter), coordinate scaling writes exact floating-point vertices in mm, inches or feet with less than 0.5% dimensional deviation on clean scans.

Which CAD and CAM programs open the exported R12 DXF file, and can I get a DWG?

Every download follows the ASCII AutoCAD R12 (AC1009) standard using classic POLYLINE and VERTEX entities, so it opens cleanly in AutoCAD, LibreCAD, QCAD, BricsCAD, NanoCAD, LightBurn, Rhino and Fusion 360. This tool exports .dxf (not .dwg directly); to create a .dwg file, open the R12 .dxf in AutoCAD and run SAVEAS.

Why does a dark Prussian-blue blueprint trace better with Invert enabled?

Standard thresholding treats dark pixels as ink on white paper. Turning on Invert flips luminance so white or light-cyan drafting lines on a dark blueprint sheet become the foreground strokes without tracing the sheet background.

Is previewing free, and what unlocks clean DXF and SVG downloads?

Uploading images, testing presets, switching Centerline and Outline modes, calibrating scale and inspecting the interactive vector preview are completely free with no sign-up. Downloading .dxf and .svg files is unlocked with any paid subscription, standard credit pack or one-time Member Tools pass (trial-only starter packs do not include CAD file exports).

Convert your image to DXF locally in seconds

Scroll back to the free image to DXF converter above to run PNG to DXF or JPG to DXF tracing in your browser, calibrate real units with the 2-point ruler, and export an AutoCAD R12 DXF file.