What is the DWF file format?
The .dwf (Design Web Format) file is designed to store 2D/3D drawings used by various CAD design applications. The format was created by Autodesk. .dwf files can hold design data, including 2D raster graphics, 3D models, and text. A .dwf file can have a simple structure composed of only a single sheet, or can be very complex and contain multiple embedded resources such as fonts, colors, and images.
Modern .dwf files (version 6 and later, introduced around 2005) use a ZIP archive as their container - identifiable by the PK magic bytes at the file start. Older pre-version-6 files begin with an ASCII (DWF V header string instead. A closely related variant, .dwfx, packages the same content in an XPS/OPC archive and can be opened directly in the Windows built-in XPS viewer.
The purpose of the .dwf format
The .dwf format was created to facilitate CAD project distribution. The main goal is to provide a lightweight publishing format - not to replace the standard formats used in the CAD software environment such as .dwg or .dxf - but to enable recipients to open and review project files without needing access to full CAD software.
.dwf format advantages
- A
.dwffile is a highly compressed CAD file, and thus is more accessible for viewing, printing and sharing because the file size is significantly smaller than that of the original source file. - The
.dwffile structure enables selective reduction of project data and print styles so the author can share only the information they want to share. .dwffiles maintain high mathematical precision and contain metadata for sheets, objects and markup data.
Security & safety
RISK: LOWDWF files are published, view-only CAD data and don't execute code, so opening them in a viewer is safe. The realistic concerns are non-malware: a DWF can disclose proprietary design detail (it's measurable geometry), so treat shared files as sensitive; and download viewers only from Autodesk (autodesk.com) - there are fake-'DWF viewer' download sites bundling adware/PUPs around this niche format. Design Review being unmaintained is a maintenance/compatibility caveat, not a security exploit, but for untrusted files the browser-based Autodesk Viewer is the safest option.
Format details
in a nutshellPrograms that open DWF files
Technical details
deep spec| Container structure | Version 6+ (since ~2005): ZIP package (magic bytes PK / 50 4B 03 04); pre-version-6: ASCII text file starting with "(DWF V" header string |
| MIME type | model/vnd.dwf |
| 2D geometry stream | Internal .w2d stream encodes 2D vector and raster data using the Whip! format |
| 3D geometry stream | Internal .w3d stream encodes 3D scene geometry, materials and viewpoints |
| Coordinate precision | Double-precision floating-point (64-bit) coordinates for high mathematical accuracy |
| Compression | ZIP deflate compression applied per-stream, significantly reducing file size compared to the original .dwg source |
| Multi-sheet support | A single .dwf package can contain multiple sheets, layouts and model views |
| Embedded metadata | Sheet-level, object-level and markup/annotation metadata stored per Autodesk DWF specification |
| Markup/annotation layer | Supports embedded reviewer markups (comments, stamps, measurements) without altering source geometry |
| Selective publishing | Author controls which layers, attributes and drawing objects are included at publish time |
| Font embedding | TrueType and other font resources can be embedded directly inside the ZIP package |
| Raster image support | PNG, JPEG and other raster images can be embedded alongside vector geometry within the package |
| XPS variant | .dwfx (since 2007) repackages the same content as an XPS/OPC container, natively viewable in Windows XPS Viewer |
| View-only intent | Published format designed for review and distribution; editing requires returning to the original CAD source file |
| Released | 1995 (DWF by Autodesk); modern ZIP-based DWF since ~2005, DWFx (XPS-based) since 2007 |
| Specification | www.autodesk.com |