SVG to DXF Converter
Turn an SVG into a DXF for cutting, CNC or CAD, checked for open paths and size first. It runs in your browser, with no signup.
Drop an SVG here
Paste works too, and so does . SVG up to 20 MiB.
Preflight
Runs when you add a file
Not checked yet: Page size
The page size the file states or implies, which sets the scale.
Not checked yet: Open paths
Outlines that do not close.
Not checked yet: Duplicate lines
Lines drawn twice in the same place.
Not checked yet: Text
Text that is still text and not shapes.
Not checked yet: Strokes and fills
Which shapes are drawn as lines and which as filled areas.
Not checked yet: Nodes
How many points the outlines have.
Next step
SVG up to 20 MiB. Up to 200 files or 500 MiB at once. A job stops after 60 seconds.
How to convert SVG to DXF
Add your SVG. Press Choose file or drop one or more SVG files on the mat. Or press Try a sample for a bracket drawn in pixels, with red cut lines and a filled black arrow.
Check the size and the report. Pick the Units your machine or CAD program works in, and the Source DPI of the program that drew the file. The Preflight report lists open paths, duplicate lines and text that is not converted, with a one-click fix where the fix is safe.
Download the DXF. Press Download DXF. Several SVGs come as one ZIP with a DXF for each, named after it.
What the options do
- Units
- The drawing unit of the DXF. A Compatible file cannot record it, so choose the same unit again when you import.
- DXF type
- Compatible (R12) writes every curve as short straight lines. Curves (R2000) keeps circles, arcs and splines and records the unit.
- Source DPI
- How many pixels make an inch, for an SVG whose size is not in mm or inches. A file that states its size ignores it.
- DPI
- The pixels per inch to use when neither 96 nor 72 matches the program that drew the file.
- Curve tolerance
- How far the straight pieces may stray from the true curve. Smaller follows curves closer and makes a larger file.
- Layers by colour
- Gives each stroke or fill colour its own layer, so one colour can be cut and another engraved.
- Fills as outlines
- Writes the edge of a filled shape that has no stroke. Switched off, only the drawn lines are kept.
Questions
Why does my DXF import at the wrong size?
An SVG drawn in pixels has no real size, so it depends on how many pixels the drawing program counted per inch, 96 for most current programs and 72 for some older ones. The Preflight report says whether a DPI was assumed; set Source DPI to match the program that made it, and import with the same unit as Units.
How do I find open paths and double lines before cutting?
The Preflight report counts open paths, small gaps, duplicate and overlapping lines, and the outline preview draws open paths dashed with their ends ringed. Gaps of 0.1 mm or less, duplicates, overlaps, tiny segments and zero-length lines each have a one-click fix that redraws the outline at once. Removing an overlap means the shared line is cut once instead of twice.
What happens to text in my SVG?
Live text is not written to the DXF, because its letter shapes live in a font the file does not carry. The Preflight report lists each one. Convert the text to paths in your drawing program and add the file again.
Should I choose Compatible or Curves?
Compatible (R12) is the oldest and plainest kind of DXF, with every curve broken into short straight lines within the Curve tolerance. Curves (R2000) keeps true circles, arcs, ellipses and splines and records millimetres or inches in the file. In our tests both kinds pass an independent DXF audit at the expected size; we have not yet checked either in a cutting or CAD program.
Can this tool convert SVG to DWG?
No, it writes DXF only. DWG is the closed native format of one CAD vendor, while DXF is the exchange format meant for moving drawings between programs. If you need a DWG, open the DXF in your CAD program and save it from there.
Does my drawing leave my computer?
No. Your browser reads the SVG and writes the DXF itself, so the drawing is never sent anywhere. After the first conversion it keeps working without a connection.
Related tools
Limits
| SVG file | 20 MiB. A larger file is not converted and you are told why. |
|---|---|
| Several files | 200 files or 500 MiB at once. Files beyond that are listed as skipped. |
| Time | A single job is stopped after 60 seconds. |
| Browser | Needs Web Workers. Current Chrome, Edge, Firefox and Safari have them. |