Which MIME types are related to file extension ".stw"?
The .stw file extension is associated with 11 MIME types:
application/vnd.sun.xml.writer.template, application/octet-stream, application/vnd.sun.xml.calc, application/vnd.sun.xml.calc.template, 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.
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
About .stw Files
STW files are used as templates and sometimes as complete documents.
They are most often created by OpenOffice.org applications for word processing. They hold preset styles, formatting, and layout details.
They use an XML-based format. This is indicated by MIME types like application/vnd.sun.xml.writer.template.
At times, STW files may also belong to Atari Works Wordprocessor documents. In that case the generic MIME type application/octet-stream is used.
Other MIME types in the list (for example, those beginning with application/vnd.sun.xml) refer to similar file types made for spreadsheet, drawing, presentation, and math templates in the OpenOffice suite.
- Main use: OpenOffice Writer templates that help start new text documents with pre-made designs.
- Other uses: They may serve as templates for Calc, Draw, Impress, or Math documents in the same suite.
- Alternate usage: In older systems, they are seen as Atari Works Wordprocessor documents.
- Software support: OpenOffice Writer, LibreOffice, StarOffice, and Atari Works Wordprocessor can open 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.writer.template, application/octet-stream, application/vnd.sun.xml.calc, application/vnd.sun.xml.calc.template, 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
FAQs
What is an STW file?
An STW file is primarily a document template created by StarOffice or older versions of OpenOffice Writer. It stores formatting styles, layouts, and default text to help users create consistent documents quickly. It is based on the legacy Sun XML format.
How do I open an STW file on Windows 10 or 11?
You can open .stw files using free office suites like Apache OpenOffice or LibreOffice. Since these programs support legacy formats, they can read the template and allow you to edit or save it as a new document.
Can I convert an STW file to Microsoft Word (DOCX)?
Yes, you can convert it using LibreOffice Writer. Open the .stw file, go to File > Save As, and select Microsoft Word 2007-365 (.docx) from the file type dropdown menu.
What is the MIME type for STW files?
The standard MIME type for OpenOffice Writer templates is application/vnd.sun.xml.writer.template. If the file is an Atari Works document, it may appear as application/octet-stream. For a full list of related types, visit mime-type.com.
Why can't I open my STW file in LibreOffice?
If LibreOffice cannot open the file, it might be an unrelated Atari Works Wordprocessor document. These are older files from the Atari ST era and require specialized emulation software or legacy converters to view.
What is the difference between STW and OTT files?
The .stw extension represents the older StarOffice XML format, while .ott represents the modern OpenDocument Template standard. It is recommended to save your templates as .ott for better long-term compatibility.
Are STW files safe to open?
Generally, yes, but like any document template, they can contain macros. If you download an .stw file from an unknown source, disable macros in your office suite settings before opening it to prevent potential security risks.
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.