Loading...

XHTML

xhtml icon

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 apps that create xhtml files:

Microsoft Windows

Apple macOS / Mac OS X

Software apps that export xhtml files:

Articles about xhtml files

June 1, 2016

Cross-browser testing tools

Anyone who ever had a website sooner or later discovers that his web is screwed in some of the versi...

Read more 1,679 views
February 25, 2011

How to create epub ebook

Read more 1,487 views

Related file extensions