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?
closed open, with its ends marked
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.
| Units per inch | Who uses it | 1,000 units wide comes to | A 100 mm part drawn this way, read at 96 |
|---|---|---|---|
| 96 | CSS standard, Inkscape 0.92 and later | 264.58 mm | 100 mm |
| 90 | Inkscape before 0.92 | 282.22 mm | 93.75 mm |
| 72 | Illustrator | 352.78 mm | 75 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.
| Drawn / read | Scale by | 10 mm | 50 mm | 100 mm |
|---|---|---|---|---|
| 72 / 96 | 133.333% | 7.5 | 37.5 | 75 |
| 90 / 96 | 106.667% | 9.38 | 46.88 | 93.75 |
| 96 / 90 | 93.75% | 10.67 | 53.33 | 106.67 |
| 72 / 90 | 125% | 8 | 40 | 80 |
| 96 / 72 | 75% | 13.33 | 66.67 | 133.33 |
| 90 / 72 | 80% | 12.5 | 62.5 | 125 |
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.
| Drawn / read | 1 in | 4 in | 12 in |
|---|---|---|---|
| 72 / 96 | 0.75 | 3 | 9 |
| 90 / 96 | 0.938 | 3.75 | 11.25 |
| 96 / 90 | 1.067 | 4.267 | 12.8 |
| 72 / 90 | 0.8 | 3.2 | 9.6 |
| 96 / 72 | 1.333 | 5.333 | 16 |
| 90 / 72 | 1.25 | 5 | 15 |
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:
| Diameter | 0.5 | 0.2 | 0.1 | 0.05 | 0.01 |
|---|---|---|---|---|---|
| 10 mm | 8 | 12 | 16 | 23 | 50 |
| 25 mm | 12 | 18 | 25 | 36 | 79 |
| 1 in | 12 | 18 | 26 | 36 | 80 |
| 50 mm | 16 | 25 | 36 | 50 | 112 |
| 100 mm | 23 | 36 | 50 | 71 | 158 |
| 4 in | 23 | 36 | 51 | 71 | 159 |
| 200 mm | 32 | 50 | 71 | 100 | 223 |
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.
How this was checked
We ran this tool on cases that have a published answer and compared the results. Last checked November 2026.
| Case | Published | This tool | Source |
|---|---|---|---|
| 10 mm box from Illustrator (72 per inch), read at 96 | 7.5 mm | 7.5 mm | community.adobe.com |
| Rescale for a 90 per inch file read at 96 | 106.666 % | 106.667 % | forum.lightburnsoftware.com |
| 100 mm written as 96 per inch pixels, read as mm | 377.9528 mm | 377.9528 mm | gitlab.com |
| Pixels shrunk by 25.4/96 | 26.458 % | 26.458 % | bugs.launchpad.net |
| One inch in SVG units, CSS standard | 96 units | 96 units | w3.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.

https://bentoutils.com/apps/svg-to-dxf/<a href="https://bentoutils.com/apps/svg-to-dxf/">SVG to DXF Converter</a>[SVG to DXF Converter](https://bentoutils.com/apps/svg-to-dxf/)<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>SVG to DXF Converter. BentoUtils. November 2, 2026. https://bentoutils.com/apps/svg-to-dxf/