DWL File Documentation


Summary

A .dwl file is a drawing lock file, not a drawing. CAD programs, chiefly AutoCAD and TurboCAD, create a tiny .dwl (and a companion .dwl2) next to a drawing while it is open, recording the user name, computer name and time so a second person cannot edit it at once. It holds no geometry. The real drawing is the .dwg (AutoCAD) or .tcw (TurboCAD) of the same name. A leftover .dwl after a crash is safe to delete once no one has the drawing open.

Technical details

FeatureValue
Full nameTurboCAD Drawing Lock File (also AutoCAD)
File extension.dwl (paired with .dwl2)
MIME typetext/plain
Format typeTiny plain-text lock / side-car file — not a drawing
Contains geometryNo — lock metadata only
Created byAutodesk AutoCAD; IMSI/Design TurboCAD
PurposeMulti-user file locking while a drawing is open
Typical contentsUser name, computer/host name, timestamp
LocationBeside the drawing, same base name
LifetimeTemporary — deleted automatically on normal close
Safe to deleteYes, if no one actually has the drawing open
Magic numberNone — no fixed signature
The real drawing.dwg (AutoCAD) or .tcw (TurboCAD)
Related extensions.dwg, .dwl2, .tcw, .dwt, .bak, .sv$

What is a DWL file?

DWL stands for “drawing lock”. A .dwl file is a tiny plain-text side-car that CAD software writes next to a drawing while that drawing is open, so that two people cannot edit the same file at the same time. It is created by TurboCAD (IMSI/Design) for its .tcw drawings and, more commonly in practice, by Autodesk AutoCAD for its DWG drawings. The one fact that matters most: a DWL holds no drawing content at all — no geometry, no layers, no graphics. It is pure metadata about who currently holds a lock.

When you open a drawing, the CAD program writes the lock beside it; when you close the drawing normally, the program deletes the lock. Under normal use you never see it. DWL files only become visible when something interrupts that cycle.

What a DWL actually contains

A .dwl is a text file only a few lines long. It records the identity of whoever currently has the drawing open, so that if a second person tries to open the same file the software can read the lock and tell them who is already in it. The fields are simply:

User name        the login of the person who opened the drawing
Computer / host  the workstation that holds the lock
Timestamp        when the drawing was opened / the lock was created

Because it is ordinary text with no fixed header or magic number, you can open a .dwl in Notepad or any text editor to read exactly who and which machine holds the lock. There is nothing else inside.

Why there are two files: .dwl and .dwl2

AutoCAD writes the lock as a pair: a .dwl and a .dwl2 with the same base name as the drawing. Both are lock side-cars for the same file, created together when the drawing is opened and removed together on a normal close. Treat them as a unit: if you clear one, clear the other. TurboCAD uses the same locking concept for its .tcw drawings. The important point for both programs is that the lock is a companion to the drawing, not the drawing itself.

Stale locks: when a drawing is stuck read-only

A DWL is designed to be temporary. If the CAD program or the PC crashes, or a drawing on a network share is left open, the lock file can be left behind — a “stale” lock. Because the software still sees the lock, it may keep the drawing read-only or tell other users it is in use, even though nobody is actually editing it. This is the situation in which people notice DWL files: a drawing that will not open for editing, blocked by a leftover lock from a session that ended abnormally.

The fix is to remove the orphaned .dwl and .dwl2 so the drawing is released. On a shared drive, confirm first that no one genuinely has the drawing open, because the lock is the interlock that prevents two people overwriting each other’s work. Deleting a live lock while someone really is editing removes that protection and can lead to conflicting saves.

Finding the real drawing

There is nothing to open or convert in a DWL. If you have a .dwl and want the actual design, look for the file with the same base name and a drawing extension in the same folder: the .dwg if it came from AutoCAD, or the .tcw if it came from TurboCAD. Open that file in the matching program. To produce a PDF or export the design, you plot or export from the drawing, never from the lock — the lock has no geometry to render.

Is a DWL file safe to delete?

Yes. A .dwl is a harmless few-line text file and cannot carry executable content, so it is not a malware concern. The only real caution is operational, not security: do not delete the lock while the associated drawing is genuinely open by someone else, especially on a network drive, because that lock is what stops two people editing the same file at once. If the lock is stale after a crash, verify nobody has the drawing open and then delete the .dwl and .dwl2 together to release it. Closing the drawing normally removes both automatically.

References