DXF converter online
Open a DXF in this tab and export it as SVG, PNG or PDF — or go the other way and turn an SVG into a DXF. Layers, units and the entities that could not be drawn are all listed, not hidden.
This DXF converter runs both directions of the job in the browser tab you are reading. Drop a DXF and the page reads its group codes, expands every block reference, draws the result on a canvas you can pan and zoom, and exports it as SVG, PNG or PDF. Switch the direction and it goes the other way: an SVG is flattened to polylines at a tolerance you set and written out as an R12 or R2000 DXF with a layer table and a declared drawing unit. Nothing is queued, nothing is uploaded, and nothing is quietly dropped — the entity table on screen counts every entity type in the file and marks the ones this renderer does not draw, with the reason.
Key facts about DXF converter online
| Directions | DXF → SVG, DXF → PNG, DXF → PDF, and SVG → DXF |
|---|---|
| Reader | dxf-parser 1.1.2 (MIT), reading ASCII DXF group codes |
| Entities drawn | LINE, LWPOLYLINE, POLYLINE, CIRCLE, ARC, ELLIPSE, SPLINE, POINT, SOLID, 3DFACE, TEXT, MTEXT, INSERT |
| Block references | INSERT is expanded in place, including rectangular arrays, nested up to 8 levels deep |
| Entities reported, not drawn | HATCH, DIMENSION, LEADER, IMAGE, WIPEOUT, 3DSOLID, REGION, MESH, VIEWPORT, XLINE, RAY |
| Units | $INSUNITS codes 0–20 are read; code 0 (unitless) is flagged rather than assumed to be millimetres |
| Colour | layer colour, entity ACI index and 24-bit true colour are all read; ACI 7 is drawn as dark ink on the white page |
| Input caps | 20 MB for a DXF, 10 MB for an SVG, 400,000 drawn paths per drawing |
| Measured speed | a 13.6 MB DXF holding 160,000 entities parses in about 0.3 s and redraws in about 0.2 s on a current laptop |
| Writer output | R12 (AC1009) with POLYLINE/VERTEX, or R2000 (AC1015) with LWPOLYLINE |
| Refused by name | binary DXF and DWG are detected from their first bytes and rejected with an explanation, not parsed into an empty drawing |
| Account, install, watermark | none of the three — no signup, no extension, no mark on the output |
What happens to your file
The DXF or SVG you drop is read with the File API inside this tab and parsed by JavaScript that is already part of the page. There is no upload, no job queue and no server: the only network traffic the conversion causes is the page's own JavaScript chunk arriving from toolchamp.app the first time you open the tool. The drawing lives in this tab's memory as a parsed object and a list of path commands; the SVG, PNG and PDF are built from that same list and handed to the browser as a blob URL that the download link consumes. Close or reload the tab and every trace of the file is gone — there is nothing on a disk anywhere to delete, and no copy for anyone to ask for.
About this tool
- 1
Pick the direction
The switch at the top chooses between reading a DXF (out to SVG, PNG or PDF) and writing one (in from an SVG). It changes the whole panel, so set it before you drop the file.
- 2
Drop the file
Drag it onto the box or click to browse. A DXF is parsed straight away and the stats row fills in with the entity count, the layer count, the declared unit and the drawing's extents.
- 3
Read the entity table
If the warning strip appears, it lists every entity type that was counted in the file but not drawn, and why. That is your cue to explode dimensions or hatches in CAD before converting.
- 4
Turn layers off
Each layer is a toggle showing its colour and its entity count. Hidden layers disappear from the preview and from every export, which is the quickest way to get a cut path out of a fully annotated drawing.
- 5
Choose the output and its settings
SVG offers real size or a pixel width, PNG offers a DPI, PDF offers a sheet size and a 1:1 or fill-the-page scale. Each panel explains what the setting does to the file.
- 6
Download
The file is built in the tab and saved by the browser. The banner underneath reports the finished size and dimensions, plus anything the format could not carry — such as characters the standard PDF font cannot encode.
| Input formats | ASCII DXF (any version dxf-parser reads, R12 through 2018) and plain SVG |
|---|---|
| Output formats | SVG 1.1, PNG (8-bit RGBA), PDF 1.7, DXF R12 and R2000 |
| Maximum DXF size | 20 MB — roughly 1.4 million group-code lines, all held in memory at once |
| Maximum PNG output | 16,384 px on a side and 40 megapixels, the ceiling browsers place on a canvas |
| Maximum PDF page | 5,080 mm (200 inches) per side, the PDF format's own limit |
| Curve accuracy | arcs, circles and ellipses become cubic Béziers with a radial error below 0.0003 × radius |
| Browser support | any current Chrome, Edge, Firefox, Safari or Opera with Path2D and canvas.toBlob |
| Offline | works with the network off once the page and its chunk have loaded |
| Batch | one drawing at a time — the preview, the layer list and the export options are all per-file |
- If a drawing opens blank, check the extents in the stats row: a stray entity at coordinate 10,000,000 will squeeze everything else into a single pixel. Hide the layer it sits on and the view rescales.
- Set $INSUNITS in your CAD before exporting. A DXF with unit code 0 carries bare numbers, and every downstream program has to guess the scale — including this one, which says so rather than guessing.
- For a cut file, switch the colour mode to black only. Many laser drivers key on stroke colour, and a drawing that inherits half a dozen ACI colours becomes half a dozen power settings by accident.
- SPLINE entities are sampled into polylines. If a spline-heavy drawing looks faceted at high zoom, export it from CAD with the splines already converted to arcs or polylines.
- When you need the same drawing as both a picture and a cut path, export the PNG for the documentation and the SVG for the machine — the SVG keeps curves as curves, the PNG does not.
- Going SVG → DXF, drop the curve tolerance before you decide the result is too coarse: 0.05 mm is usually invisible, 0.5 mm shows as flats on a small radius.
- Both directions in one page: DXF out to SVG, PNG or PDF, and SVG in to DXF
- Pan-and-zoom canvas preview drawn from the same geometry that gets exported
- Per-layer visibility toggles with live entity counts
- A counted list of every entity type the renderer does not draw, with the reason
- $INSUNITS read and reported, with unitless files flagged instead of assumed
- R12 and R2000 output with a real layer table
- Getting a supplier's DXF onto a page you can email, by exporting it as a 1:1 PDF on a named sheet size.
- Pulling one cut layer out of a fully dimensioned drawing without opening a CAD seat.
- Turning a logo drawn in Inkscape into a DXF a laser cutter's software will accept.
- Checking what is actually inside a DXF a client sent — which layers, which entity types, which units.
- Producing a PNG of a drawing for a build log, a quote or a wiki page.
- Rescuing geometry from a DXF on a machine where the CAD licence has expired.
Related tools
View allWorks well with this5
More in Data & Dev12
Updated