Drag files or click to select
Convert files online
Drag files or click to select
Convert files online
What is DGN to DXF conversion?
DGN to DXF conversion turns a proprietary Bentley engineering drawing into an open exchange file supported by virtually every modern CAD system and by most computer-numerical-control machines on the shop floor. During the conversion the source content - lines, arcs, circles, complex chains, B-splines, multi-lines, hatches, dimensions, text labels, cells, and referenced files - is rewritten into DXF while preserving the geometry, the level structure, the colour assignments, the scale and the units. The resulting file becomes readable in any compatible program, transmissible to a contractor running a different toolchain, and loadable into shop-floor equipment such as laser cutters, plasma tables and milling centres.
DGN is the native binary format of the Bentley CAD ecosystem. It is the working format of infrastructure and engineering bureaus where roads, railways, bridges, tunnels, metro lines, airports, hydraulic structures, oil and gas facilities, dams, large master plans and land management documents are designed. A DGN file stores the drawing together with levels, geometry elements of many kinds, cells (the Bentley equivalent of blocks), multi-lines, hatches, dimensions, text, referenced files, custom coordinate systems and frequently a binding to geographic coordinates. Two main branches of the format exist: the legacy V7 and the modern V8 / V8i, which differ in internal structure and feature set. A signature feature of DGN is that a single file can contain several independent models, each with its own geometry and its own coordinate system. Native work with DGN requires a Bentley environment, which is a real barrier for anyone who uses a different CAD package.
DXF is an open exchange format developed by Autodesk for moving drawings between different CAD programs. It comes in two flavours: a human-readable ASCII variant and a binary variant. The ASCII variant is widely used and makes it easy to integrate the format with scripts and custom systems. The DXF structure is divided into clearly defined sections: a header, classes, tables (layers, line types, text styles, dimension styles, views, viewports, layouts), a blocks table containing nested element definitions, an objects section and an entities section. Every line, arc, circle, polyline, hatch and piece of text is encoded as a separate entity with coordinates, attributes and a layer reference. Thanks to its open published specification DXF is supported by thousands of programs - from professional CAD systems and engineering suites to machine-tool controllers, laser cutters, plasma and water-jet tables, milling centres and plotters.
Converting DGN to DXF turns the closed Bentley working file into universal exchange material. Once converted, the drawing can be opened in any vendor's CAD system, sent to production, handed over to a land surveying or cadastral department, imported into engineering analysis suites or loaded directly into a CNC machine. The receiving side sees the same geometry as the author. This removes the dependence on a specific software product and broadens the circle of participants who can work with the drawing without requiring a particular CAD environment.
Comparing DGN and DXF
| Characteristic | DGN | DXF |
|---|---|---|
| Ecosystem | Bentley, infrastructure design | Autodesk and compatible CAD, cross-industry exchange |
| Data type | Binary working source | Text (ASCII) or binary, exchange format |
| Standard | Closed, proprietary | Open, published specification |
| Cross-CAD compatibility | Limited, requires import filter | Native support by thousands of programs |
| CNC machine support | Through additional export step | Direct, no intermediaries |
| File size | Compact for its geometry | Larger in ASCII representation |
| Multi-model capability | Several models in one file | One model plus layouts |
| Levels and layers | Levels with numeric IDs and names | Layers with names, colours and state |
| Cells and blocks | Cells with complex structure | Blocks with nested entities |
| Geographic binding | Native coordinate systems | Limited, units and metadata |
| Versions | V7, V8, V8i | R12, R14, 2000, 2004, 2007, 2010, 2013, 2018, 2023 |
| Suitability for production | Via extra export step | Direct on machines and cutters |
| Suitability for archiving | Depends on version support | Open specification, durable |
| Suitability for scripts | Only via special libraries | Parseable with ordinary text tools |
| Mobile viewing | Difficult, special software needed | Free viewers, web tools |
The fundamental difference lies in purpose. DGN remains the working source of an infrastructure bureau, the file in which the drawing is created, refined and approved inside its own software ecosystem. DXF becomes the universal document for exchange with the outside world: contractors using other CAD systems, machines on the shop floor, land surveying and analysis programs, long-term archives. When you convert DGN to DXF you move from a closed working source to open exchange material ready for handover into adjacent industries and ready to be loaded onto equipment that does not have a native import filter for the Bentley format.
When to use DXF instead of DGN
Exchange between Bentley and Autodesk environments
Large projects frequently combine different CAD ecosystems: the infrastructure bureau maintains documentation in Bentley while adjacent contractors (architects, structural engineers, MEP designers) work in Autodesk-based environments. Sending a DGN directly to a recipient who has no Bentley software runs into compatibility problems: the other side's import filter may skip or simplify portions of the content, especially complex cells, multi-lines and multi-model assemblies. Converting DGN to DXF solves the task more cleanly. The open DXF specification is supported by every major CAD system, and the receiving party opens the drawing without back-and-forth about versions or additional licences.
Handover to non-Autodesk CAD systems
Mechanical engineering, land surveying, hydraulic and geodetic departments often run on specialised CAD packages that belong neither to the Bentley nor to the Autodesk ecosystem. For such programs DXF is the most predictable input format: DXF import is implemented practically everywhere, while native DGN reception is far less common. By turning a DGN source into DXF the engineer broadens the range of possible recipients and shortens the time spent agreeing on file formats.
Loading geometry into CNC machines
DXF is one of the most widely used formats for laser cutters, plasma tables, water-jet machines, milling centres, press brakes and engraving machines. Controller software from different manufacturers generally reads DXF directly, without intermediate conversion. If the outline of a part or an infrastructure element - an anchor plate, a bracket, a support, a railing fragment - was designed in a Bentley environment, converting DGN to DXF turns the working drawing into a production-ready file. The operator only has to load the DXF, nest the contours on a sheet, set the cutting parameters and start the machine.
Transfer to engineering analysis tools
Engineering analysis programs - finite element method, hydraulic and thermal solvers, strength and stability calculators - frequently accept drawing geometry through DXF. The trace of a road, a section of a structure, the schematic of a pipeline or the contour of a support is transferred as flat geometry in DXF, after which the analysis program builds a mesh on top of it, applies boundary conditions and runs the computation. Direct import of DGN into engineering suites is rare, so DXF becomes the natural intermediary between the design bureau and the analysis department.
Land surveying and cadastral work
In land surveying, cadastral work and geomatics, DXF has historically established itself as the format of exchange with state systems and with adjacent contractors. Topographic surfaces, boundary plans, plot layouts, situation drawings and overview maps are exchanged far more often as DXF than as DWG or as the native Bentley format. If an infrastructure bureau develops its project in DGN, the integration with surveying and cadastre typically requires a DXF output anyway.
Archiving drawing geometry in an open standard
Long-term storage of drawings is a separate engineering task. A closed format is tied to a specific software product, and there is no way to predict whether in twenty years the organisation will still have a Bentley environment capable of opening the archive file. DXF, with its open published specification, is more resilient to changes in the software landscape: even if a particular company changes its policy, the specification remains accessible, and the drawing can be read and converted when needed. Industry archive requirements increasingly include the delivery of project documentation in DXF in addition to the working DGN.
A chain of contractors with different CAD systems
A large infrastructure project involves dozens of participants: the general designer, sub-contractors for individual sections, surveyors, expert review bodies, supervising authorities and the eventual operating organisation. Unifying them into a single software environment is unrealistic - each has its own toolset and preferences. DXF acts as the connective tissue: every participant accepts geometry as DXF, processes its own section and, when needed, returns the result back into the common model. Converting DGN to DXF at the boundaries between sections relieves tension and accelerates approvals.
Hand-off to specialised software
Programs for land management, hydrogeology, forestry management, land reclamation, master planning and many other narrowly focused suites accept DXF as their standard input format. If a Bentley-based engineering bureau ships its output as DGN, integration with adjacent specialists will require DXF. The conversion makes the drawing suitable for further work in those programs without redrawing and without geometric loss.
Technical aspects of conversion
Mapping levels to DXF layers
Levels are one of the key organising elements of a DGN drawing. Each level is characterised by a numeric identifier, a name, a colour, a line type, a weight and a set of state flags (visibility, freezing, locking). During conversion to DXF the levels are mapped onto layers: the level name becomes the layer name, the colour and line type are converted into DXF table equivalents, and the visibility state is preserved. If the source DGN used a numeric level numbering without explicit names, the layer names are generated from the numbers. After conversion the drawing retains its familiar layer structure, and the receiving CAD system displays it in the same logical organisation.
Converting cells into DXF blocks
Cells in DGN play the same role as blocks in the Autodesk world: they are named definitions containing a group of geometry that is reused many times across a drawing. During conversion cells are transferred to DXF as block definitions, and each cell placement becomes an INSERT entity with an insertion point, rotation and scale. Simple cells convert one to one: all nested geometry and placement parameters are preserved. Complex cells with user parameters, parametric dependencies or links to a cell library may be simplified down to flat geometry, because the baseline DXF specification does not describe every advanced Bentley feature.
Multi-lines
Multi-lines are a Bentley-specific object: a set of parallel lines sharing common visual parameters such as offsets, end caps and fills. In DXF multi-lines may either be transferred as a composite object (if the receiving environment supports an analogue) or broken down into a collection of individual lines and fills. When broken down, the visual representation is preserved, but the ability to edit the multi-line as a single entity is lost. For typical tasks of transferring geometry the breakdown causes no problems, especially when the drawing is being prepared for production or for an analysis program.
Text and fonts
Text elements are transferred to DXF together with a style that references a specific font. If the recipient does not have that font installed, the program substitutes a default one, and the visual appearance of the labels changes slightly: line widths, line breaks and the overall look become different, although the text itself remains correct. To guarantee identical visual rendering across recipients, convert critical text to geometry (polylines and fills) before the conversion. This makes the file larger but eliminates the risk of font substitution. Multi-line text with paragraph breaks is transferred as MTEXT with formatting preserved.
Scale and units
DGN stores geometry in its own units system with master and sub-unit settings. During conversion to DXF the units are recalculated into those of the DXF drawing (millimetres, metres, inches). If the output is intended for a CNC machine or an analysis program, units become a critical parameter: an error turns a part into an object of an entirely different size. After the conversion always cross-check control dimensions between the source DGN and the resulting DXF using a third-party viewer or another CAD program.
Multi-model DGN files
A distinctive DGN feature is that a single file may contain several independent models, each with its own geometry and its own coordinate system. DXF in its baseline structure is built around a single model space plus a set of layouts. When converting a multi-model DGN the principal model is mapped to DXF model space, while additional models are either saved as separate DXF files (one per model) or moved into layouts. The choice depends on the drawing's purpose: production handover typically needs only one model with the target geometry, archiving may require keeping all models in separate DXF files.
DXF versions
DXF exists in many revisions: R12, R14, 2000, 2004, 2007, 2010, 2013, 2018, 2023. The base set of group codes has been stable for decades, which ensures backward compatibility, but each new revision introduces additional entities (extended graphic objects, table cells, new-style leaders). When choosing a DXF version think about what will open the file. For modern CAD software pick a recent revision; for an aging CNC controller or legacy software select an earlier DXF revision that retains only base geometry but is guaranteed to open in older programs.
Referenced files
If the DGN contains references to other DGN files or to raster images, conversion to DXF can either preserve the reference record itself or merge the referenced content into the main drawing. For a self-contained DXF it is best to bind the referenced files into the main drawing before conversion. This makes the resulting file heavier but spares the recipient the burden of receiving a bundle of dependent files alongside the main DXF.
Files that work best for conversion
Ideal candidates:
- Two-dimensional plans of routes, sections, elevations and details of infrastructure objects for handover to adjacent contractors
- Drawings of metal components - supports, brackets, anchor plates, railings - for production on laser, plasma and milling machines
- Topographic surveys, land plot layouts and situation drawings for handover to land surveying and cadastral departments
- Master plans of large territories and schemes of engineering networks for import into GIS and thematic mapping systems
- Archive sets of project documentation for long-term storage in an open standard
- Contours of elements and details for import into engineering analysis programs (FEM, hydraulic, thermal)
- Road, bridge and tunnel drawings for handover to expert review organisations that do not use a Bentley environment
Workable, but with caveats:
- Multi-model DGN files with many models - decide in advance which models to export and into which separate DXF files
- Drawings with many user-defined cells using complex parameterisation - cells become ordinary blocks and lose parametric capabilities
- Files heavy with multi-lines - they will be broken down into individual lines and fills, increasing the primitive count
- Drawings with massive referenced files - bind the references into the main drawing before conversion
- Files relying on geographic binding through coordinate systems - geo-binding metadata may be preserved only partly, strict geo-referencing belongs in GIS formats
Not worth converting:
- Unfinished working sources still undergoing heavy editing in the Bentley environment
- Drawings that depend on Bentley-specific capabilities with no analogue in the baseline DXF specification
- Files whose main value lies in parametric dependencies not expressible by the standard DXF entity set
Advantages of the DXF format
DXF offers several unique advantages over DGN.
Open published specification. The DXF structure is documented and accessible to developers, which is why the format is supported by thousands of CAD programs, engineering suites, machine controllers and custom solutions. This removes licence dependency and simplifies work in a heterogeneous software environment where Bentley, Autodesk and specialised packages coexist.
Universal cross-CAD compatibility. DXF is readable by virtually any CAD system, from professional suites to free and student programs, from mechanical CAD to architectural and land surveying tools. This lets you hand drawings off without worrying which specific program the recipient has installed, broadening the pool of possible contractors and adjacent specialists.
Direct support by production equipment. Laser cutters, plasma and water-jet tables, milling centres, press brakes, plotters and engravers commonly accept DXF directly, without intermediate conversion. This shortens the data pipeline from designer to machine operator and removes intermediate steps where geometry could be simplified or distorted.
Text representation. The ASCII variant of DXF is readable in an ordinary text editor. This is convenient for debugging, script processing, automation, programmatic drawing generation and for data extraction without a full CAD system. Industrial planning systems, parts databases and automated documentation assemblers rely on DXF as a convenient exchange format.
Vendor neutrality. DXF is not tied to a specific software ecosystem: it is supported equally well by the Autodesk environment, third-party CAD systems, engineering tools and shop-floor equipment. This reduces the risk of dependence on a single software vendor and provides freedom to choose tools on the receiving side.
Durability for archives. The open specification and broad support make DXF a sensible choice for long-term storage. A drawing saved today will remain readable decades later because the base set of entities is supported by every CAD system. This matters especially for infrastructure projects whose life cycle is measured in decades.
Version interoperability. Between DXF revisions there is high compatibility for baseline geometry. A drawing saved in a recent revision opens correctly in older programs if a suitable target revision is selected. This removes the all too familiar problem of authors and recipients running on different proprietary versions.
Easy transfer and viewing. DXF does not require the recipient to install a specific CAD system: when needed they can view the file in a free viewer or an online tool. This simplifies sign-off with a client not involved in the engineering software stack and lowers the barrier for adjacent specialists.
Limitations and recommendations
The principal limitation is that not every DGN construct maps one to one to DXF. Multi-model DGNs, complex user-defined cells, multi-lines with special geometry, Bentley-specific objects and extended custom properties are expressed in the baseline DXF specification only in a limited way, or are simplified. Before converting critical drawings, walk through the content and decide which entities should be prepared in advance and which can be accepted in a simplified form on the receiving side.
The second limitation is file size. The text representation of DXF takes noticeably more space than the same drawing stored as DGN. For large infrastructure projects with tens of thousands of entities this becomes noticeable: the DXF can be several times heavier than the source DGN. If size matters, consider the binary DXF variant, which is more compact than ASCII while still being supported by a wide range of programs.
The third limitation is geographic binding. DGN natively stores geographic coordinate bindings through coordinate system definitions. In the baseline DXF specification support for geo-referencing is limited to units and metadata. If geo-referencing is critical (surveying, cadastre, thematic mapping), use specialised GIS formats for strict coordinate work and treat DXF as a source of planar vector geometry without rigid coordinate-system binding.
The fourth limitation is version dependency. DXF exists in many revisions, and not every receiving program supports the latest one. If the recipient runs an older environment or older machine, pick an earlier DXF revision on export. This narrows the set of transferred entities to the baseline and ensures compatibility.
If a DXF is being prepared for production, double-check units and scale after conversion: an error here turns a part into an object of a completely different size. Also verify that the layers used by the machine to distinguish operation types (cut, engrave, mark) retain the expected names and colours. Before sending a drawing to a contractor running a different CAD system, perform a control review of the result - open the resulting DXF in a third-party viewer or in another CAD program and compare it against the original DGN.
What is DGN to DXF conversion used for
Exchange between Bentley and Autodesk environments
Convert DGN to DXF to ship an infrastructure drawing to an adjacent contractor or colleague working in an Autodesk environment or a different CAD system. The open DXF specification removes version and licence compatibility issues, and the receiving party sees the same geometry without back-and-forth about formats.
Loading parts onto CNC machines
Convert drawings of metal infrastructure elements - supports, brackets, anchor plates, railings - to DXF for loading into laser, plasma, water-jet or milling controller software. DXF is read by equipment directly, turning the working drawing into a production-ready file.
Hand-off to engineering analysis tools
Move the contour of a structure, a section or a pipeline schematic from a Bentley environment into an engineering analysis suite through DXF. Programs for FEM, hydraulic, thermal and strength analysis accept geometry from DXF and then build the mesh and boundary conditions for the computation.
Surveying, cadastre and land management
Send topographic surveys, boundary plans or situation drawings from the infrastructure bureau to the surveying or land management department as DXF. In these industries DXF has historically established itself as the exchange standard, and work with state systems usually goes through this format.
Archiving in an open standard
Produce an archive copy of the project as DXF alongside the working DGN. The open published specification and broad program support make DXF a reasonable choice for long-term storage that is not tied to a specific software product or vendor.
A chain of contractors on an infrastructure project
Connect the general designer, section sub-contractors, surveyors and the operating organisation through DXF. Each participant accepts geometry as DXF, processes its own section in its own CAD environment and, when needed, returns the result to the common model without arguments over formats.
Tips for converting DGN to DXF
Decide on multi-model DGN handling in advance
If the source DGN contains several models, decide before conversion which one is the target and whether the others are needed. The most predictable outcome comes from exporting each model into its own DXF file, or from explicitly selecting the principal model for the DXF model space while moving the rest into layouts. This spares the recipient from guessing the structure.
Pick the DXF revision to match the recipient
Before converting, check which program or machine will open the file. For modern CAD software pick a recent DXF revision (2013, 2018 or 2023). For older programs or older CNC equipment select an earlier revision (2000, 2004). This removes most compatibility issues and reduces the number of corrections after handover.
Bind referenced files before export
If the source DGN references external files, bind those references into the main drawing while preparing the DXF. This makes the resulting DXF heavier but the recipient works with a self-contained file with no dependencies. The alternative - shipping a bundle of files alongside the main DXF - increases the risk that some of the underlay material does not reach the recipient.
Verify units after conversion
Before sending the DXF to a CNC machine, an analysis program or a contractor, make sure units and scale stayed correct. A mismatch between millimetres and metres turns a part or a structure into an object of an entirely different size. Open the resulting DXF in a third-party viewer and cross-check control dimensions against the source DGN.