# Open a DXF file online

> Open a DXF file free in your browser, with nothing uploaded: AutoCAD R12 to 2018, text or binary, with its layers, text, dimensions, hatches and blocks.

MellowCAD opens DXF files in your browser and draws them in its editor, where you can look around a drawing, measure it and change it with AutoCAD's commands, typed in your language. The file is read on your computer: nothing is uploaded, and there is nothing to install and no account to make.

## What opens

- **DXF from AutoCAD R12 to 2018**, the newest DXF format AutoCAD writes, in text (ASCII) or binary, made by AutoCAD or by another program. Its text keeps its characters: up to 2004 in the code page the file names, from 2007 in UTF-8.
- **Lines, arcs, circles, ellipses and polylines**, with their widths and their curve-fit and spline-fit forms, 3D polylines and splines, and points, drawn in the drawing's [point style](https://mellowcad.com/docs/commands/ptype.md), 2D solids, filled as FILLMODE says, 3D faces, polygon meshes, wipeouts, and construction lines and rays.
- **Single-line and multiline text**, leaders with their text, blocks with their attributes, linear, aligned, angular, radius and diameter dimensions with what each overrides of its style, and hatches, each with the pattern lines it holds, as AutoCAD draws it: a user-defined pattern or another program's too.
- **Each object's layer**, colour, by its index or as a true colour, linetype and its scale, lineweight, thickness and elevation, and the layers on, off or locked; a frozen layer opens off.
- **The drawing's linetypes**, drawn with their dashes, dots and gaps at the drawing's linetype scale, and the text of complex ones such as GAS_LINE.
- **The drawing's text and dimension styles**, and its units when they are millimetres, centimetres or metres.

## What is left out

When a DXF holds something MellowCAD has no object for yet, it opens the rest and says on the command line how many objects of each type it left out. Today that is:

- traces, polyface meshes and MESH objects;
- multilines;
- tolerances;
- 3D solids, regions and surfaces;
- ordinate and arc length dimensions.

What is in a layout is counted apart, as there are no layouts yet: a drawing whose objects are all in its layouts opens empty.

Some things open, but not quite as they were:

- The shapes of complex linetypes such as BATTING or ZIGZAG are not drawn, only the dashes and gaps around them.
- ByBlock opens as ByLayer, and what a dimension overrides of its style that MellowCAD has no setting for, such as its colours, is dropped.
- A drawing in inches or feet keeps its numbers, read as millimetres.
- Text is drawn with Arial's measures, whatever font its style names, without its width factor or obliquing.
- An external reference keeps its place and its path, drawn as AutoCAD draws one whose drawing it cannot find: `Xref` and the path at its insertion point. A page reads only the file it is given, never the drawings beside it; saved as DXF again, the reference is kept.
- An image keeps its place, its size and its file's path, drawn as AutoCAD draws one whose file it cannot find: its frame, as IMAGEFRAME shows it, and the path across it. Saved as DXF again, the image is kept.
- A table keeps its rows, columns, cells and style, drawn from them as AutoCAD draws one: each cell's text at its alignment, a block in a cell fitted to it. Saved as DXF again, the table is kept.
- A multileader keeps its leaders, its text or block and its style, drawn from them as AutoCAD draws one: each leader with its arrowhead and its landing. Saved as DXF again, the multileader is kept.

## Open it in the editor

In the editor, a DXF opens as a drawing does: `OPEN` (`Ctrl+O`) offers drawings and DXF files, as AutoCAD's Select File does, and `DXFIN` DXF files alone. A file opened from this page or with `OPEN` takes the place of the drawing in the editor, so keep yours first with `Ctrl+S`: there is [one drawing at a time](https://mellowcad.com/docs/differences.md#one-drawing).

## Edit it and keep it

Once open, a DXF is a drawing like any other: measure it with `DIST` and `AREA`, change it with `MOVE`, `TRIM` or `OFFSET`, and draw on it. It is kept in this browser as you work, and `Ctrl+S` saves it as a file in MellowCAD's own versioned format. `SAVEAS` (`Ctrl+Shift+S`) and `DXFOUT` save it as a DXF again, AutoCAD 2000 to 2018, text or binary: [editing a DXF online](https://mellowcad.com/docs/edit-dxf.md) tells how, and what the file keeps. DWG files are not there yet.

## Questions

### How do I open a DXF file without AutoCAD?

Choose it or drop it at the top of this page: MellowCAD opens it in its editor, in your browser, with nothing to install and no account. In the editor, `OPEN` (`Ctrl+O`) and `DXFIN` open one too.

### Is my DXF file uploaded?

No. Your browser reads the file and hands it to the editor on this device; it is never sent to a server.

### Can I open a DWG file?

Not yet. Save it as DXF in the program that made it (in AutoCAD, `SAVEAS` with a DXF file type) and open that.

### Can I save my changes as a DXF file?

Yes. `SAVEAS` (`Ctrl+Shift+S`) or `DXFOUT` saves the drawing as a DXF of AutoCAD 2000 to 2018, text or binary, which AutoCAD opens. 3D solids and regions are left out, and the command line says so. [Editing a DXF online](https://mellowcad.com/docs/edit-dxf.md) tells more.

### Why are some objects missing?

What MellowCAD has no object for yet, such as multilines, tolerances or 3D solids, is left out, and the command line says how many of each type as the file opens. What is in a layout is counted apart: there are no layouts yet.
