.DWL2

DWL2 File

AutoCAD Drawing Lock File (Secondary)
Ask a question
QUICK ANSWER

A DWL2 file is a temporary XML lock file that AutoCAD creates alongside a DWG drawing when it is opened. It records who is editing the file, on which computer, and since when. You do not open or convert DWL2 files. If a stale DWL2 is blocking access to a DWG after a crash, delete both the .dwl and .dwl2 files once you have confirmed no one is editing the drawing.

Developer: Autodesk, Inc. Category: System Files MIME: application/xml
OPENS ON Windows
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Jun 18, 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 DWL2 file format?

A .dwl2 file is a temporary XML lock file that AutoCAD automatically creates whenever a .dwg drawing is opened. It is placed in the same directory as the drawing and records session metadata: the username, computer name, AutoCAD version, and a precise timestamp of when the file was opened.

Two lock files are always created together: drawing.dwl (a plain ASCII file with basic owner information) and drawing.dwl2 (an XML file with richer metadata). Both are deleted automatically when the drawing is properly closed in AutoCAD.

These files coordinate access in shared and networked environments. If a colleague tries to open a drawing that already has a .dwl2 file present, AutoCAD displays a warning identifying the current owner and machine name, blocking read-write access.

Stale .dwl2 files are left behind when AutoCAD crashes or a network connection drops unexpectedly. In that situation, other users are prevented from opening the drawing in read-write mode. The fix is to delete the orphaned .dwl and .dwl2 files - but only after confirming that no one is actually editing the drawing. The .dwl2 contains no geometry, drawing data, or image content; it is purely an administrative lock record.

Security & safety

RISK: LOW

DWL2 is a plain XML metadata file with no executable content. No safety risk from the file itself. Deleting stale DWL2 files is safe provided you confirm the DWG is not actually open elsewhere; deleting an active lock file can corrupt the drawing if two users then save simultaneously.

Format details

in a nutshell
FULL NAMEAutoCAD Drawing Lock File (Secondary)aka AutoCAD DWL2 Lock File, Drawing Lock 2
DEVELOPERAutodesk, Inc.since circa AutoCAD 2004 (Release 16)
CATEGORYSystem Files
MIME TYPEapplication/xml
TYPEXML-based temporary lock/metadata file created alongside DWG

Programs that open DWL2 files

Windows2 apps
AutoCAD Paid AutoCAD creates and manages DWL2 files automatically - you do not open DWL2 in AutoCAD directly. The relevant action is to delete stale DWL2 files so AutoCAD can open the associated DWG.
Any text editor (Notepad, Notepad++, VS Code) Free Right-click the .dwl2 file → Open with → Notepad (or Notepad++) to read the XML metadata inside. No special software needed.

Technical details

deep spec
FormatXML (plain text)
EncodingUTF-8 or UTF-16 depending on AutoCAD version
Typical sizeUnder 2 KB
XML contentUsername, computer name, AutoCAD version string, and session-open timestamp
PurposeDWG lock coordination in shared and networked environments
LifecycleCreated when a DWG is opened in AutoCAD; automatically deleted on proper close
Companion filedrawing.dwl - plain ASCII with basic owner, machine, and time information
Introduced withAutoCAD 2004 (Release 16), circa 2003; generated through current releases
Naming conventionSame base name as the .dwg file in the same directory (e.g., design.dwg produces design.dwl2)
Stale-file behaviorIf not deleted after a crash, triggers a lock warning in AutoCAD and prevents read-write access by other users
Associated OSWindows
Content typeAdministrative metadata only; no geometry, drawing data, or image content
Releasedcirca AutoCAD 2004 (Release 16)
Latest versionNo versioned spec; generated by AutoCAD through at least AutoCAD 2026

DWL2 conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DWL2 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 DWL2 files.

Frequently asked questions

Can I delete DWL2 files?
Yes, if they are stale (left after a crash). First confirm no one has the associated DWG open. Delete both the .dwl and .dwl2 files; AutoCAD will recreate them when the DWG is next opened normally.
Why does AutoCAD say a file is locked when no one is editing it?
A stale .dwl or .dwl2 file remains from a previous session that ended abnormally (crash, network drop, improper shutdown). Delete both lock files in the same folder as the DWG.
What information is in a DWL2 file?
Username and computer name of the person who last opened the DWG, exact timestamp, and AutoCAD version - stored as XML. Open it in Notepad to read.
Is DWL2 the same as DWL?
They are companion files created together. DWL is plain ASCII text (simpler lock info). DWL2 is XML with richer metadata. AutoCAD creates and removes both simultaneously.

References

1CAD Forum - What are DWL files?www.cadforum.cz
2Autodesk AutoCAD product pagewww.autodesk.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.MDMarkdown Document
3.CRDOWNLOADChrome Partial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.PARTPartial Download File
6.NOMEDIAAndroid No-Media Marker File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.SB3Scratch 3.0 Project File

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

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

Open the toolbox

Browse file extensions A-Z