FloorPlanForge
Draw

Image to DXF Converter

Vectorise a PNG, JPG or scanned floor plan into closed DXF polylines that open in any CAD program. Set the scale, tune the trace, download — nothing is uploaded.

Drop an image here
PNG, JPG, WEBP, GIF · scanned plans, sketches, screenshots

Processed entirely in your browser — the image is never uploaded.

Scale — real width of the whole image

Measure one known wall on your drawing and adjust this until the traced lengths match.

Preview appears here
Upload a floor plan image, sketch or blueprint photo. Blue outlines show what will be written to the DXF.

How the converter works

  1. 1

    Threshold

    Pixels darker than the threshold count as ink. Adjust until the lines you want are crisp and the paper is clean.

  2. 2

    Trace

    Contours are traced around every ink region with a marching-squares algorithm and simplified with the smoothing setting.

  3. 3

    Scale & write

    Enter the real width of the image; polylines are written in centimetres (DXF $INSUNITS = 5) with Y up, on an OUTLINE layer.

Features

Any image format

PNG, JPG, WEBP, GIF, BMP — including screenshots of PDFs and photos of paper drawings.

Real-world scale

Tell it how wide the drawing is in feet or metres and the DXF comes out at true size.

Clean output

Speck removal deletes scanner noise; smoothing reduces vertex count so files stay small and editable.

Standard DXF

AutoCAD 2000 (AC1015) LWPOLYLINE entities. Opens in AutoCAD, BricsCAD, DraftSight, LibreCAD, QCAD, SketchUp, Revit, Fusion.

No upload

Conversion runs locally in your browser — safe for confidential plans.

Free & unlimited

No page limits, no watermark, no account.

Image to DXF vs. Sketch to Floor Plan

This converter outputs outlines — the boundary of every dark shape, exactly as drawn. That is what you want for logos, site plans, elevations, details and any drawing you intend to finish in CAD. If your image is a floor plan and you want walls and rooms you can edit, furnish and view in 3D, use Sketch to Floor Plan instead; it detects walls as objects rather than tracing their outlines.

Getting a good result

  • Resolution matters. Use the largest image you have; 1,500–3,000 px wide is ideal. The converter works at up to 1,600 px internally.
  • Straighten photos. Perspective distortion carries into the DXF. Shoot straight-on or use your phone's document-scan mode.
  • Trace lines, not fills. If walls are drawn as solid black bars you'll get both edges of each bar (correct for CAD). If you want single centre-lines, use Sketch to Floor Plan.
  • Check the scale. Open the DXF and measure a known dimension; if it is off by a factor, adjust the “real width” value and re-download.

Opening the DXF

In AutoCAD use OPEN or INSERT; the drawing units are centimetres, so set UNITS or scale by 0.3937 for inches. SketchUp: File → Import → DXF, set units to centimetres. Revit: Insert → Import CAD. LibreCAD and QCAD open it directly.

Frequently asked questions

Is the image to DXF converter free?+

Yes, with no limits and no watermark.

Which DXF version is produced?+

AutoCAD 2000 / AC1015 ASCII DXF with LWPOLYLINE entities, which every CAD application from the last two decades can read.

Can I convert a PDF floor plan to DXF?+

Screenshot or export the PDF page as an image first (most PDF viewers can export PNG), then convert the image here.

Why is the file large?+

Increase Smoothing to reduce vertices, or raise speck removal so tiny shapes are dropped. Typical plans produce 20–300 KB files.

Are curves preserved?+

Curves are approximated by short polyline segments; increase image resolution and lower smoothing for finer curves.

Does it convert to DWG?+

DXF only, but every CAD program that opens DXF can save as DWG.

Unit converters

Related tools

Need an editable plan instead of outlines?

Sketch to Floor Plan detects walls and rooms so you can edit, furnish and view in 3D.