Floor Plan PNG / JPG to CAD (DXF) Vectorizer

This tool converts a floor plan image into a layered .dxf vector file. Typical sources are real estate listing plans, developer brochures, and hand-drawn plans. You can download the file or open it in the 3D layout simulator on this site. All processing runs in your browser. Your image is not uploaded.

What this tool is

DXF is a vector file format that AutoCAD and other CAD apps can read. Many generic image-to-DXF tools trace every pixel edge. Walls, text, and shadows all become broken polylines with no real-world scale.

This workbench looks only for horizontal and vertical walls. It turns the image into black and white. Then it scans each row and column for runs of dark pixels. Next it merges nearby scan lines into wall centerlines. Finally it draws two parallel wall faces at the thickness you choose and closes both ends.

The exported DXF has five layers:

  • A-WALL: double-line walls.
  • A-WALL-CENTER: wall centerlines.
  • A-OUTLINE: the outline. It is the rectangle around all detected walls.
  • A-TEXT: the room labels you add.
  • A-FURN: furniture positions, each drawn as a 90 cm square. You cannot add furniture on this page, so only the sample plan fills this layer.

How to use it

  1. Select "Upload PNG / JPG" and choose a floor plan image. A sample three-bedroom plan loads first, so you can try the tool at once.
  2. Select "2-Point Scale". Click both ends of a wall or doorway of known length.
  3. Enter the real distance in millimeters.
  4. Move the "Darkness Threshold" slider until the tool finds the walls but not the text.
  5. Move the "Min Wall Length Filter" slider to remove short noise segments.
  6. Choose a wall thickness (10, 12, 15, or 20 cm) and an export unit (mm, cm, or m).
  7. If a wall is missing, use "Draw Ortho Wall" to add it. Use "Add Room Label" to name rooms.
  8. If you draw a wall by mistake, select "Undo last wall".
  9. Select "Download Layered DXF", or open the result in the 3D Interior Simulator.

Limits and notes

  • The tool finds only horizontal and vertical walls. Draw angled or curved walls yourself, or fix them in your CAD app.
  • Doors, windows, and dimension lines are not detected as separate objects.
  • After upload, the tool scales the image so its longest side is at most 960 pixels.
  • Before you set the scale, all sizes are estimates. The tool assumes the image is about 12.5 m wide.
  • Calibrate the scale before you use the sizes for building work or furniture.
  • The tool keeps at most 120 detected walls per image.
  • When you upload a new image, the sample room labels and furniture are removed. They do not go into your DXF.
  • Scale calibration needs precise clicks. A computer is easier to use than a phone.
  • When you open the result in 3D, the layout and image stay in this browser tab. They are not uploaded.

Related articles and tools