Which MIME types are related to file extension ".xlt"?

The .xlt file extension is associated with 2 MIME types:

application/msexcel, application/vnd.ms-excel.

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

About .xlt Files

XLT files are Microsoft Excel template files. They carry a predefined layout, formulas, and formatting to help you create new spreadsheets quickly.
The MIME types application/msexcel and application/vnd.ms-excel mark these as Excel-related files.

These files open in Microsoft Excel and can also be viewed or edited with programs like LibreOffice Calc.
Based on information from FilExt.com, XLT files are key for users who want to standardize new spreadsheets starting from a saved template.

Relationship between file extension and MIME type

A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.

File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.

File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.

Associated MIME types

application/msexcel, application/vnd.ms-excel

FAQs

How do I open an XLT file?

You can open XLT files primarily with Microsoft Excel. Since XLT is a template format, double-clicking the file will usually create a new workbook based on the template rather than opening the template itself. To edit the actual XLT file, launch Excel first and use File > Open to select the file manually.

What is the difference between XLT and XLTX files?

XLT is the legacy binary template format used by Excel 97-2003, whereas XLTX is the modern Open XML template format introduced in Excel 2007. XLTX files are generally smaller and less prone to corruption, but XLT files are required for compatibility with very old versions of Excel.

Can I convert an XLT file to the newer Excel formats?

Yes, you can easily convert an XLT file to XLSX or XLTX. Open the file in a modern version of Microsoft Excel, click File > Save As, and select Excel Workbook (.xlsx)* or Excel Template (.xltx)* from the file type dropdown menu.

How can I edit the XLT template itself instead of creating a new file?

To modify the template's structure, do not double-click the file icon. Instead, right-click the file and select Open (if available) or open Microsoft Excel, navigate to File > Open, and browse for your .xlt file. This prevents Excel from generating a copy (usually named Book1) and allows you to save changes directly to the template.

Are XLT files compatible with Google Sheets or LibreOffice?

Yes, both Google Sheets and LibreOffice Calc can open and edit XLT files. In Google Sheets, you must upload the file to your Google Drive first; it may be converted to the Google Sheets format automatically upon opening.

Are XLT files safe to open?

Generally, yes, but XLT files can contain macros (scripts) which may pose a security risk if the file comes from an untrusted source. Unlike the newer .xltx format (which cannot store macros) and .xltm (which can), the legacy .xlt format does not distinguish between macro-enabled and macro-free templates just by looking at the extension.

What is the correct MIME type for serving XLT files?

The standard MIME type for XLT files is application/vnd.ms-excel. When configuring a web server to serve these templates, ensure this type is set so browsers recognize the file as a Microsoft Excel component. You can find more details on this configuration at application/vnd.ms-excel.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why can one extension have multiple MIME types?

Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.