# DXF in SVG

> Per laser e plotter da taglio, Inkscape, Illustrator, Figma o una pagina web: l'SVG ha la larghezza e l'altezza reali del disegno e un gruppo per ogni layer. Gratis, senza registrazione.

Human page: https://unmakelabs.com/it-it/convertire-dxf-in-svg/. This is the version for AI agents.

## What it does

Convertire DXF in SVG a misura reale, con tutti i layer. Per laser e plotter da taglio, Inkscape, Illustrator, Figma o una pagina web: l'SVG ha la larghezza e l'altezza reali del disegno e un gruppo per ogni layer. Gratis, senza registrazione.

## Perché SVG

SVG è il formato vettoriale del web e dei programmi di grafica. I software di taglio per laser, plotter e plotter da taglio vinile (LightBurn, Glowforge, Cricut Design Space, Silhouette) e i programmi di disegno (Inkscape, Illustrator, Affinity, Figma) lo leggono tutti, e i browser lo mostrano direttamente. Passare da DXF a SVG è il modo più comune per portare un disegno CAD in questi programmi senza una licenza CAD.

## Misura reale, layer per layer

Se il DXF indica la sua unità ($INSUNITS), l'SVG riceve larghezza e altezza in millimetri, quindi un pezzo di 120 mm viene importato a 120 mm. Un'unità SVG corrisponde a un'unità del disegno. Ogni layer CAD diventa un gruppo con il suo nome, colori e tipi di linea tratteggiati vengono mantenuti e i retini vengono scritti come le effettive linee del motivo.

## Facts

- **Output:** SVG 1.1, un gruppo per layer
- **Dimensioni:** Larghezza e altezza reali in mm se l'unità è nota
- **Mantenuti:** Colori, tipi di linea, retini, testi, quote
- **Verifica:** L'SVG viene riletto e ne vengono contati tracciati, testi e layer

## How a person does it

1. **Apri il DXF.** Trascinalo, selezionalo o incolla un link. Controlla l'unità nel pannello; se il file non la indica, imposta mm o pollici in "Unità del disegno".
2. **Scegli cosa tenere.** Disattiva i layer che non vuoi nell'SVG (quote, testi, linee di costruzione). Per un solo colore di taglio, spunta Solo linee nere; lascialo disattivato per mantenere i colori dei layer, che LightBurn usa per separare taglio e incisione.
3. **Converti e importa.** Clicca su Converti in SVG. Il file viene riletto e la pagina mostra le dimensioni e quanti tracciati, testi e layer contiene; importalo nel software di taglio o di grafica al 100%.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/convertire-dxf-in-svg/?src=https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=cx,cy,width&lay=1&off=Layer1|Layer2&bg=light&u=mm` (view centre and width in drawing units, layout index, hidden layers, background dark or light, unit override).

Embed: `<iframe src="https://unmakelabs.com/embed/cad/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: DXF version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check (each dimension's printed value against the distance between its own points), plus a PNG render. POST /v1/dxf_render/jobs adds SVG and PDF per layout; a DWG file goes through dwg_to_dxf (returns the DXF plus the same renders). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf"}'
```

## Good to know

Archi e cerchi vengono scritti come polilinee fini (72 segmenti per cerchio completo), che ogni macchina da taglio segue senza scatti; alcuni programmi preferiscono archi veri e possono mostrare più nodi. Il testo resta testo, in un font sans-serif; convertilo in tracciati in Inkscape o Illustrator se la tua macchina ha bisogno di contorni.

## Not done by this tool

- Scrive gli archi come polilinee fini, non come comandi arco SVG
- Non converte il testo in contorni (fallo in Inkscape o Illustrator)
- Non unisce linee separate in forme chiuse
- Non converte ancora i file DWG

## Value

Opens ASCII DXF drawings (R12 to 2018) in any browser, phones included: model space and paper layouts with viewports, layers, blocks, text, MTEXT, dimensions, leaders, hatches with their patterns and linetypes; measures distance and area with vertex snapping in the file's units ($INSUNITS); checks every linear, aligned, radius and diameter dimension's printed value against its definition points; exports vector PDF (A4-A0, Letter, Tabloid), real-size SVG with one group per layer, and PNG, each read back by the program after export. Free, no sign-up.

## When it fits

- A user has a DXF (from AutoCAD, BricsCAD, LibreCAD, QCAD, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape or CAM software) and no CAD program, and wants to look at it, read its title block, switch layers or layouts, or measure a distance or an area.
- A user needs a DXF as a PDF to print or send, as a real-size SVG for a laser or vinyl cutter, Inkscape or Illustrator, or as a PNG picture.
- A user wants to know a drawing's units, size, layers, block names, or whether its dimension values match the geometry.

### When not

- DWG files in the browser: the viewer opens DXF (the page explains how to save one). For agents, DWG to DXF runs on our server today (POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/dwg_to_dxf/jobs).
- Binary DXF, 3D solids (ACIS), raster images, external references, editing drawings.
- 3D meshes and CAD solids such as STEP, STL, GLB, OBJ: use the 3D file viewer.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a DXF from a public link in any browser (?src=) and can be embedded in a page (/embed/cad/), with layers, layouts and the view carried in the link.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same facts as JSON (version, units, layouts, layers, blocks, checked dimensions) plus a PNG render; POST /v1/dxf_render/jobs adds SVG and PDF.
- Online viewers such as ShareCAD put measuring behind a paywall; desktop viewers need an install; Autodesk Viewer needs an account.
- This viewer needs no install or account, measures with snapping, checks dimension values against the geometry, and exports vector PDF, real-size SVG and PNG, free without limits, ads or sign-up.

### What rebuilding it would take

- Write a DXF reader for twenty-odd entity types (POLYLINE/LWPOLYLINE bulges, SPLINE NURBS, HATCH boundary paths and pattern lines, MTEXT inline codes, MULTILEADER context data, nested INSERT transforms and attributes, OCS extrusion), layouts and viewports, ByLayer/ByBlock colour and linetype rules and code pages.
- Build a renderer that stays fast on large plans and phones, plus three exporters (PDF, SVG, PNG) that match the screen and are verified after export.
- Add snapping, unit handling and a dimension check.
- Real DXF samples from many CAD programs and versions to test against, and upkeep as writers and browsers change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer, measuring and PDF/SVG/PNG export work for DXF in the browser. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for DXF and DWG files (dxf_render, dwg_to_dxf)._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- For PDF export only, the page loads one extra program from a public code host, which receives the visitor's IP address for that request.

## Data

Si apre nel browser e il file resta sul tuo dispositivo, a meno che tu non lo condivida. I file condivisi vengono conservati 30 giorni.

## FAQ

- **L'SVG avrà la misura giusta nel mio software per il laser?** Sì, se il DXF indica la sua unità: in quel caso l'SVG ha larghezza e altezza in mm. Importalo al 100% (LightBurn, Inkscape e Illustrator leggono le misure in mm). Se il file non ha un'unità, impostala in "Unità del disegno" prima di convertire.
- **I layer vengono mantenuti?** Sì: ogni layer CAD diventa un gruppo SVG con il nome del layer nell'id e un attributo data-layer. I layer che disattivi nel visualizzatore vengono esclusi.
- **Posso ottenere solo i contorni da tagliare?** Disattiva i layer con quote, testi e assi, spunta Solo linee nere se la tua macchina vuole un solo colore (lascialo disattivato per separare taglio e incisione per colore), poi converti. Quello che vedi a schermo è quello che finisce nell'SVG.
- **Perché dice che l'unità è "non impostata"?** Un DXF memorizza numeri, non millimetri o pollici. L'unità si trova in un valore dell'intestazione ($INSUNITS) che molti programmi lasciano a 0. Il visualizzatore mostra allora le lunghezze in unità del disegno e ti indica cosa suggeriscono le altre impostazioni del file (metrico o imperiale). Scegli mm, cm, m, in o ft in "Mostra lunghezze in" e tutte le dimensioni e misurazioni si adeguano.
- **È davvero gratis?** Sì: niente pubblicità, nessuna registrazione e nessun piano a pagamento per visualizzare, misurare o esportare.
- **Caricate il mio disegno?** Solo se lo condividi. Un file condiviso viene conservato 30 giorni perché il link funzioni, e puoi eliminarlo quando vuoi. I dettagli sono nella sezione “Cosa succede al tuo file”.
- **Il mio agente AI può leggere i file DXF?** Sì. Gli agenti chiamano POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect con il link o l'upload di un DXF o DWG (senza chiave) e ricevono come dati versione, unità, layout, layer, blocchi, quote verificate e un'immagine. Un agente può anche aprire qualsiasi DXF pubblico in questo visualizzatore tramite link: basta aggiungere a questa pagina ?src= e l'indirizzo del file.
- **Chi c'è dietro?** Unmake Labs (Julien Salomon). Contatto: hello@unmakelabs.com.

## Related pages

- [Visualizzatore DXF](https://unmakelabs.com/it-it/visualizzatore-dxf-online/)
- [DXF in PDF](https://unmakelabs.com/it-it/convertire-dxf-in-pdf/)
- [DXF in PNG](https://unmakelabs.com/it-it/convertire-dxf-in-png/)
- [Misurare un DXF](https://unmakelabs.com/it-it/misurare-dxf-online/)
