How-to guide · how to convert dxf to dwg
How to convert a DXF to DWG
By Sumana Kumar · Published 5 Jul 2022 · Updated 13 Aug 2024
Going the other way — from DXF back to DWG — is what you do when someone hands you an interchange file and you want AutoCAD's compact native format to work in. A DXF you received from a machine shop, a vector editor or a different CAD package will open fine in AutoCAD, but saving it as DWG gives you a smaller file, faster opening and the full feature set for ongoing drafting.
There are three reliable routes depending on what software you own: AutoCAD's own SAVEAS, the free ODA File Converter when you have no AutoCAD at all, and a free alternative CAD program like DraftSight or BricsCAD. This guide walks all three so you can use whichever you have to hand, and flags the version choice that keeps the resulting DWG widely openable.
Method 1 — In AutoCAD with SAVEAS
If you have AutoCAD, this is the cleanest path. Open the DXF directly — AutoCAD reads DXF natively, so File > Open and selecting the .dxf works exactly like opening a drawing. Once it is on screen, type SAVEAS and choose 'AutoCAD Drawing (*.dwg)' from the 'Files of type' dropdown.
Pick the DWG version in that same dropdown. 'AutoCAD 2018 Drawing' keeps everything current, but if you might share the file with people on older software, choose 'AutoCAD 2004 Drawing' or '2007' for the widest compatibility — these open in nearly every release still in use. Name the file, click Save, and you have a native DWG with all the layers, blocks and text intact.
Method 2 — Free, with the ODA File Converter
No AutoCAD? The ODA File Converter from the Open Design Alliance is free and purpose-built for exactly this. Install it, then point 'Input folder' at the folder holding your DXF and 'Output folder' at where you want the DWG. Set 'Output version' to a sensible DWG release (ACAD 2004 or 2007 for broad compatibility) and 'Output file type' to DWG.
Click Convert and it processes every DXF in the input folder at once, which makes it ideal when you have a batch of files rather than one. The conversion is faithful — the ODA libraries are what many CAD programs use under the hood to read and write DWG in the first place — so layers, blocks and geometry come through cleanly.
Method 3 — In DraftSight, BricsCAD or LibreCAD
Free and low-cost AutoCAD alternatives all read DXF and write DWG. In DraftSight or BricsCAD, open the DXF, then use Save As and choose the DWG format and version. LibreCAD and QCAD can also open a DXF and export DWG, though their DWG support is more limited and is best for simpler 2D drawings.
This route is handy when you are already working in one of these programs and don't want to install anything extra. The same version advice applies: pick an older DWG release if the file will be shared, a current one if it stays in your own modern toolchain.
Choosing the right DWG version
DWG is versioned, and a newer DWG will not open in much older software. When you save the converted file, the version dropdown is where you control that. If the DWG is only for your own current AutoCAD, the newest version is fine. If you don't know what the recipient runs, AutoCAD 2004 or 2007 DWG is the pragmatic choice — it has been readable by every mainstream release for years and covers almost all real-world situations.
There is no quality penalty for saving to an older DWG version with ordinary 2D drawings; you only lose features introduced in later releases, which most block and part files never use. When in doubt, older is safer.
Checking layers and blocks survived
After converting, open the new DWG and confirm the structure came across. Run LAYER and check the layer names and colours match what you expected — a well-made DXF preserves these, and seeing them intact tells you the conversion was clean. If the source DXF contained block references, they should still be blocks in the DWG; type INSERT and look for them in the block list.
Text is the usual place to find surprises, because DXF may reference fonts your machine does not have, prompting a substitution. If text looks wrong, set the text style to an available font, or accept the substitution if appearance does not matter for your use. Geometry itself — lines, arcs, circles, polylines — transfers reliably, so the visual shape of the drawing should be identical.
When to convert, and when to leave it as DXF
Not every DXF needs converting. If you are only viewing the file, or feeding it straight into another program that prefers DXF, converting to DWG buys you nothing and adds a step. The conversion earns its place when the file becomes something you'll actively draft in: a base you'll build on, a block you'll add to your library, or a drawing you'll edit and re-edit. DWG's compact binary structure opens faster and keeps the file smaller through all that editing, and it gives AutoCAD its full native feature set to work with.
The practical rule: convert to DWG when the file is joining your CAD workflow for the long haul, and keep it as DXF when it's just passing through. If you received a DXF specifically because someone exported it for portability, and you intend to send it on to a machine or a third program, leave it as DXF — re-converting back and forth only risks losing a little fidelity each round trip for no benefit.
Free download
Browse the full library — DWG & DXF, no signup.
Questions
Frequently asked
Can AutoCAD open a DXF directly?+
Yes. AutoCAD reads DXF natively — File > Open and select the .dxf, exactly as you would a DWG. Once it is open, SAVEAS to DWG completes the conversion with no third-party tool needed.
How do I convert DXF to DWG without AutoCAD?+
Use the free ODA File Converter from the Open Design Alliance — set input and output folders, choose DWG as the output type and a version, and convert. Free CAD apps like DraftSight, BricsCAD and LibreCAD can also open a DXF and save it as DWG.
Which DWG version should I save to?+
If the file stays in your own current AutoCAD, the newest version is fine. If you might share it, save to AutoCAD 2004 or 2007 DWG, which opens in nearly every release still in use and rarely causes compatibility problems.
Will my layers and blocks survive the conversion?+
Yes, a well-formed DXF preserves layers and block references and they come through intact. Geometry transfers reliably; the one thing to check is text, which can change font if the original references a typeface your machine lacks.
Related downloads
Blocks for this guide
Popular blocks to download
Related categories
Related guides
How-to guide
How to Create a Block in AutoCAD (BLOCK & WBLOCK)
Learn how to create a block in AutoCAD with the BLOCK and WBLOCK commands — pick a base point, choose objects, set units, and save a reusable DWG block library.
How-to guide
How to Convert DWG to DXF in AutoCAD
Convert a DWG to DXF in AutoCAD with SAVEAS — choose the right DXF version, set precision, and export clean geometry for laser cutters, CNC and other CAD apps.
How-to guide
How to Open a DWG File Without AutoCAD
Open a DWG file without AutoCAD using free viewers and CAD apps — Autodesk's online viewer, DWG TrueView, DraftSight and LibreCAD. Windows, Mac and browser.

