Which MIME types are related to file extension ".stc"?
The .stc file extension is associated with 11 MIME types:
application/vnd.sun.xml.calc.template, application/octet-stream, application/vnd.sun.xml.calc, application/vnd.sun.xml.draw, application/vnd.sun.xml.draw.template, application/vnd.sun.xml.impress, application/vnd.sun.xml.impress.template, application/vnd.sun.xml.math, application/vnd.sun.xml.writer, application/vnd.sun.xml.writer.global, application/vnd.sun.xml.writer.template.
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
About .stc Files
STC files are template files that store preformatted settings for creating new documents in various applications.
They use XML-based design and can be compressed into a binary format.
Based on information from FilExt.com, these files can serve different purposes depending on the MIME type.
- Calc Template: MIME type application/vnd.sun.xml.calc.template indicates a spreadsheet template for OpenOffice.org Calc.
- Draw Template: MIME type application/vnd.sun.xml.draw.template points to a drawing template used with OpenOffice.org Draw.
- Impress Template: MIME type application/vnd.sun.xml.impress.template designates a presentation template for OpenOffice.org Impress.
- Writer Template: MIME type application/vnd.sun.xml.writer.template means it is a text document template used with OpenOffice.org Writer.
- Additional Templates: Other MIME types like application/vnd.sun.xml.math and application/vnd.sun.xml.writer.global show use with math documents and global writer settings.
- Compressed Format: MIME type application/octet-stream signals a generic binary file. In this context, it has been used for StoneCracker S403 compressed files.
Programs like OpenOffice.org and LibreOffice can open and edit these files.
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/vnd.sun.xml.calc.template, application/octet-stream, application/vnd.sun.xml.calc, application/vnd.sun.xml.draw, application/vnd.sun.xml.draw.template, application/vnd.sun.xml.impress, application/vnd.sun.xml.impress.template, application/vnd.sun.xml.math, application/vnd.sun.xml.writer, application/vnd.sun.xml.writer.global, application/vnd.sun.xml.writer.template
FAQs
What is an STC file?
An .stc file is typically a Spreadsheet Template created by older versions of OpenOffice.org or StarOffice Calc. It contains pre-formatted layouts, formulas, and styles used to generate new spreadsheet documents without overwriting the original template.
How do I open an STC file?
You can open .stc files using free office suites like LibreOffice Calc or Apache OpenOffice. While modern software uses the newer OpenDocument formats, these programs retain backward compatibility to open, edit, and save legacy StarOffice templates.
Can I convert an STC file to Microsoft Excel (.xlsx)?
Yes, you can convert it by opening the file in LibreOffice or OpenOffice and using the Save As feature. Select Microsoft Excel 2007-365 (.xlsx) from the file type dropdown menu to save it in a format compatible with modern Excel versions.
What is the correct MIME type for STC files?
The standard MIME type for OpenOffice Calc templates is application/vnd.sun.xml.calc.template. If you are configuring a web server, ensure this type is set so browsers recognize the file. You can find more configuration details at mime-type.com.
Why won't my STC file open in Microsoft Excel?
Microsoft Excel does not natively support the older StarOffice/OpenOffice 1.0 XML formats. To view the file, it is best to install LibreOffice, or convert the file to .xls or .xlsx using an online converter or OpenOffice first.
What is the difference between STC and OTS files?
The .stc extension represents the legacy OpenOffice.org 1.0 XML format, whereas .ots is the modern OpenDocument Spreadsheet Template format used by current versions of LibreOffice. It is generally recommended to convert your .stc files to .ots for better long-term compatibility.
Could an STC file be something other than a spreadsheet?
Yes, in rare legacy contexts, an .stc file might be a compressed archive created by the Amiga utility StoneCracker. If your file does not open in a spreadsheet program, it may be a binary file associated with the MIME type application/octet-stream.
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.