SVG to DXF Converter

SVG to DXF without guessing the size: drop an SVG, check how big it really comes out, fix the lines that would stop a cut, and download a DXF. Nothing uploaded.

Drop your SVG file here

or

No file to hand?

Why did my DXF come out the wrong size?

An SVG measured in pixels has no real size until a program decides how many pixels make an inch, and programs disagree. The CSS standard that SVG follows says 1in = 2.54cm = 96px. Inkscape moved from 90 to 96 in version 0.92, and a reply on Adobe's forum says Illustrator's default is 72 per inch.

The same SVG, read at three resolutions
Units per inchWho uses it1,000 units wide comes toA 100 mm part drawn this way, read at 96
96CSS standard, Inkscape 0.92 and later264.58 mm100 mm
90Inkscape before 0.92282.22 mm93.75 mm
72Illustrator352.78 mm75 mm

That table matches what people report. On Adobe's forum, someone seeing 75% size on their laser cutter saved a 10 mm box from Illustrator and it opened in CorelDRAW at 7.5 mm. LightBurn's forum gives the fix for old Inkscape files: scale the whole design by 106.666%. Inkscape's own DXF export has had scale faults in both directions in past versions, with a 100 mm line coming out as 377.9528 mm (the issue page says it has since been fixed, with extent problems tracked separately) and a report filed against the default template in Inkscape 0.92 of objects at 26.458% of proper size.

The tool shows all three sizes before you download, and marks the likely one when the file names the program that made it. If you know one real width, type it and ignore the guesses. Either way the drawing is measured by its lines, not by the page around them, and its lower left corner lands on 0,0.

How much do I scale by to fix it?

A part that already came in at the wrong size needs one scale factor: the units per inch your program reads, divided by the units per inch the file was drawn at. This table gives that factor for every mismatch between 96, 90 and 72, with what a 10, 50 and 100 mm part turns into before you fix it, rounded to 0.01 mm.

Scale fix, and what a part comes out at in mm, by units per inch drawn at / read at
Drawn / readScale by10 mm50 mm100 mm
72 / 96133.333%7.537.575
90 / 96106.667%9.3846.8893.75
96 / 9093.75%10.6753.33106.67
72 / 90125%84080
96 / 7275%13.3366.67133.33
90 / 7280%12.562.5125

A file drawn at 72 units per inch and read at 96 needs scaling by 133.333% to read true, and one drawn at 90 needs 106.667%. LightBurn's forum gives the second factor as 106.666%.

What if my part is measured in inches?

The mismatch scales inch parts by the same factor, so the scale-by column above still holds. Here is what a 1, 4 and 12 inch part comes out at, rounded to 0.001 in.

What a part comes out at in inches, by units per inch drawn at / read at
Drawn / read1 in4 in12 in
72 / 960.7539
90 / 960.9383.7511.25
96 / 901.0674.26712.8
72 / 900.83.29.6
96 / 721.3335.33316
90 / 721.25515

A foot-long part from Illustrator, read at 96, comes in at 9 in. To get a DXF in inches from this tool, set DXF units to Inches; the units the file records are covered under which DXF version to pick.

My shape looks closed, so why won't the laser fill it?

A shape can look finished on screen with its two ends a hair apart. LightBurn's manual is blunt about this: "if there is any gap at all, any open shape is the same to LightBurn as a line segment." Its Close Path command only works when the ends are within .5 mm of each other.

The check here finds outlines with a gap of 0.5 mm or less and closes them unless you untick the box. Any outline further apart stays an open path and shows in red, because guessing how to join it could change your part. It also treats a line that ends where it began as closed, even without the Z that the SVG standard asks for.

Duplicates are the other quiet fault. Two copies of one shape look like one on screen, and the machine follows both. The check counts a shape as a duplicate when its points match another's after rounding to 0.01 mm, whatever point or direction it starts from.

Does DXF keep my curves smooth?

This tool writes curves as chains of short straight segments, so accuracy is a setting you choose. It is measured in millimetres on the finished part: no segment strays further than that from the true curve, after any scaling. Finer accuracy means more points. An SVG circle element takes this many segments in this tool:

Segments per SVG circle element in this tool, by circle diameter (rows) and curve accuracy in mm (columns). 1 in is 25.4 mm and 4 in is 101.6 mm
Diameter0.50.20.10.050.01
10 mm812162350
25 mm1218253679
1 in1218263680
50 mm16253650112
100 mm23365071158
4 in23365171159
200 mm325071100223

The default of 0.05 mm gives a 50 mm circle 50 segments. Cutting the allowed error to a quarter only doubles the points: going from 0.2 mm to 0.05 mm takes that circle from 25 segments to 50.

The accuracy stays in millimetres when the DXF is in inches. At the default, a 1 in circle takes 36 segments, the same as a 25 mm one, and a 4 in circle takes 71, the same as a 100 mm one.

Where did my text go?

Text in an SVG is a font instruction, not a shape, so it never reaches the DXF. Convert it to paths in your drawing program first. The check tells you how many text elements were left out, along with embedded pictures and anything hidden. Clipped artwork comes through whole, because clipping is ignored, and the check warns you about that too.

R2000 or R12: which DXF version should I pick?

Start with R2000. It records the units in the file, using the $INSUNITS header value, where 4 means millimetres. That value arrived with the AutoCAD 2000 specification, according to a note on the FreeCAD tracker, so an R12 file has nowhere to put it and you choose the units when you import it. Pick R12 if a program or an older machine refuses the R2000 file.

With DXF units set to Inches, the R2000 file records $INSUNITS 1, which the same ezdxf units table lists as inches. A 100 mm square exported in inches is written 3.937 units wide. A program that ignores the units and assumes millimetres opens it at 3.937 mm, 25.4 times too small, and an R12 file always leaves that choice to the importer.

Some programs offer R14 instead. Inkscape's own DXF export is listed in its extension file as "Desktop Cutting Plotter (AutoCAD DXF R14)". This tool does not write R14. The ezdxf documentation's list of DXF versions puts R14 (AC1014) between R12 and R2000 and reads it as R2000, so R2000 is the nearer of the two choices here.

Both versions were read back and audited with the ezdxf 1.4.5 library, which reported no errors. They have not been opened in AutoCAD or LightBurn, so check the size of your first import.

Do I need a DXF at all?

Check your laser or CNC software first. Glowforge's help page says it can print "JPG, PNG, SVG, PDF, and other file formats", so a Glowforge owner with an SVG can usually send that as it is. DXF earns its place when a CAD or CAM program expects it.

If you would rather convert offline, the svg2dxf script runs on your own computer and needs Inkscape and pstoedit installed.

Last reviewed: November 2, 2026

How this was checked

We ran this tool on cases that have a published answer and compared the results. Last checked November 2026.

CasePublishedThis toolSource
10 mm box from Illustrator (72 per inch), read at 967.5 mm7.5 mmcommunity.adobe.com
Rescale for a 90 per inch file read at 96106.666 %106.667 %forum.lightburnsoftware.com
100 mm written as 96 per inch pixels, read as mm377.9528 mm377.9528 mmgitlab.com
Pixels shrunk by 25.4/9626.458 %26.458 %bugs.launchpad.net
One inch in SVG units, CSS standard96 units96 unitsw3.org

Corrections

  • : An S-shaped curve with its midpoint on the straight line between its ends came out as that straight line. The test curve now keeps its 28.84 unit peak, it had none
  • : Arcs written without separators, as minifiers write them, wrote NaN coordinates. They now end where they should
  • : The page no longer promises DXF output for Glowforge. Glowforge's help page names SVG and PDF but not DXF

How we research and check our tools. Spotted a mistake? Use the Report a bug button on this page.

Link to this tool

Sharing or citing this calculator? Copy a link in the format you need. You're free to quote and cite anything on this page.

Share card: 1,000 SVG units come out at 265 mm read at 96 per inch, or 353 mm read at 72
Plain URL
https://bentoutils.com/apps/svg-to-dxf/
HTML link
<a href="https://bentoutils.com/apps/svg-to-dxf/">SVG to DXF Converter</a>
Markdown link
[SVG to DXF Converter](https://bentoutils.com/apps/svg-to-dxf/)
Image link
<a href="https://bentoutils.com/apps/svg-to-dxf/"><img src="https://bentoutils.com/public/og/svg-to-dxf-v1.png" alt="SVG to DXF Converter" width="600" height="315"></a>
Citation
SVG to DXF Converter. BentoUtils. November 2, 2026. https://bentoutils.com/apps/svg-to-dxf/