.DWT

DWT File

Dreamweaver Web Page Template
Ask a question
QUICK ANSWER

A DWT file is most commonly an Adobe Dreamweaver web page template - a plain HTML file with special comment markers that lock shared layout regions and leave designated areas editable. Open it in Adobe Dreamweaver or any text editor such as VS Code. Note that AutoCAD also uses the .dwt extension for drawing templates, a completely different binary format.

Developer: Adobe Systems (now Adobe Inc.) Category: Web Files MIME: application/x-dreamweaver-template
OPENS ON Windows macOS Linux

On this page

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

.dwt is a website template file created with Adobe Dreamweaver. A .dwt file is a plain text file - stored as HTML with Dreamweaver-specific comment directives - that defines a template for website layout. Based on a single template, users can create many web pages sharing the same overall design. Creating a template requires some initial work, but building pages from it is a matter of adding customized content to the predefined editable regions.

.dwt files must be stored in the Templates/ subfolder of a Dreamweaver site; moving them outside that folder breaks site-relative paths in all derived pages.

Uses of templates

A finished .dwt template should not be edited arbitrarily once pages have been derived from it - changes saved to the template propagate automatically to all linked HTML pages. Each element in the template is marked as either editable or non-editable using special comment tags: <!-- TemplateBeginEditable name="..." --> and <!-- TemplateEndEditable -->. Only editable regions in a derived page can be modified; those are typically text fields or image placeholders. Templates allow for layout reuse and significantly decrease website creation time.

Security & safety

RISK: LOW

DWT files are plain HTML with comment markers; they carry no executable content and are safe to open in a text or HTML editor. As with any HTML, an untrusted DWT could theoretically include malicious JavaScript, but standard browser/editor defenses apply. The main practical risk is opening an AutoCAD DWT (binary CAD format) in an HTML editor and confusing its content.

Format details

in a nutshell
FULL NAMEDreamweaver Web Page Templateaka Adobe Dreamweaver template, DWT template file
DEVELOPERAdobe Systems (now Adobe Inc.)since 1997 (Macromedia Dreamweaver 1.0)
CATEGORYWeb Files
MIME TYPEapplication/x-dreamweaver-template
TYPEHTML-based web page template with locked/editable region markers
This extension is also used by…
  • AutoCAD Drawing Template - Autodesk AutoCAD uses .dwt for drawing template files (pre-configured CAD drawings with layers/blocks/styles); a completely different binary format documented in the DWG KB.
  • DeskWorks Project Template (legacy) - Some older desktop publishing tools used .dwt for project templates; rare and obsolete.

Programs that open DWT files

Windows4 apps
Adobe Dreamweaver Paid Open the DWT from the Templates folder in the Files panel; Dreamweaver shows the locked regions grayed out and lets you edit the template layout.
Notepad Open-source Open the DWT; set language to HTML for syntax highlighting. Good for quick inspection of the HTML structure.
Visual Studio Code Open-source Open as a plain HTML file - VS Code shows syntax highlighting; the Dreamweaver comment markers are visible in the source but VS Code does not enforce template locking.
Adobe Creative Cloud (Dreamweaver) Paid Dreamweaver is available through a Creative Cloud subscription.
macOS3 apps
Adobe Dreamweaver Paid Open from the site's Templates folder in the Files panel.
TextMate Paid Open as plain HTML for source editing; no Dreamweaver template logic enforcement.
Visual Studio Code Open-source Open as HTML; works for inspection and editing of the raw template markup.
Linux1 app
Visual Studio Code Open-source Open as HTML for editing; no Dreamweaver template semantics - edit the raw markup.

Technical details

deep spec
EncodingPlain text, UTF-8 or legacy charset declared in the HTML meta tag
Editable region open tag<!-- TemplateBeginEditable name="..." --> HTML comment directive
Editable region close tag<!-- TemplateEndEditable --> HTML comment directive
Parameter directive<!-- TemplateParam --> defines template-level variables passed to derived pages
Storage locationMust reside in the Templates/ subfolder of the Dreamweaver site root
Derived-page markerDerived pages begin with <!-- InstanceBegin template="..." --> comment
Locking enforcementEditable/locked logic enforced by Dreamweaver only; not enforced by browsers or other editors
PropagationSaving a modified .dwt updates all derived HTML pages linked to the template
Related outputDerived pages are standard .htm / .html files readable by any browser
DeveloperAdobe Systems (originally Macromedia Dreamweaver, introduced 1997)
MIME typeapplication/x-dreamweaver-template (also text/html for generic handling)
Released1997 (Macromedia Dreamweaver 1.0)
Latest versionUsed through Adobe Dreamweaver 2021 and later (no versioned format change)
Specificationhelpx.adobe.com

DWT conversions

Community Q&A

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

Frequently asked questions

What is a DWT file?
Most commonly it is an Adobe Dreamweaver web page template - an HTML file with special comment markers that define which regions are editable and which are locked. It can also be an AutoCAD drawing template (a binary CAD file), which is a completely different thing.
How do I open a DWT file?
If it is a Dreamweaver template, open it in Adobe Dreamweaver or any text/HTML editor (VS Code, Notepad++). If it is from AutoCAD, open it in AutoCAD or a free DWG viewer like Autodesk's DWG TrueView.
Can I open a DWT file without Dreamweaver?
Yes. A Dreamweaver DWT is plain HTML - rename it to .html and open it in any browser or editor to see the layout. You won't have Dreamweaver's region-locking features, but the HTML content is fully accessible.
How do I convert a DWT template to HTML?
Rename a copy of the .dwt to .html (or .htm). The result is valid HTML; browsers ignore the Dreamweaver comment markers. For a working web page, fill in the editable regions.
My DWT file looks like CAD data, not a web page - what happened?
Your file is an AutoCAD Drawing Template, not a Dreamweaver template. Both use the .dwt extension. Open it with AutoCAD or a free DWG viewer.
Can I edit a DWT in Notepad or VS Code?
Yes - it is a text file. Editing in a text editor gives you full access to the HTML source, but you lose Dreamweaver's visual template management and the region-locking logic.

References

1Adobe Dreamweaver - Using Dreamweaver templateshelpx.adobe.com
2Adobe Dreamweaver - Paths in Dreamweaver templateshelpx.adobe.com

Keep exploring

across the database

Top extensions this week

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

Related extensions

.CRDOWNLOADChrome Partial Download File
.JNLPJava Network Launch Protocol file
.WEBARCHIVESafari Web Archive
.PARTPartial Download File
.DOWNLOADPartial / Incomplete Download File
.ASPXActive Server Page Extended (ASP.NET Web Form)

Free file tools

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

Open the toolbox

Browse file extensions A-Z