.OTS

OTS File

OpenDocument Spreadsheet Template
Ask a question
QUICK ANSWER

An OTS file is an OpenDocument Spreadsheet Template - the template counterpart to .ods, used in LibreOffice Calc and Apache OpenOffice. Opening an .ots file creates a new unnamed spreadsheet pre-filled with the template's styles and data; it does not open the template itself for editing. Open it in LibreOffice Calc (free), Apache OpenOffice Calc, or Microsoft Excel. To edit the template directly, use File > Templates > Edit Template in LibreOffice, or rename the file from .ots to .ods.

Developer: OASIS (originated at Sun Microsystems / OpenOffice.org) Category: Spreadsheet Files Open standard MIME: application/vnd.oasis.opendocument.spreadsheet-template
OPENS ON Windows macOS Linux Web
Related: .ODS · .NUMBERS · .XLSX · .XLSB

On this page

19k+ extensions indexed
Last reviewed Aug 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 OTS file format?

OTS (OpenDocument Spreadsheet Template) is a template file format used by spreadsheet applications such as LibreOffice Calc and Apache OpenOffice Calc. Many other spreadsheet programs also support this format. The format specification is based on XML as defined by the OASIS OpenDocument (ODF) standard. Technically, an .ots file is a ZIP archive containing XML files - structurally identical to an .ods spreadsheet file but flagged as a template by its internal mimetype entry. By default, opening a template from the file manager creates a new unnamed spreadsheet based on the template, leaving the original .ots file untouched.

Templates and their usage

An .ots file can serve as a base for generating any number of new .ods spreadsheet files with predefined styles and formatting. Besides formatting settings, a template file can define default layouts for document types such as shipping manifests or accounting worksheets. Users can also download community-created templates for popular document types. To edit the template directly, renaming it from .ots to .ods allows modification in any compatible application.

Security & safety

RISK: MEDIUM

OTS files can contain macros (Basic scripts) which execute on open - same risk as .ods macro files. LibreOffice and OpenOffice prompt before running macros. Disable macros in settings if the source is untrusted. No known exploits specific to the template format itself.

Format details

in a nutshell
FULL NAMEOpenDocument Spreadsheet Templateaka ODF Spreadsheet Template, OpenDocument Calc Template
DEVELOPEROASIS (originated at Sun Microsystems / OpenOffice.org)since 2005 (ODF 1.0, OASIS); ISO/IEC 26300 since 2006
MIME TYPEapplication/vnd.oasis.opendocument.spreadsheet-template
TYPEZIP-based package of XML files (template)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
First entry is uncompressed "mimetype" file containing "application/vnd.oasis.opendocument.spreadsheet-template" (distinguishes from .ods whose mimetype is the spreadsheet MIME)

Programs that open OTS files

Windows4 apps
Microsoft Excel Paid File > Open, select the .ots file. Excel treats it as a template and opens a new workbook.
LibreOffice Calc Open-source Double-click opens a new document from the template. To edit the template: Tools > Macros or File > Templates > Edit Template.
Apache OpenOffice Calc Open-source Double-click opens a new document from the template.
ONLYOFFICE Desktop Editors Open-source Open directly; ONLYOFFICE renders ODF templates with good fidelity.
macOS2 apps
NeoOffice Paid Open directly; macOS-native port of OpenOffice with OTS support.
LibreOffice Calc Open-source Double-click or File > Open. Full OTS support.
Linux2 apps
LibreOffice Calc Open-source Open directly; best ODF support on Linux.
Apache OpenOffice Calc Open-source Open directly.
Web2 apps
Google Sheets Free Upload .ots to Google Drive, then open with Google Sheets. Converts to Google Sheets format.
Collabora Online Freemium Native ODF support in browser-based LibreOffice.

Technical details

deep spec
File typeZIP-based XML package (ODF container format)
MIME typeapplication/vnd.oasis.opendocument.spreadsheet-template
Magic bytes50 4B 03 04 ("PK") - standard ZIP local file header signature at offset 0
EncodingUTF-8 (XML content files within ZIP); ZIP header fields are little-endian
CompressionDEFLATE (per ZIP entry); mimetype entry stored uncompressed as required by ODF
EncryptionOptional AES-256 (ODF 1.2+); Blowfish used in older ODF versions
Typical size5 KB - 2 MB (templates are usually small; grows with embedded images or many defined styles)
ODF standardODF 1.3 (OASIS, 2021); ISO/IEC 26300:2006 and subsequent revisions
Key ZIP entriesmimetype, content.xml (cells and formulas), styles.xml, meta.xml, settings.xml, Thumbnails/, manifest.xml
Digital signatureOptional XML digital signatures supported in ODF 1.2+, stored as documentsignatures.xml inside the ZIP
Open-on behaviorOpening creates a new unnamed .ods document; the .ots template file is never modified
Edit-template methodRename .ots to .ods to open and modify the template file directly in any compatible application
Max ZIP entries65,535 (ZIP specification limit); ODF adds no further restriction
OS supportWindows, Linux, macOS, Android, iOS
Released2005 (ODF 1.0, OASIS); ISO/IEC 26300 since 2006
Latest versionODF 1.3 (OASIS standard, 2021)
Open standardYes · royalty-free
Specificationwww.oasis-open.org

OTS conversions

Community Q&A

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

Frequently asked questions

Why does opening an .ots file create a new untitled document instead of opening the file?
That is the correct behavior for templates. Opening an .ots creates a new document based on the template, just like opening a .xltx in Excel. To edit the template itself, use File > Templates > Edit Template in LibreOffice, or rename .ots to .ods.
Can Microsoft Excel open .ots files?
Yes, Excel can open .ots (it treats it as a template), but support is less reliable than LibreOffice. For best results, convert to .xltx using LibreOffice first.
What is the difference between .ots and .ods?
.ods is a regular spreadsheet document; .ots is a template. Internally they are identical ZIP/XML structures - only the mimetype file inside differs.
How do I convert .ots to .xlsx?
Open in LibreOffice Calc (it opens as a new document), then File > Save As and choose .xlsx format.
Is OpenOffice.org Calc still supported?
OpenOffice.org (the original project) was discontinued; its successors are LibreOffice (actively developed, recommended) and Apache OpenOffice (minimal updates since 2023). Use LibreOffice.

References

1OASIS OpenDocument Format 1.3 specificationwww.oasis-open.org
2LibreOffice - Templateswww.libreoffice.org

Keep exploring

across the database

Top extensions this week

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

Related extensions

.ODSOpenDocument Spreadsheet
.NUMBERSApple Numbers spreadsheet
.XLSXMicrosoft Excel Open XML Workbook
.XLSBMicrosoft Excel Binary Workbook
.GSHEETGoogle Sheets Shortcut (Link to a Google Sheets spreadsheet)
.XLSMMicrosoft Excel Macro-Enabled Workbook (Open XML)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z