DXFSVG·2D drawing·runs in your browser

Convert DXF to SVG

Turn a DXF drawing into an SVG with real physical dimensions, in your browser. Outlines, arcs and layers come through; text and dimensions do not.

Convert your DXF to SVG

Drop your .dxf file

.dxf

Runs in this tab. Nothing is uploaded, and there is no account to make.

No file handy? .

Choose a file to begin.

What this keeps and what it drops

Kept

  • outlines as lines and arcs
  • circles, ellipses and arcs, kept exact rather than flattened to short lines
  • layer names, as a data-layer attribute on each path, with hidden layers marked hidden
  • physical size, from the DXF unit

Dropped

  • plot styles, line weights and colours
  • layouts and paper space
  • blocks, flattened to the geometry they contain

Proved on 4 fixture drawings on 2026-09-07; 2 incomplete or unitless fixtures were refused rather than exported.

Why convert a DXF to SVG

A DXF is what a CAD package hands to a laser cutter, a CNC router or another CAD package. An SVG is what a web page, a vector editor or a vinyl cutter wants. The geometry is the same in both: lines, arcs and closed outlines. What differs is the container, and the unit.

The most common reason people make this conversion is a laser or cutting service that takes SVG but not DXF, and the second is putting a drawing on a web page or into Illustrator or Inkscape to add colour and text. In both cases the thing that goes wrong is scale, so getting that right is the main job this converter has to do.

What the SVG contains

The output is a plain SVG with one path per line or arc from the drawing. Each path carries a data-layer attribute naming the layer it came from, so a script or an editor with an XML view can select or restyle a layer even though the SVG has no native layer concept of its own. Hidden layers stay in the file, marked hidden, so nothing is silently lost. The root element carries a width and height in millimetres computed from the DXF's declared unit, and a viewBox in the drawing's own coordinates. Open it in Inkscape and a 100 mm plate measures 100 mm.

Arcs, circles and ellipses stay as arc commands; this converter does not chop them into short lines, so a hole stays a circle when you scale the SVG later. Coordinates come out at full precision.

What it drops

Text, dimensions, hatches, leaders and anything else that is not geometry. The specific entity types this converter will not carry include TEXT, MTEXT, DIMENSION, HATCH, LEADER and SPLINE; a drawing built mostly from those is not a candidate for this path. Blocks are flattened to the lines and arcs they contain, so a symbol placed ten times becomes ten sets of outlines. Plot styles, line weights and colours are not carried; every path is a black hairline. Paper-space layouts are ignored; only model space converts.

This converter reads and measures a drawing that contains unsupported entities, but refuses to export it rather than hand you an outline with pieces missing. The report names the entity types it found, so you can explode or delete them in the CAD package and try again.

Before you send the SVG

Check the width and height on the root element against a dimension you know. If the DXF had no unit declared, this converter will not guess; open it in the DXF workspace, assign the unit, and export from there.

Limits

Binary DXF is not read; save a text DXF from your CAD package first. Files above 10 MiB or 20,000 primitives are refused.