XHTML

Extensible HTML document
File type: Internet related file
An xhtml file extension is associated with the Extensible HTML language used to extend HTML 4. An xhtml file stores document written in the XHTML.
What is xhtml file?
File type category:
Internet related file
Date updated: June 27, 2025
The xhtml file extension is generally reserved for files written in the Extensible HTML language.
XHTML is a family of current and future document types and modules that reproduce, subset, and extend HTML 4. These document types are XML based, and ultimately are designed to work in conjunction with XML-based user agents. As such, they are readily viewed, edited, and validated with standard XML tools.
XHTML documents can be written to operate as well or better than they did before in existing HTML 4-conforming user agents as well as in new, XHTML 1.0 conforming user agents. These can also utilize applications (e.g. scripts and applets) that rely upon either the HTML Document Object Model or the XML Document Object Model.
As the XHTML family evolves, documents conforming to XHTML 1.0 will be more likely to interoperate within and among various XHTML environments.
MIME types:
application/xhtml+xml
How to open xhtml file?
You can open and edit *.xhtml files in any text editor or you can try one of the many specialised programs (Adobe Contribute, Dreamweaver).
Also, any web browser (Firefox, Opera, Chrome, Internet Explorer) can view files in XHTML format as pages.
How to convert xhtml file?
You can search the web for some XHTML converters or simply copy and paste from browser into any text editor capable to convert XHTML tags into its document file format (eg. Microsoft Word).
You can also export print/save webpage into .pdf file using some PDF software solution (Adobe Acrobat, FinePrint etc.).
Suggested software to open xhtml file:
Associated software actions with the xhtml file
Software applications that can open xhtml files:
Adobe Dreamweaver (Microsoft Windows)
NotePad++ text editor (Microsoft Windows)
PSPad (Microsoft Windows)
Sublime Text (Microsoft Windows)
Stylus Studio (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Sublime Text for Mac (Apple macOS / Mac OS X)
Sublime Text for Linux (Linux/Unix)
Software applications that can edit xhtml files:
Adobe Dreamweaver (Microsoft Windows)
NotePad++ text editor (Microsoft Windows)
PSPad (Microsoft Windows)
Sublime Text (Microsoft Windows)
Stylus Studio (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Sublime Text for Mac (Apple macOS / Mac OS X)
Sublime Text for Linux (Linux/Unix)
Software capable of saving xhtml files:
Adobe Dreamweaver (Microsoft Windows)
NotePad++ text editor (Microsoft Windows)
PSPad (Microsoft Windows)
Sublime Text (Microsoft Windows)
Stylus Studio (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Sublime Text for Mac (Apple macOS / Mac OS X)
Sublime Text for Linux (Linux/Unix)
Programs for viewing xhtml files:
Adobe Dreamweaver (Microsoft Windows)
SeaMonkey (Microsoft Windows)
Chromium (Microsoft Windows)
Microsoft Edge (Microsoft Windows)
Opera browser (Microsoft Windows)
Google Chrome (Microsoft Windows)
Firefox (Microsoft Windows)
Safari for Microsoft Windows (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Google Chrome for Mac (Apple macOS / Mac OS X)
Opera browser for Mac (Apple macOS / Mac OS X)
Chromium for Mac (Apple macOS / Mac OS X)
Safari (Apple macOS / Mac OS X)
Firefox for Mac (Apple macOS / Mac OS X)
Google Chrome for Linux (Linux/Unix)
Opera browser for Linux (Linux/Unix)
Seamonkey for Linux (Linux/Unix)
Chromium for Linux (Linux/Unix)
Firefox for Linux (Linux/Unix)
Maxthon Cloud Browser (Multiplatform)
Google Chrome for iOS (Apple iOS)
Opera Mini for iOS (Apple iOS)
Opera Mini for Android (Google Android)
Opera Mobile (Google Android)
Opera Mini (Other operating systems or devices)
Software apps that create xhtml files:
Adobe Dreamweaver (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Software apps that export xhtml files:
Adobe Dreamweaver (Microsoft Windows)
Mayura Draw (Microsoft Windows)
Writer2LaTeX (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Software apps that print xhtml files:
Adobe Dreamweaver (Microsoft Windows)
SeaMonkey (Microsoft Windows)
Chromium (Microsoft Windows)
Microsoft Edge (Microsoft Windows)
Opera browser (Microsoft Windows)
Google Chrome (Microsoft Windows)
Firefox (Microsoft Windows)
Safari for Microsoft Windows (Microsoft Windows)
Adobe Dreamweaver for Mac (Apple macOS / Mac OS X)
Google Chrome for Mac (Apple macOS / Mac OS X)
Opera browser for Mac (Apple macOS / Mac OS X)
Chromium for Mac (Apple macOS / Mac OS X)
Safari (Apple macOS / Mac OS X)
Firefox for Mac (Apple macOS / Mac OS X)
Google Chrome for Linux (Linux/Unix)
Opera browser for Linux (Linux/Unix)
Seamonkey for Linux (Linux/Unix)
Chromium for Linux (Linux/Unix)
Firefox for Linux (Linux/Unix)
Maxthon Cloud Browser (Multiplatform)
Google Chrome for iOS (Apple iOS)
Opera Mini for iOS (Apple iOS)
Opera Mini for Android (Google Android)
Opera Mobile (Google Android)
Opera Mini (Other operating systems or devices)