↗ SVGtopixGuides

SVG to DXF: check drawing units

For a wrong-size SVG-to-DXF export, check the drawing units and measure a known edge in the saved DXF before changing the scale.

Open the saved drawing

  1. Upload your supported SVG to the SVG to DXF converter.
  2. Click Generate DXF.
  3. Click Download DXF, then open that saved file in LibreCAD.

Use a source dimension you can verify. My sample declares a width of 60 mm and a height of 30 mm. You can repeat the check with the source SVG and downloaded DXF.

Measure between endpoints

In LibreCAD 2.2.1.6, I used File > Open to load the DXF and Auto Zoom to bring the rectangle into view.

  1. Choose Tools > Info > Distance Point to Point.
  2. Enable Snap on Endpoints.
  3. Pick the rectangle's top-left and top-right corners. Read the distance in the command output.
  4. Pick the top-right and bottom-right corners to measure the height. Press Escape when finished.

Compare each reading with the intended source dimension, using the same units. If a reading differs, keep the original export and record the source size, drawing-unit setting and measured distance before editing a copy. This run did not reproduce or repair a scale mismatch.

What the downloaded sample showed

On November 6, 2026, I converted the sample in headless Chrome 156.0.8078.80. The download finished at 11:04 UTC. I then opened that actual saved file in LibreCAD and measured it manually.

CheckObserved result
Input SVG161 bytes; declared size 60 × 30 mm
Downloaded DXF401 bytes
LibreCAD horizontal distance60.0000
LibreCAD vertical distance30.0000
Independent saved-file readback60 × 30 drawing units; $INSUNITS = 4 (millimeters)
Rectangle propertiesClosed checked
Deliberately open interior lineClosed unchecked

The separate file check used ezdxf 1.4.5. Its readback record contains the saved vertices and closed flags. I double-clicked each contour in LibreCAD to inspect its Closed checkbox, then canceled the dialog without changing the geometry.

What remains untested

I tested this straight-edged, millimeter-based sample only. I did not test inch imports, other CAD or CAM programs, curves, physical cutting, kerf or finished-part accuracy. I also did not test a repair workflow for an incorrectly scaled drawing.

For other measured export checks, browse the conversion guides.