Apache OpenOffice (OpenOffice.org) master document
File type: Document file
An SXG file is a legacy master document used by StarOffice and OpenOffice.org Writer to organize large documents made up of separate files.
It brings linked documents together so they can be handled as one document, while their source files remain separate.
File type category:
Document file
Date updated: November 18, 2026
The SXG format was used for master documents in StarOffice and OpenOffice.org, the predecessor of Apache OpenOffice. A master document is useful for long works whose chapters or sections are maintained in separate documents.
An SXG file holds the master document structure and references to the component documents. The component files are not simply merged into the master file, so they may be needed to display the complete work.
SXG is a legacy format. Newer OpenDocument master documents use the .odm format. Apache OpenOffice Writer and LibreOffice Writer are available on multiple platforms and can handle many older StarOffice and OpenOffice.org documents.
Open the SXG file in Apache OpenOffice Writer or LibreOffice Writer. Keep the linked source documents in their expected locations; if they are missing, the master document may not show the complete work. Import support can vary because SXG is a legacy format.
If Apache OpenOffice Writer or LibreOffice Writer opens the SXG file, use File > Save As to save it as an OpenDocument master document (.odm). Keep the linked source documents available and check that they remain connected after saving. To make a fixed-layout copy, use Writer's PDF export; this does not replace the editable master document and its source files.
application/vnd.sun.xml.writer.globalSoftware applications that can open sxg files:
Software applications that can edit sxg files:
Software capable of saving sxg files:
Software apps that create sxg files:
Software apps that print sxg files:
Software applications that handle other tasks involving sxg files:
Microsoft Windows
Multiplatform