Synaps

Architectural practice
without the compromise.

How to open a DXF file, and why it opens at the wrong size

Blog

4 December 2026 · Studio workflows · 11 min read

Hands type on a laptop whose screen shows a technical line drawing, in warm evening light.

Almost any CAD program will open a DXF file. The real problem is size, because the unit code inside the file is often missing or wrong. A viewer is enough for looking and measuring, and a browser drafting tool lets you keep working on it. The examples here are building drawings, not files for CNC or laser cutting.

Picture the surveyor's DXF of the existing house arriving on a Monday morning. The plan opens as a speck in the corner of the screen. The first dimension you take reads 6,000 m. Nothing is broken, and the fix starts before you open the file again.

Key takeaways

  • Pick the program by the job: look, measure, print, keep working on the drawing or convert it to DWG.
  • An ASCII DXF is plain text, so a text editor shows its unit code and format version before you open it.
  • Unit code 0 means unitless. A 6,000-unit edge is 6 m in millimetres and 152.4 m in inches.
  • Ask the sender for the units, an ASCII save, a format version you can read and a PDF.

What a DXF file is

A DXF file is a drawing written out so that a different CAD program can read it. Autodesk's AutoCAD LT 2026 help defines it as either a binary or an ASCII representation of a drawing file. For a studio, that means the sender's program has translated its own drawing into an exchange copy.

DXF is proprietary but openly documented, and Autodesk has maintained it since the documentation first appeared in 1982, as the Library of Congress format description records. That history is why a surveyor and an architect on different programs can still trade a plan.

Inside, the file is a long list of tagged values. Autodesk's DXF reference for AutoCAD 2026 calls the format a tagged data representation of all the information in an AutoCAD drawing file. Each data element is preceded by an integer number called a group code. In the test file shown further down, code 9 comes before each variable name.

The reference also says virtually all user-specified information in a drawing file can be represented in DXF format. What reaches your screen is a separate matter, because the receiving program decides what it reads. The overview of CAD file formats places DXF beside DWG, IFC and PDF.

Which program opens a DXF file, by job

The right program depends on what you need from the drawing next. Looking at a consultant's layout asks less of the software than drafting over a survey. Five jobs cover most of what a studio does with a received DXF.

JobWhat you needRoute
Look at the drawingA viewerDWG TrueView on Windows, or any CAD program
Measure a distanceA viewer with a measure toolDWG TrueView on Windows, or any CAD program
Print it or make a PDFA program that plotsA CAD program, or the sender's own PDF
Keep working on itAn editor that imports DXFA CAD program, or a browser drafting tool
Convert it to DWGA program that saves DWGOpen it in AutoCAD or AutoCAD LT and save as DWG

To keep working on the drawing, Synaps imports the DXF in the browser as editable drawing content and exports DXF, DWG or PDF.

For looking and measuring, DWG TrueView opens and views DXF files and reads distances. The viewer installs on Windows.

With an AutoCAD or AutoCAD LT seat in the office, use it. The AutoCAD LT 2026 help says to click Open in the File menu, then select DXF in the Files of type box.

Did the consultant send a DWG instead? The guide to opening a DWG file covers viewers, fonts and missing references for that format.

Read the units and version before you open it

An ASCII DXF is a text file, so you can read it before any CAD program touches it. Open the file in a text editor and look at the first lines. They form the header, and two values in it explain most wrong-size and refused-file problems. The figure shows the header of a test file, and the same reading works on yours.

The first 16 lines of a DXF in a text editor, with the version, unit code and metric flag lines marked.
The header of a 6,000 by 4,000 test rectangle. Line 8 gives the format version and line 12 the unit code.

The unit code

Find the line that reads $INSUNITS. Two lines further down sits a single number, the unit code. Autodesk's header reference for AutoCAD 2026 describes $INSUNITS as the default drawing units for AutoCAD DesignCenter blocks. The codes an architect is likely to meet are in the table.

Unit codeUnit
0Unitless
1Inches
2Feet
4Millimetres
5Centimetres
6Metres

Treat the code as the sender's statement of what one drawing unit means. The test file reads 4, so its 6,000-unit edge stands for 6,000 mm. A code of 0, or no $INSUNITS line at all, leaves the unit unstated.

A second header variable narrows the guess. $MEASUREMENT sets drawing units to 0 for English or 1 for metric. Metric still leaves millimetres, centimetres and metres open, so the unit code remains the value to trust.

When a DXF does not state its units, Synaps asks for the original unit on import and shows the conversion.

The format version

The header also names the format version, in the value under $ACADVER. The version list decodes it: AC1015 is AutoCAD 2000, AC1018 is AutoCAD 2004 and AC1021 is AutoCAD 2007. AC1024 is AutoCAD 2010, AC1027 is AutoCAD 2013 and AC1032 is AutoCAD 2018. Compare the value with the newest format your own program reads. A newer code than your program knows is the usual reason a file is refused.

ASCII or binary

The text editor reading works on ASCII files only. An ASCII DXF reads in a text editor and suits a wider range of applications. A binary DXF is significantly smaller and faster to work with.

A binary DXF begins with a 22-byte sentinel, so a text editor shows unreadable characters. ASCII is the more common of the two. When the header matters to you, ask for an ASCII save.

Open a DXF and keep working on it in Synaps

Looking and measuring is one job. Drafting over the surveyor's linework is another, and it needs an editor. Synaps is browser-based architectural design and drafting software, and a DXF comes into it as editable drawing content. The steps below follow the Synaps import guide.

  1. Open Import and choose Import a file.
  2. Select the DXF and wait for the drawing to appear.
  3. If Set the drawing units appears, choose the unit the original drawing used and click Use these units.
  4. If Import this drawing in 2D appears, choose how to handle objects at different heights.
  5. If Drawing imported appears, click View details.
  6. Choose Measure, then Distance, and compare a known length with the source.
  7. Select what you need, open Export and choose DXF, DWG or PDF.
The Set the drawing units dialog in Synaps for a unitless DXF, with Millimeters chosen and 1 drawing unit shown as 1 mm.
A DXF without units stops at this dialog, where you choose the unit the sender drew in.

The documentation example is a unitless 6,000 by 4,000 rectangle, imported here as millimetres.

An imported rectangle on the Synaps canvas with a measurement between its two top corners labelled 6 m.
The long edge of the example measured with Distance straight after the import.

New walls are drawn over the imported linework with the wall tool. The page on precise drafting in Synaps shows the drafting tools for that stage.

Conversion can change a drawing's appearance or omit specialised content. When a drawing is too detailed to import, export a smaller part from the CAD application and bring that in.

Why a DXF opens at the wrong size, empty or broken

Most DXF failures trace back to a choice made when the file was saved. The table pairs each symptom with its likely cause and a fix.

What you seeLikely causeFix
The plan is far too big or too smallThe unit code is missing or wrongSet the source unit on import, then measure a known length
A speck in one corner, or an empty screenThe drawing sits far from the originZoom to extents
The program refuses the fileThe format version is newer than the programAsk for a copy saved to an older version
Gibberish in a text editorThe file is a binary DXFOpen it in a CAD program, or ask for an ASCII save
Corners and arc ends do not meetToo few decimal places at saveAsk for a save with more decimal places
Lines sit in odd places in planObjects drawn at different heightsImport in 2D and keep the original file

Wrong unit

Units explain the 6,000 m dimension. The speck is the origin problem in the next section. A DXF stores plain numbers, and the unit code says what one of them is worth. Guess the unit wrong and every length in the drawing scales with the guess.

Bar chart of a 6,000-unit edge read in three units: millimetres 6 m, centimetres 60 m, inches 152.4 m.
One 6,000-unit edge under three unit readings. Inch factor from NIST Special Publication 811, Appendix B.8, read 4 December 2026, arithmetic ours.

A 6,000-unit edge is 6 m in millimetres and 60 m in centimetres. Read as inches it becomes 152.4 m, using the NIST conversion factor of 0.0254 m per inch. The foot factor on the same page puts it at 1,828.8 m. Read as metres, it is the 6,000 m from the surveyor's file.

In Synaps, choose the unit in Set the drawing units, or use Custom scale and enter the millimetres one drawing unit stands for.

Never guess the unit from how large the drawing looks on screen. Get it from the sender, then measure one length you already know.

Origin

A plan drawn far from the origin opens as a speck, or as an empty screen. Zoom to extents before you decide that the file is empty.

Newer version than your program

Check the $ACADVER value in the header against what your program reads. AutoCAD's SAVEAS prompts include a Version option, which specifies the product version to use for the saved DXF file. A sender on AutoCAD can therefore save a copy to an older format.

Precision

A DXF writes each coordinate as a number with a set count of decimal places. AutoCAD's save option takes from 0 to 16 decimal places, and the default is usually adequate. With too few places, arc ends and wall corners can stop meeting.

Heights

Some DXF files mix plan linework with objects drawn at different heights. A 2D import drops those heights, so lines can land on top of each other in plan. Keep the original file for anyone who needs the levels.

What to ask the sender for

Most of these problems are cheaper to prevent than to fix. Put four requests in the email that asks for the file.

  1. The unit the drawing was drawn in, stated in the email.
  2. An ASCII DXF, saved to a format version your program reads.
  3. More decimal places at save if corners arrive open.
  4. A PDF of the same drawing, as the record of how it should look.

The PDF shows the sender's intent when something goes missing in the exchange. If a PDF is all you ever receive, the guide to turning a PDF into DXF linework covers that route.

Check the drawing before you work on it

A drawing on screen is not yet a drawing you can build a scheme on. Run three checks before you draft over it.

  1. Measure one known length, such as a room width from the survey.
  2. Compare text, curves, fills and symbols with the sender's PDF.
  3. Look for empty areas where the PDF shows content.

In Synaps, Import details can name objects or print layouts that were left out.

Read that list beside the PDF before the first new line goes down.

Frequently asked questions

Can I open a DXF file without AutoCAD?

Yes. Most CAD programs read DXF, and a viewer covers looking and measuring. Editing needs a program that imports DXF.

How do I open a DXF file on a Mac?

Use a CAD program that runs on macOS, or a browser drafting tool such as Synaps. Read the unit code first, then import the file.

Should I ask for a DXF or a DWG?

Ask which format the sender's program writes natively, then ask what your own program reads. A DXF suits an exchange between two different CAD programs. The comparison of DWG and DXF goes through the cases one by one.

How do I turn a DXF into a DWG?

Autodesk's AutoCAD LT 2026 help says to convert a DXF to DWG by opening the file and saving it in DWG format. Confirm the units before you save, so the DWG does not inherit the wrong size.

When the next DXF opens as a speck on the screen, try Synaps for free. Import it in the browser, set the units and measure one wall.