.CFM

CFM File

ColdFusion Markup Language Template
Ask a question
QUICK ANSWER

A CFM file is a ColdFusion Markup Language (CFML) server-side template that runs on a web server to generate HTML pages. End users never hold a CFM file directly - it lives on a server. To edit the source, open it in VS Code or any text editor. To run it, you need Adobe ColdFusion or Lucee installed on a server.

Developer: Allaire Corporation (1995); JRun Technologies; Macromedia; Adobe Systems (current, since 2005) Category: Web Files MIME: application/x-coldfusion
OPENS ON Windows macOS Linux

On this page

19k+ extensions indexed
Last reviewed Jul 22, 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 CFM file format?

.cfm files store CFML web page templates, or individual elements of a larger web application. A .cfm page is generated by the server dynamically when requested by a user's browser - the ColdFusion engine processes the file server-side and returns plain HTML to the client. Websites and dynamic applications built with ColdFusion can directly access database resources and generate dynamic content, handling forms, session state, and API integrations.

CFML syntax comes in two forms: CFScript, a scripting language similar to JavaScript, or tag-based markup similar to HTML, using custom tags prefixed with <cf...> such as <cfquery>, <cfoutput>, and <cfloop>. ColdFusion is developed by Adobe (since 2005; originally created by Allaire Corporation in 1995). The server compiles .cfm templates to bytecode at the first request and caches the result; the .cfm file itself remains plain text and is never sent to the client's browser.

Adobe ColdFusion 2023 is the current release. The open-source engine Lucee also processes .cfm files and is widely used as a free alternative. .cfm files can only be executed through a dedicated CFML engine - opening one in a browser without a running server returns nothing useful. Companion .cfc (ColdFusion Component) files hold reusable class-like components, while .cfm files are the page templates that produce output.

Security & safety

RISK: MEDIUM

A .cfm source file you view in a text editor is safe - it is plain text and cannot run on your desktop. The risk is contextual: if a .cfm file is deployed on a server, it EXECUTES server-side code that can interact with databases, file systems, and external services. Malicious .cfm code (webshells, backdoors) is a real server security threat in ColdFusion environments - server administrators should ensure no unauthorized .cfm files can be uploaded (a common attack vector). For end users who just have a .cfm file on their local machine: it cannot do anything without a running CFML server.

Format details

in a nutshell
FULL NAMEColdFusion Markup Language Templateaka CFM file, ColdFusion template
DEVELOPERAllaire Corporation (1995); JRun Technologies; Macromedia; Adobe Systems (current, since 2005)since 1995 (ColdFusion 1.0 by Allaire Corporation)
CATEGORYWeb Files
MIME TYPEapplication/x-coldfusion
TYPEserver-side web template / CFML source code (plain text)
This extension is also used by…
  • ColdFusion Component File (.cfc confusion) - .cfc is a related but distinct extension for ColdFusion Components (class-like reusable code); users sometimes confuse cfm and cfc.

Programs that open CFM files

Windows6 apps
Adobe ColdFusion Paid Deploy the .cfm file on a ColdFusion Application Server; access the page via a browser at the mapped URL. ColdFusion processes the CFML and returns HTML.
Adobe Dreamweaver Paid Open and edit .cfm files with CFML syntax highlighting and server integration.
Adobe ColdFusion Builder Paid Eclipse-based IDE for editing .cfm files with syntax highlighting, code assist, and ColdFusion server integration.
Notepad Open-source Open as text with CFML/HTML syntax highlighting; edit the source without a server (no execution - just code editing).
Lucee Open-source Install Lucee (free, open-source CFML engine); deploy the .cfm in the web root; access via browser. Full CFML compatibility for most templates.
Visual Studio Code Open-source Install the CFML extension (e.g. KamasamaK.vscode-cfml) for syntax highlighting and IntelliSense; edit .cfm source files directly.
macOS3 apps
Adobe ColdFusion Paid macOS Developer build available; deploy and test .cfm templates locally.
Lucee Open-source Install Lucee for macOS development; deploy .cfm files and test via local browser.
Visual Studio Code Open-source Edit .cfm source with CFML syntax extensions.
Linux2 apps
Adobe ColdFusion Paid Adobe ColdFusion supports Linux deployment; used in enterprise environments.
Lucee Open-source The primary CFML engine for Linux deployment; deploy .cfm files in the web root and access via browser.

Technical details

deep spec
File encodingPlain text - UTF-8 (ColdFusion 2016+); older files may be Windows-1252 or ISO-8859-1
Execution modelServer-side only - processed by ColdFusion/Lucee CFML engine; the .cfm file is never sent to the client browser
Tag syntaxCFML tags use the <cf...> prefix - e.g. <cfquery>, <cfoutput>, <cfif>, <cfloop>, <cfinclude>
Script syntaxCFScript blocks (<cfscript>...</cfscript>) provide a JavaScript-like alternative to tag-based CFML
Database accessNative <cfquery> tag executes parameterized SQL against configured data sources; returns a query object
Runtime compilationCFML engine compiles .cfm to bytecode on first request and caches the result; source file remains plain text
Binary signatureNone - plain text, no magic bytes
MIME typeapplication/x-coldfusion (server-side); client receives text/html
Supported enginesAdobe ColdFusion 2023 (current), Lucee (open-source, actively maintained), OpenBD (less active)
Original developerAllaire Corporation (1995); acquired by Macromedia, then by Adobe in 2005
Companion extension.cfc (ColdFusion Component) files hold reusable class-like components; .cfm files are the page templates that produce output
Typical file size1 KB-500 KB (most templates 2-50 KB)
MVC framework supportCFWheels, FW/1 (Framework One), and Coldbox are common CFML MVC frameworks that dispatch to .cfm files
Released1995 (ColdFusion 1.0 by Allaire Corporation)
Latest versionAdobe ColdFusion 2023 (version 2023.0; codename Project Fortuna)
Specificationhelpx.adobe.com

CFM conversions

Community Q&A

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

Frequently asked questions

How do I open a .cfm file?
To read the source code: open it in any text editor (VS Code, Notepad++, Notepad). To run it and see the output: you need a ColdFusion (Adobe) or Lucee server - deploy the file and access it via a browser URL.
Can I double-click a .cfm file to open it?
Double-clicking will likely open it in a text editor (showing the CFML source). The file requires a ColdFusion or Lucee server to execute and produce HTML output - it cannot run on its own.
What is the difference between .cfm and .cfc?
.cfm is a page template that generates HTML output when accessed via a URL. .cfc (ColdFusion Component) is a reusable module with functions, similar to a class in other languages. Both contain CFML code.
Is ColdFusion still used in 2026?
Yes. Adobe ColdFusion 2023 is the current release. Many enterprise and government systems built in the early 2000s still run on ColdFusion stacks. Lucee (open-source) is also actively maintained.
What is Lucee and how does it relate to .cfm?
Lucee is a free, open-source CFML engine that runs .cfm and .cfc files. It is the community successor to Railo and is broadly compatible with Adobe ColdFusion templates.
Can I convert a .cfm file to PHP or HTML?
There is no automated converter. Converting to PHP requires manual rewriting of CFML tags and logic. To capture the HTML output, render the page on a server and save the browser output.

References

1Adobe ColdFusion CFML Referencehelpx.adobe.com
2ColdFusion Markup Language - Wikipediaen.wikipedia.org

Keep exploring

across the database

Top extensions this week

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

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