lookup> .xls

.XLS·File Extension

Excel SpreadsheetLegacy Microsoft Excel binary spreadsheet format.

Extension.xls
File typeExcel Spreadsheet
CategoryDocument
Charset
CompressibleNo
Format familyxls

What is a .xls file?

A .xls file is a Excel Spreadsheet — Legacy Microsoft Excel binary spreadsheet format.

In the mime-db registry it maps to application/vnd.ms-excel, and it is marked as non-compressible. When serving .xls over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to application/vnd.ms-excel — and is delivered over HTTP via the Content-Type header.

  • Use Microsoft Excel or LibreOffice to open and edit .xls files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: application/vnd.ms-excel

Common software that reads/writes .xls:

Microsoft ExcelLibreOfficeGoogle Sheets
.xlsextension of
format
xlsserved as
mime type
application/vnd.ms-excelsent via header
http header
  • Reports and letters
  • Spreadsheets and budgets
  • Presentations
  • Ebooks
  • Open the file with Microsoft Excel, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .xls extension, or export this format from Microsoft Excel.

What programs can open .xls files?

Common options include Microsoft Excel, LibreOffice, Google Sheets. You can also open many of these files with built-in viewers or a browser.

How do I create a .xls file?

Create a new file in any text editor or the app that owns the format and save it with the .xls extension.

What is the relationship between .xls and the application/vnd.ms-excel MIME type?

application/vnd.ms-excel is the media type identifier used for .xls files during network transfer (for example in the HTTP Content-Type header).

Updated 2026-08-18

Related extensions

Related MIME types

Related headers

Related methods

Related status codes