.DGN

DGN File

MicroStation Design File
Ask a question
QUICK ANSWER

A DGN file is a CAD design drawing - the native format of Bentley MicroStation, used heavily in civil engineering, roads, bridges, rail, and infrastructure. To view or print one for free, use Bentley View (Windows) or ODA Drawings Explorer (Windows, macOS, Linux). To edit it you need MicroStation or a CAD program that imports DGN such as AutoCAD. The most common task is converting DGN to DWG, which MicroStation, AutoCAD, and ODA-based tools handle.

Developer: Bentley Systems (format roots in Intergraph IGDS) Category: CAD Files MIME: image/vnd.dgn; application/octet-stream
OPENS ON Windows macOS Linux Web
Related: .DWG · .SLDPRT · .EASM · .NWD

On this page

19k+ extensions indexed
Last reviewed Aug 14, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DGN file format?

.dgn (short for "design") is a file format used by Computer Aided Design (CAD) software, most notably Bentley Systems MicroStation. .dgn files store 2D and 3D project data - geometry, annotations, levels, models, and reference attachments - in a single design document. The format is typically used in architectural and construction-related projects, such as road, bridge, power plant, or shipyard development.

Two versions of the DGN format

The older version was based on Intergraph Standard File Formats (ISFF), originating from the Intergraph Interactive Graphics Design System (IGDS) of the early 1980s. This generation is sometimes called V7 DGN or Intergraph DGN, and its files use a fixed-record binary structure. The newer version, introduced by Bentley Systems in 2000, no longer conforms to the ISFF specification and is designated as V8 DGN. V8 files are wrapped in a Microsoft OLE2 Compound File Binary (CFB) container - the same low-level structure found in legacy .DOC and .XLS documents - and add support for unlimited design planes, 64-bit coordinate precision, and multiple named models within a single file.

.dgn files interoperate with .DWG and can be exported to .DXF for use in Autodesk products. Shared resources such as level definitions and text styles reside in .dgnlib library files, while reusable symbol elements are stored in .cel cell libraries.

Security & safety

RISK: LOW

A DGN is passive CAD design data - geometry, levels and references - with no executable code, so opening one in a viewer is safe. The realistic cautions are non-malware: V7 vs V8 format differences (an old V7 DGN may need MicroStation to upgrade), and DGN<->DWG translation quirks where levels/layers, cells/blocks and custom line styles don't map perfectly - always check a converted drawing before relying on it. Treat shared engineering drawings as confidential intellectual property and get files from sources you trust. (Be mildly cautious that the V8 DGN's OLE2 compound-file container is the same wrapper as legacy macro-bearing Office files, but DGN itself does not carry Office macros.)

Format details

in a nutshell
FULL NAMEMicroStation Design File
DEVELOPERBentley Systems (format roots in Intergraph IGDS)since Intergraph IGDS, early 1980s; Bentley MicroStation since 1985; V8 DGN format since 2000
CATEGORYCAD Files
MIME TYPEimage/vnd.dgn; application/octet-stream
TYPEProprietary binary 2D/3D CAD design file (elements, levels, models, references)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
0809FEFF
ASCII
····
Two on-disk generations. The classic V7 DGN (Intergraph IGDS / pre-2000 MicroStation) begins with element bytes commonly 0x08 0x09 0xFE 0xFF and is a fixed-record format. The modern V8 DGN (MicroStation v8+, 2000 onward) is wrapped in a Microsoft OLE2 / Compound File Binary container, so it starts with the CFB magic 0xD0 0xCF 0x11 0xE0 0xA1 0xB1 0x1A 0xE1 - identical at offset 0 to old .doc/.xls files. Identify a .dgn by extension + CFB streams, since the CFB header alone is shared with other Microsoft compound documents.

Programs that open DGN files

Windows4 apps
Bentley View Free Bentley's free viewer for DGN/DWG/DXF and 50+ formats. Double-click a .dgn or File > Open to view, measure and print read-only. The primary free DGN opener.
Bentley MicroStation Paid The native editor. File > Open the .dgn to view and fully edit elements, levels, models and references.
Autodesk AutoCAD Paid Import a DGN (DGNIMPORT) or attach it as an underlay (DGNATTACH); also used to convert DGN to DWG. Paid CAD.
ODA Drawings Explorer Free Free Open Design Alliance viewer that opens DGN and DWG; view and inspect without MicroStation.
macOS2 apps
ODA Drawings Explorer Free Free cross-platform viewer; open the .dgn to view (MicroStation/Bentley View are Windows-only).
TurboCAD (TurboCAD Mac) Paid Imports DGN for viewing/editing on macOS. Paid CAD; verify DGN import in your edition.
Linux1 app
ODA Drawings Explorer Free Free viewer with Linux builds; open the .dgn to view and measure.
Web1 app
ShareCAD / online CAD viewers Free Upload the .dgn in a browser to view it without installing anything. Avoid uploading confidential drawings.

Technical details

deep spec
Format generationsV7 DGN (ISFF-based, pre-2000) and V8 DGN (OLE2/CFB container, 2000 onward)
V7 file signatureBytes 08 09 FE FF at offset 0; flat fixed-record element stream (Intergraph IGDS heritage)
V8 file signatureOLE2 Compound File Binary header D0 CF 11 E0 A1 B1 1A E1 at offset 0; internal streams identified by .dgn extension context
MIME typeimage/vnd.dgn (IANA registered); application/octet-stream as generic fallback
Coordinate precision64-bit double-precision floating point in V8 DGN; 32-bit fixed-point UOR (Units of Resolution) in V7
Geometry types2D/3D lines, line strings, arcs, ellipses, B-splines, surfaces, meshes, and SmartSolids (ACIS-kernel solids)
Design organizationLevels (layer equivalent), named models, and reference file attachments all contained within one .dgn file
Design unitsUser-configurable master units and sub-units; supports imperial (feet/inches) and metric (meters/mm) in the same file
Companion file types.dgnlib for shared level definitions, line styles, and text styles; .cel for reusable cell (symbol) libraries
InteroperabilityNative read/write of .dwg (AutoCAD format); export targets include .dxf, PDF, SVG, IFC, and Bentley i-model
Color modelV7: indexed 256-color table per design file; V8: color books with full RGB and RGBA support
Text encodingV8 supports Unicode (UTF-16LE) for multilingual annotation text; V7 uses 8-bit legacy character encodings
Primary authoring softwareBentley MicroStation; Bentley View provides free read-only access; AutoCAD reads .dgn via built-in translation
Sector useInfrastructure, transportation, utilities, architecture, and shipbuilding - especially government and large-scale civil engineering workflows
ReleasedIntergraph IGDS, early 1980s; Bentley MicroStation since 1985; V8 DGN format since 2000
Specificationwww.bentley.com

DGN conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DGN files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DGN files.

Frequently asked questions

How do I open a DGN file without MicroStation?
Use Bentley View - Bentley's free viewer for DGN (and DWG/DXF) - to view, measure and print. The free ODA Drawings Explorer also opens DGN on Windows, macOS and Linux. For editing, AutoCAD can import a DGN.
How do I convert a DGN file to DWG?
In MicroStation, File > Save As > DWG. In AutoCAD, run DGNIMPORT. Or use an ODA-based converter / AutoDWG DGN-to-DWG. Check the result, since levels-to-layers and cells-to-blocks translation isn't always perfect.
What program opens a DGN file?
Natively, Bentley MicroStation. For free viewing, Bentley View or ODA Drawings Explorer. AutoCAD, BricsCAD and TurboCAD can import DGN for editing. Online viewers like ShareCAD open it in a browser.
What's the difference between DGN and DWG?
DGN is Bentley MicroStation's native CAD format (big in civil/infrastructure); DWG is Autodesk AutoCAD's native format. They store similar drawing data differently, so moving between them is a conversion that can introduce minor translation issues.
Why won't my DGN file open in my CAD program?
It may be an old V7 DGN that your tool reads poorly (open it in MicroStation/Bentley View and save as V8), or your CAD just doesn't support DGN import. Ask the sender for a DWG/DXF export, which more programs can open.
Can I open a DGN file on a Mac?
MicroStation and Bentley View are Windows-only, but the free ODA Drawings Explorer has a macOS build, and TurboCAD for Mac imports DGN. Otherwise, have the sender export DWG/DXF or a PDF, which Mac tools open.

References

1Bentley - MicroStation (native DGN editor)www.bentley.com
2Bentley - Bentley View (free DGN/DWG viewer)www.bentley.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.EXEWindows Executable (Portable Executable)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.DATProgram Data File (generic)
7.RPMSGRestricted Permission Message
8.TXTPlain Text File
9.MDMarkdown Document
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.DWGAutoCAD Drawing Database
.SLDPRTSOLIDWORKS Part File
.EASMeDrawings Assembly
.NWDNavisworks Document (published 3D model)
.VWXVectorworks Design File
.DXFDrawing Exchange Format (AutoCAD DXF)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z