.SXW

SXW File

StarOffice / OpenOffice.org 1.x Writer document
Ask a question
QUICK ANSWER

An SXW file is a word-processing document from StarOffice or OpenOffice.org 1.x Writer (2002-2005) - the direct predecessor of the .odt format. Open it for free in LibreOffice or Apache OpenOffice; Microsoft Word cannot open .sxw directly. The standard next step is to save it as .odt or .docx to move it into a current format.

Developer: Sun Microsystems (StarOffice / OpenOffice.org); the OpenOffice.org 1.0 XML format Category: Text Files Open standard MIME: application/vnd.sun.xml.writer
OPENS ON Windows macOS Linux Android Web
Related: .DOC · .ODT · .DOCX · .GDOC

On this page

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

.sxw is a text document file originally generated by StarOffice Writer. .sxw files store text data along with charts, images, and other elements. They can also hold information regarding text formatting, font style and size, and page layout.

The .sxw format is a ZIP archive packaging several XML files: content.xml (document body), styles.xml (formatting), meta.xml (metadata), and settings.xml. The XML data is UTF-8 encoded and follows the OpenOffice.org 1.x XML schema - an older, DTD-based format that is the direct predecessor of the later OASIS .odt standard. Renaming any .sxw to .zip lets you inspect its internals directly.

.sxw was introduced in 2002 with OpenOffice.org 1.0 and StarOffice 6.0. It is the Writer member of the legacy "SX" family, alongside .sxc (spreadsheets) and .sxi (presentations). .sxw files were later used by Apache OpenOffice Writer, which replaced the original StarOffice Writer. When OpenOffice.org 2.0 arrived in 2005, it adopted .odt as the default save format. Today, LibreOffice still opens .sxw files; saving to .odt or .docx is recommended for broad compatibility.

Security & safety

RISK: LOW

.sxw files are ordinary documents and low risk. The one caveat shared by all office formats: they can contain macros (StarBasic), which LibreOffice/OpenOffice block or prompt about by default - never enable macros in an unexpected document. As ZIP packages they can in principle hold embedded objects with malicious links; opening with macros disabled is safe. Being a legacy format, most .sxw files are old, benign archives. Use a local app (LibreOffice) rather than an online converter for sensitive content.

Format details

in a nutshell
FULL NAMEStarOffice / OpenOffice.org 1.x Writer documentaka OpenOffice.org Writer document, StarOffice Writer document
DEVELOPERSun Microsystems (StarOffice / OpenOffice.org); the OpenOffice.org 1.0 XML formatsince 2002 (OpenOffice.org 1.0 / StarOffice 6.0)
CATEGORYText Files
MIME TYPEapplication/vnd.sun.xml.writer
TYPEZIP-based package of XML files (legacy OpenOffice.org XML, predecessor of ODF/ODT)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
Like ODT, an .sxw is a ZIP archive; the first archive entry is an uncompressed file named "mimetype" containing "application/vnd.sun.xml.writer", so the MIME string is readable in the raw bytes shortly after the header. Rename .sxw to .zip to inspect content.xml, styles.xml, meta.xml inside.

Programs that open SXW files

Windows2 apps
LibreOffice Writer Open-source Open the .sxw directly (it opens legacy OpenOffice.org formats). Then File → Save As .odt or .docx to modernize. The recommended, actively developed choice.
Apache OpenOffice Writer Open-source Opens .sxw natively as the direct descendant of OpenOffice.org. Note the project is only lightly maintained - LibreOffice is preferred.
macOS1 app
LibreOffice Writer Open-source Free download (Apple silicon/Intel); opens .sxw natively and resaves to .odt/.docx.
Linux1 app
LibreOffice Writer Open-source Preinstalled on most desktop distributions; double-click the .sxw to open. Batch: 'soffice --headless --convert-to odt *.sxw'.
Android1 app
Collabora Office Open-source LibreOffice-based mobile app; opens legacy .sxw and lets you save as .odt/.docx.
Web1 app
CloudConvert / online ODF converters Freemium Upload the .sxw to convert it to .odt/.docx/.pdf in a browser. Use only for non-sensitive documents (files are uploaded to a third party).

Technical details

deep spec
ContainerZIP archive (magic bytes PK 03 04 at offset 0); rename to .zip to inspect internal files
MIME typeapplication/vnd.sun.xml.writer
XML schemaOpenOffice.org 1.x DTD-based XML; distinct from and predecessor of the OASIS ODF Relax-NG schema used by .odt
First archive entryUncompressed file named mimetype containing the literal MIME string, making it readable in raw bytes just after the ZIP header
Key internal filescontent.xml (body text), styles.xml (formatting rules), meta.xml (document metadata), settings.xml, Pictures/ folder
Text encodingUTF-8 inside all XML files
CompressionDEFLATE per ZIP entry; the mimetype entry is stored uncompressed to enable MIME sniffing
IntegrityCRC-32 checksum per ZIP entry; no document-level digital signature in the legacy format
EncryptionNone by default; optional ZIP-level password protection encrypts individual entries
Typical file size5 KB to a few MB, depending on text volume and embedded images
Format familyMember of the OpenOffice.org 1.x SX family: .sxc (Calc), .sxi (Impress), .sxd (Draw), .stw (Writer template)
Superseded byODT (OpenDocument Text, ODF) - adopted as default in OpenOffice.org 2.0 (2005)
DeveloperSun Microsystems (StarOffice / OpenOffice.org project)
Platform supportWindows, macOS, Linux, Solaris (original StarOffice target platform)
Released2002 (OpenOffice.org 1.0 / StarOffice 6.0)
Latest versionOpenOffice.org 1.x XML format; superseded by ODF/ODT from OpenOffice.org 2.0 (2005)
Open standardYes · royalty-free
Specificationwww.openoffice.org

SXW conversions

Community Q&A

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

Frequently asked questions

What is an .sxw file?
A word-processing document from StarOffice / OpenOffice.org 1.x Writer (2002-2005) - the direct predecessor of the .odt format. It's a ZIP package of XML files holding the text, styles and metadata.
How do I open an .sxw file?
Open it for free in LibreOffice or Apache OpenOffice, both of which read the legacy format natively. Then save it as .odt (open format) or .docx (for Word users) to modernize it. Microsoft Word cannot open .sxw directly.
Can Microsoft Word open .sxw files?
No - Word doesn't support the legacy OpenOffice.org XML format. Open the .sxw in LibreOffice and Save As .docx, then open that in Word.
What's the difference between .sxw and .odt?
They're generations of the same idea: both are ZIP+XML word-processing documents from the OpenOffice.org lineage. .sxw is the older OpenOffice.org 1.x format; .odt is its OASIS-standardized successor (ODF) introduced in OpenOffice.org 2.0 (2005). .odt is the modern format.
How do I convert .sxw to .docx or PDF?
Open the file in LibreOffice and use Save As .docx or Export As PDF. For many files at once: 'soffice --headless --convert-to docx *.sxw' (or 'pdf').
Is .sxw still used?
Rarely - it was superseded by .odt around 2005, so almost every .sxw is an old document. You'll mostly meet one when opening archived files; the fix is to resave it in a current format.

References

1Wikipedia - OpenOffice.org XML / StarOffice formatsen.wikipedia.org
2OpenOffice.org XML File Format (general)www.openoffice.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.BINCD/DVD Disc Image (BIN/CUE)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.TXTPlain Text File
10.MDMarkdown Document

Related extensions

.DOCMicrosoft Word 97-2003 Document
.ODTOpenDocument Text
.DOCXMicrosoft Word Open XML Document
.GDOCGoogle Docs Shortcut (Link to a Google Docs document)
.LSTList File (generic plain-text list / listing)
.VNTvNote (mobile phone text note / memo)

Free file tools

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

Open the toolbox

Browse file extensions A-Z