Shaded PNG apartment floor plan cleaned onto pure white and traced into 319 editable CAD polylines

PNG Drawing → AI Cleanup → DXF / SVG

PNG to DXF Converter

Convert transparent PNG floor plans, CAD viewport screenshots, and technical diagrams into clean 2D LWPOLYLINE vectors. AI composites alpha transparency onto pure white, cleans shaded fills, and exports DXF (with optional 2-point mm, cm, or m scale written to $INSUNITS) and SVG in your browser.

Drop a drawing image here, or click to select a file.

JPG · PNG · WebP · up to 20 MB

Try an example
AI drawing cleanupDXF + SVG

Opens with the Technical Drawing AI preset selected. Calibrate a known dimension in mm, cm, or m before downloading DXF, or open in AutoCAD to save as DWG.

PNG to DXF Cleanup Pipeline

Why Lossless PNG Drawings Benefit from AI Cleanup Before Tracing

Even crisp PNG exports often carry transparent backgrounds, colored room fills, or scan tints that confuse basic edge tracers. ImgToCAD isolates clean black linework first.

Composites Transparent PNG Channels onto White

Screenshots and PDF page exports with alpha transparency are normalized onto a pure white canvas so dark walls and thin symbols trace cleanly.

Strips Colored Room Fills & Background Grids

Select Technical Drawing for printed plans and screenshots, Hand Sketch for freehand pencil drawings, or Building Photo for exterior elevations.

1.5 px Collinear Simplification & View Switching

Automatically merges collinear vertices within 1.5 px into clean 2D LWPOLYLINE paths, and lets you switch between original, cleaned, and vector previews.

2-Point Metric Scale ($INSUNITS) & SVG Export

Click two points on a known dimension in mm, cm, or m to export a scaled DXF with header units, or download an unscaled pixel-ratio DXF and SVG.

Step-by-Step

How to Convert PNG to DXF

Turn transparent PNG diagrams, screenshots, and floor plans into scaled CAD vectors in three steps.

  1. Upload Your PNG Drawing (Up to 20 MB)

    Upload Your PNG Drawing (Up to 20 MB)

    Drop one or up to 20 PNG files into the workbench. Keep "Technical Drawing" for clean plans and screenshots, or pick "Hand Sketch" or "Building Photo".

  2. AI Cleans Fills & Traces 2D Vector Lines

    AI Cleans Fills & Traces 2D Vector Lines

    Confirm the credit cost. AI removes alpha backgrounds, shading, and grid tints, then your browser traces simplified 2D LWPOLYLINE paths with original, cleaned, and vector view switching.

  3. Calibrate Two-Point Scale & Download DXF / SVG

    Calibrate Two-Point Scale & Download DXF / SVG

    Optionally click two points on a known dimension to set mm, cm, or m units written into DXF $INSUNITS, then download DXF and SVG.

Real PNG-to-DXF Conversions

See How Floor Plans, Blueprints, and Sketches Convert to DXF

Inspect the input image alongside the traced CAD vector output from our pipeline. Drag the comparison handle to check wall corners and thin symbols.

Marketing & Brochure Floor Plans

Shaded apartment PNG to 319 editable LWPOLYLINE paths

Apartment floor plans exported from brochures or design tools frequently contain gray room fills, furniture shading, and semi-transparent overlays.

  • Clears gray room shading and colored overlays while retaining double-line walls, door-swing arcs, and stair treads.
  • Exports 319 simplified LWPOLYLINE entities ready to snap, offset, and organize on layers in AutoCAD, BricsCAD, or DraftSight.

Click the Architectural Layouts sample button in the hero above to open this 319-polyline conversion in the workbench and download the DXF.

Clean black-and-white vector CAD floor plan with 319 polylines
Shaded residential apartment floor plan PNG image
Shaded floor plan PNG319-polyline CAD preview
Loading comparison images…

Archive Blueprint Digitization

Creased sepia engineering sheet to crisp CAD vector linework

Scanned engineering sheets saved as PNG still carry yellowed paper backgrounds and cross-fold shadows (bicycle rack drawing: L=1200mm, D=600mm, H=800mm).

  • Removes cross-fold shadow bands and yellowed paper grain while preserving orthographic views and hidden lines.
  • Outputs simplified 2D LWPOLYLINE outlines ready for metric scaling in mm, cm, or m.

Calibrate metric scale along the 1200 mm base dimension, and verify all hole centers and tolerances against the source sheet.

Clean white-on-dark CAD vector linework extracted from the stained blueprint
Yellowed creased engineering blueprint image with 1200mm, 600mm, and 800mm callouts
Stained blueprint PNGCAD vector preview
Loading comparison images…

Survey Sketch Cleanup

Pencil survey sketch to 178 straight orthogonal polylines

When a site sketch is saved as PNG from a tablet or scanner, switching to the Hand Sketch preset removes paper grain and squares the walls.

  • Reconstructs wobbly pencil lines into 178 straight horizontal and vertical LWPOLYLINE paths.
  • Keeps handwritten metric dimensions (8.18, 9.35, 3.90, 10.0) visible in place for drafting verification.

Click the Field Measurement sample button or use the 2-point ruler on the 9.35 m wall to set meter units before exporting DXF.

Straightened orthogonal CAD floor plan with 178 polylines
Hand-drawn floor plan sketch on white paper over a wooden desk
Field sketch PNGStraightened CAD linework
Loading comparison images…

Workflow Comparison

PNG to DXF: Three Conversion Workflows Compared

Compare traditional auto-tracing tools, manual CAD redrawing, and browser-based ImgToCAD AI cleanup + tracing:

PNG to DXF: Three Conversion Workflows Compared
Comparison FactorOther Raster-to-Vector ToolsManual CAD RedrawImgToCAD (PNG to DXF)
Transparent Alpha & Room ShadingTraces color fill borders alongside walls, doubling outlinesIgnored visually by the drafterAI composites alpha onto white and strips shading to isolate black ink
Setup & PlatformOften requires desktop software install and manual parameter tuningRequires full CAD workstation seat and hours of drafting timeRuns directly in any desktop or tablet browser with up to 20 queued files
Polyline CleanlinessOutputs dense micro-segments along straight wallsClean native lines and arcs drawn by hand1.5 px collinear vertex simplification produces cleaner LWPOLYLINE paths
Scale & Unit CalibrationUsually exports unscaled pixel coordinatesDrafted at 1:1 scale in CADBrowser 2-point ruler calibrates DXF $INSUNITS in mm, cm, or m
Best Use CasePure black-and-white icons and high-contrast logosFinal stamped permit sets and fabrication drawingsPNG floor plans, PDF page screenshots, and architectural diagrams

Transparent Alpha & Room Shading

Other Raster-to-Vector Tools
Traces color fill borders alongside walls, doubling outlines
Manual CAD Redraw
Ignored visually by the drafter
ImgToCAD (PNG to DXF)
AI composites alpha onto white and strips shading to isolate black ink

Setup & Platform

Other Raster-to-Vector Tools
Often requires desktop software install and manual parameter tuning
Manual CAD Redraw
Requires full CAD workstation seat and hours of drafting time
ImgToCAD (PNG to DXF)
Runs directly in any desktop or tablet browser with up to 20 queued files

Polyline Cleanliness

Other Raster-to-Vector Tools
Outputs dense micro-segments along straight walls
Manual CAD Redraw
Clean native lines and arcs drawn by hand
ImgToCAD (PNG to DXF)
1.5 px collinear vertex simplification produces cleaner LWPOLYLINE paths

Scale & Unit Calibration

Other Raster-to-Vector Tools
Usually exports unscaled pixel coordinates
Manual CAD Redraw
Drafted at 1:1 scale in CAD
ImgToCAD (PNG to DXF)
Browser 2-point ruler calibrates DXF $INSUNITS in mm, cm, or m

Best Use Case

Other Raster-to-Vector Tools
Pure black-and-white icons and high-contrast logos
Manual CAD Redraw
Final stamped permit sets and fabrication drawings
ImgToCAD (PNG to DXF)
PNG floor plans, PDF page screenshots, and architectural diagrams

ImgToCAD exports 2D LWPOLYLINE vector outlines in DXF and SVG formats as a drafting starting point. Text callouts and dimension numbers trace as geometric outlines rather than editable MTEXT objects. Always verify critical dimensions against the source PNG.

Calibration & QA Guide

Three Checks Before Importing Your DXF into CAD

Verify metric scale and geometry in the workbench before starting detailed drafting in AutoCAD, BricsCAD, or Rhino.

1. Click Two Points to Write Real Units ($INSUNITS)

Before downloading DXF, click both ends of a known wall or dimension bar in the Optional Real-World Scale panel, enter its length, and choose mm, cm, or m. Leave it unset to export at raw pixel proportions without units.

2. Switch Between Original, Cleaned, and Vector Views

Use the workbench view switcher and up to 4x zoom to compare your original PNG, the AI-cleaned image, and the traced vector outlines side by side so no fine dimension tick is missed.

3. Batch Up to 20 PNGs & Re-Trace Locally at Zero Extra Cost

Stage up to 20 PNG, JPG, or WebP sheets in your browser queue. Once AI cleanup completes on a task, re-running local vector tracing in the browser does not consume extra credits.

Pricing

Credit-based plans. Pick a subscription or a one-time credit pack.

Basic

$19.90/month
  • 500 credits per month

Pro

$49.90/month
  • 2,000 credits per month

Business

$99.90/month
  • 6,000 credits per month

FAQ

PNG to DXF Frequently Asked Questions

Clear answers on transparent PNG handling, metric scale calibration, DWG saving, and credit pricing.

Is PNG better than JPG for DXF conversion?

Yes, whenever you have a choice. PNG uses lossless compression, so thin partition walls, door swings, and small numbers avoid the 8x8 block halos introduced by JPEG compression.

What happens if my PNG floor plan has a transparent background or colored fills?

Upload the PNG directly. The Technical Drawing preset composites alpha transparency onto a pure white canvas and strips light room shading and grid tints before tracing 2D LWPOLYLINE outlines.

How do I set real-world units (mm, cm, or m) in the exported DXF?

After conversion finishes in /converter, use the Optional Real-World Scale panel below the preview. Click two points along a wall or dimension line of known length, type the measurement, and select mm, cm, or m. The downloaded DXF scales all coordinates and writes the unit to $INSUNITS; leaving it unset exports unitless pixel proportions.

Does the DXF file include layers or editable CAD text (MTEXT)?

No. Because a PNG image contains pixel data without CAD layer metadata, all traced lines, symbols, and numbers export as 2D LWPOLYLINE geometric outlines on a single base layer for you to organize in CAD.

How do I save the downloaded DXF as a DWG file?

Open the downloaded .dxf file in AutoCAD, AutoCAD LT, BricsCAD, DraftSight, or LibreCAD, then press Ctrl+Shift+S (or run SAVEAS) and choose AutoCAD Drawing (*.dwg).

How much does PNG to DXF conversion cost?

Each conversion consumes credits based on the selected processing option, and the exact credit cost is displayed before you confirm (re-running local vector tracing is free). Monthly subscriptions include Basic at $19.90/month (500 credits/month, or $167.90/year at $13.99/month for 6,000 credits), Pro at $49.90/month (2,000 credits/month), and Business at $99.90/month (6,000 credits/month). One-time credit packs without auto-renewal are also available: Pro Pack ($49.90 for 1,200 credits, valid 30 days) and Business Pack ($89.90 for 2,000 credits, valid 30 days).

Convert Your PNG Drawing to Clean DXF & SVG Vectors

Drop a PNG floor plan or diagram above, or click the Architectural Layouts sample button to inspect the 319-polyline DXF output in your browser.