.SGL file extension

To open .SGL files on Windows, install LibreOffice and open LibreOffice Writer, then use File → Open and select the .sgl file.

To open a .sgl file, use LibreOffice Writer or Apache OpenOffice Writer on a desktop computer. On mobile (iOS/Android), .sgl files typically aren’t supported directly—transfer the file to a desktop to open it.

Last updated: June 10, 2026 · Reviewed by Julian Stricker

What “reviewed” means on this page
  • Format fit: whether the “what is this file?” description matches common real-world use of the extension, including category, typical MIME types, and aliases.
  • Opening paths: whether Windows / macOS / Linux steps read plausibly for current OS dialogs and default apps; we remove fantasy menus and unsafe shortcuts.
  • Security framing: whether risk notes match the extension class (for example executables vs plain data) and whether affiliate wording does not contradict the security section.
  • Sources and further reading: whether external links point to vendors, standards bodies, or other primary references where possible; we avoid inventing details we cannot ground.
  • Limits: this is clarity and safety-messaging QA, not a guarantee that every statement is exhaustive or that every binary you download is harmless.

Full methodology in the Imprint The Imprint also states where AI is used and what that does—and does not—replace.

Open on your device

Choose your operating system for a dedicated step-by-step opening guide.

How to open .SGL files

Use these platform-specific instructions to open .SGL files safely.

Windows

  1. Install LibreOffice and open LibreOffice Writer, then use File → Open and select the .sgl file.
  2. If you use Apache OpenOffice, open Writer and use File → Open to load the .sgl master document.
Full Windows guide

Mac

  1. Install LibreOffice and open the file via LibreOffice Writer (File → Open).
  2. If the master document references other files (chapters), keep them in the expected locations so Writer can resolve links when opening.
Full Mac guide

Linux

  1. Open the file with LibreOffice Writer or Apache OpenOffice Writer (for example, from the file manager’s Open With menu).
  2. If your desktop uses shared-mime-info, .sgl may already be recognized as application/vnd.stardivision.writer-global; choose Writer as the default app if prompted.
Full Linux guide

iOS

  1. There is typically no reliable native app support for .sgl master documents; transfer the file to a desktop and open it in LibreOffice Writer or Apache OpenOffice Writer.
Full iOS guide

Android

  1. Android office apps commonly do not support .sgl master documents; move the file to a desktop and open it with LibreOffice Writer or Apache OpenOffice Writer.
Full Android guide

Security notes

  • .sgl is a document format handled by office suites; treat files from unknown sources cautiously because document parsers can have vulnerabilities and documents can embed complex content.
  • Master documents may reference external sub-documents; if a .sgl arrives without its companion files, avoid fetching missing parts from untrusted locations just to “make it work.”
  • If you must open an untrusted .sgl, prefer opening it in a fully updated LibreOffice/OpenOffice environment and consider using a restricted user account or sandboxing tools available on your OS.

What can hide inside an archive

Compressed packages can contain executables or scripts you only see after extraction. Double extensions and nested archives are common tricks. Scan unexpected downloads before unpacking, and extract to an empty folder so you can review contents safely.

We may earn a commission when you use affiliate links. This supports our free file extension guides.

Can't open this file?

These are the most common causes and fixes when .SGL files fail to open.

Common reasons

  • The .sgl file opens but the chapters/sections are missing
  • It won’t open in a typical archive tool
  • File opens with formatting or layout differences
  • Linux desktop shows an unexpected file association

Fix steps

  1. Make sure all referenced sub-documents were provided and placed in the correct folders relative to the .sgl file.
  2. If you can open the master document, update any broken links/paths inside Writer and re-save.

What is a .SGL file?

.sgl is associated with the StarOffice/StarWriter “Writer Global” (master document) format, which is used to manage a book-like document structure. A master document typically references or includes multiple component documents (chapters/sections) and helps manage shared elements like tables of contents and consistent formatting. On Linux desktops, the extension is mapped to the MIME type application/vnd.stardivision.writer-global.

Background

In the OpenOffice/StarOffice/StarWriter ecosystem, “master documents” are used to handle long works (for example, a report or book split into chapters). Instead of putting everything into one huge file, the master document acts as a container/manager that ties multiple documents together and can generate unified elements like a table of contents.

Apache OpenOffice documentation explains how master documents work and how users can create and manage them in Writer. The .sgl extension is listed among StarWriter-related formats, and OpenOffice’s type-detection documentation maps .sgl specifically to the Writer Global/master document MIME type.

LibreOffice Writer is known to support legacy StarOffice StarWriter formats, including .sgl, which makes it a practical choice today for opening older .sgl files—even if the original StarOffice environment is no longer available.

Common MIME types: application/vnd.stardivision.writer-global

Further reading

Authoritative resources for more details on the .SGL format.

Common .SGL issues

The .sgl file opens but the chapters/sections are missing

Master documents often reference other documents; if those component files were not copied along with the .sgl (or paths changed), Writer may not be able to load them.

  1. Make sure all referenced sub-documents were provided and placed in the correct folders relative to the .sgl file.
  2. If you can open the master document, update any broken links/paths inside Writer and re-save.

It won’t open in a typical archive tool

Despite the name “archive” in some listings, .sgl is commonly a Writer Global (master document) format rather than a general-purpose compressed archive.

  1. Try opening it with LibreOffice Writer or Apache OpenOffice Writer instead of an unzip/archiver tool.
  2. If you expected a compressed archive, confirm the file extension and source; it may have been mislabeled.

File opens with formatting or layout differences

Legacy StarWriter formats can render differently in modern suites, especially for complex styles, indexes, or document structures used by master documents.

  1. Open the file in both LibreOffice Writer and Apache OpenOffice Writer to compare results.
  2. Consider exporting to a modern format (for example, from within Writer) after verifying the layout.

Linux desktop shows an unexpected file association

File type recognition/associations come from the shared MIME database and your desktop’s chosen defaults; they can be misconfigured.

  1. Use Open With to select LibreOffice Writer or OpenOffice Writer and set it as the default for .sgl.
  2. If you manage MIME associations system-wide, verify that *.sgl is mapped to application/vnd.stardivision.writer-global in your shared-mime-info setup.

FAQ

What program opens .sgl files?

LibreOffice Writer and Apache OpenOffice Writer are the most common tools for opening .sgl (Writer Global/master document) files.

Is .sgl actually an archive file?

The most common meaning of .sgl in the provided sources is a StarWriter/OpenOffice “Writer Global” master document (MIME: application/vnd.stardivision.writer-global), not a general-purpose compressed archive like .zip.

Why does my .sgl file look empty?

Many master documents primarily contain structure and links to chapter files. If the referenced sub-documents are missing or moved, the master document may appear incomplete.

Can I open .sgl on iPhone/iPad or Android?

Mobile support is typically limited for legacy OpenOffice/StarWriter master documents. The most reliable approach is to open the file on a desktop using LibreOffice Writer or Apache OpenOffice Writer.

Similar file extensions

Compare related formats in the same category to find the right tool faster.