Skip to content
MellowCAD

How-to

Edit a DXF file online

Edit a DXF file free in your browser with AutoCAD's commands, and save it as DXF again, AutoCAD R12 to 2018. Nothing to install, nothing uploaded.

or drop it here

It opens in the editor, in this browser: the file is not uploaded.

MellowCAD edits DXF files in your browser, with the commands, prompts and options of AutoCAD, typed in your language, and saves them as DXF again for AutoCAD and any program that reads them. The file is read on your computer: nothing is uploaded, and there is nothing to install and no account to make.

Edit it

Choose or drop a DXF above and it opens in the editor, or open one there with OPEN (Ctrl+O) or DXFIN. Then it is a drawing like any other:

  • Change it with MOVE, COPY, ROTATE, SCALE, STRETCH, TRIM, EXTEND, OFFSET or ERASE, and draw on it.
  • Fix its text and its layers with TEXTEDIT, LAYER, PROPERTIES and MATCHPROP.
  • Measure it with DIST and AREA.

What opens and what is left out is on the page about opening a DXF. As you work, the drawing is kept in this browser.

Save it as DXF

SAVEAS (Ctrl+Shift+S), SAVE and DXFOUT open Save Drawing As, as in AutoCAD: a file name, and a file type among AutoCAD 2018, 2013, 2010, 2007, 2004, 2000 and R12/LT2 DXF (DXFOUT opens on AutoCAD 2018 DXF). Tools ▸ Options… opens the DXF Options of Saveas Options:

  • Format: ASCII, the text most programs read, or BINARY.
  • Select objects: once the dialog closes, the command asks you to select objects, and the file holds only those.
  • Decimal places of accuracy (0 to 16): under 16, the command line warns, as AutoCAD does, and the coordinates, angles and text sizes are rounded to those places.

The file is downloaded, as everything saved here is (saving is not quite AutoCAD's). Ctrl+S saves the drawing in MellowCAD's own versioned format instead: keep a DXF with SAVEAS.

What the DXF holds

Every object MellowCAD has, written as AutoCAD writes it: lines, arcs, circles, ellipses, polylines with their widths and curve fits, 3D polylines, splines, single-line and multiline text, blocks with their attributes, dimensions with what each overrides of its style, hatches with their pattern, points, 2D solids, polygon meshes, and arrays as a block of their items. With them, each colour as it was, by its index or a true colour, the layers (on, off, locked) with their colour, linetype and lineweight, the drawing's linetypes, complex ones too, and each object's linetype scale, the text and dimension styles, the blocks, and the drawing's units and settings. Text keeps its characters: up to 2004 in the Windows code page AutoCAD uses, with an escape for the rest, and from 2007 in UTF-8.

What does not come back

  • What did not open is not saved. What MellowCAD has no object for yet — multilines, tolerances and the rest of that list — is counted on the command line when the file opens, and is not in the file you save. Keep the original.
  • 3D solids and regions are not written: the command line lists how many were left out.
  • An array's parameters are not written: AutoCAD opens the array as a block of its items. Nor is what a dimension overrides of its style that MellowCAD has no setting for, such as its colours.
  • R12 has no object for much of what came after it, so it converts it in silence, as AutoCAD does: an ellipse or a spline becomes a 3D polyline; a multiline text, a hatch, a leader, a multileader, a table, a region or a 3D solid, a block of what it draws; an XLINE or a RAY, a line across the drawing. Images and wipeouts are left out, and the names of layers, blocks and styles are written in capitals, 26 characters at most. A gradient is written as a fill of its area in the hatch's colour, its own colours lost, as AutoCAD writes it.
  • There is no thumbnail preview, and no DWG.

Start a DXF from scratch

To make a DXF without one to start from, open the editor, draw it, and save it with SAVEAS as a DXF file type. Getting started is the way in.

Questions

How do I edit a DXF file online?

Choose it or drop it at the top of this page: it opens in MellowCAD's editor, in your browser. Change it with AutoCAD's commands, then SAVEAS (Ctrl+Shift+S) or DXFOUT saves it as a DXF file again.

Is it free? Do I need an account?

It is free, with no account and nothing to install. The file is read on your computer and never uploaded.

Which DXF versions can I save?

AutoCAD 2018, 2013, 2010, 2007, 2004, 2000 and R12, in text (ASCII) or binary. Not DWG.

Will AutoCAD open the DXF I save?

Yes. Every kind of object MellowCAD writes, in every version and in text and binary, was opened by AutoCAD 2027 with no error found by its AUDIT.

Is anything lost when I save?

What did not open is not in the file you save: multilines, tolerances and the other objects the command line counted as the file opened. 3D solids and regions are not written either, and the command line lists them. Keep your original file.

Can I create a new DXF file from scratch?

Yes. Open the editor, draw, and save with SAVEAS, choosing a DXF file type.