DXF file won't open in AutoCAD or a CAD viewer (invalid or damaged)
Last reviewed 2026-09-19
A text DXF is a long list of code-and-value line pairs. If a line is lost or a value is not a valid number, everything after it is read out of step and the reader gives up. Files exported by scripts, older programs or cut off by a crash are typical.
Messages you might see
- “Invalid or incomplete DXF file”
- “AutoCAD reports errors and stops reading the drawing”
- “Drawing opens but parts are missing”
Why it happens
- The file was cut off before its ENDSEC or EOF markers.
- Broken pairing of codes and values from an edit or transfer error.
- Entities with missing or non-numeric coordinates.
Try this first (free, no tool needed)
- Try opening it in another CAD viewer or importing it with a different tool.
- In AutoCAD try the RECOVER command instead of a normal open.
- Check that it is a text (ASCII) DXF; binary DXF and DWG are different formats.
If that didn't work
These tools run in your browser. Your file is read and repaired on your own device and is never uploaded.
Broken DWG/DXF Repair
Re-reads the group-code pairs, skips lines that broke the pairing, validates values against their group codes, rebuilds SECTION/ENDSEC/EOF, drops unusable entities (missing or non-numeric coordinates, zero radius) and corrects LWPOLYLINE vertex counts. Text DXF only; DWG and binary DXF are not supported, and severely damaged drawings may come back partial.
Open Broken DWG/DXF RepairCommon questions
Can it repair a .dwg file?
No. Only text (ASCII) DXF files are supported.
Is my file uploaded anywhere?
No. The tool runs as a program inside your own browser, so the file is read and repaired on your device and never sent to a server.