What is a .odg file?
OpenDocument Graphics · Design · OASIS · 2005
ODG is the OpenDocument drawing and graphics format, the native format of LibreOffice Draw. It stores vector shapes, diagrams and page layouts as XML inside a ZIP package.
What is a .odg file used for?
An .odg file holds vector artwork, flowcharts and diagrams in the OpenDocument standard. Being a ZIP of XML, it starts with the ZIP signature and can be unzipped to inspect its parts.
It is mainly created and edited in LibreOffice Draw. To share widely, export it to PDF, SVG or PNG.
How to open a .odg file
The .odg format opens in the following apps, grouped by operating system. If one app does not work, try another from the same list. For a step-by-step walkthrough, see how to open a .odg file.
Windows
- LibreOffice Draw
- OnlyOffice
macOS
- LibreOffice Draw
Linux
- LibreOffice Draw
How to convert a .odg file
You can convert a .odg file to pdf, svg, png using a conversion tool or the export menu of an app that opens it.
.odg file signature (magic bytes)
Programs recognise a .odg file by the bytes at the start of the file, not by its name. These are the signatures for ODG. For a full breakdown, see the ODG file signature page.
| Hex signature | Offset | Note |
|---|---|---|
| 50 4B 03 04 | 0 | ZIP package (PK..) |
See the full magic-numbers reference for every format.
Frequently asked questions
What is a .odg file?
ODG is the OpenDocument drawing and graphics format, the native format of LibreOffice Draw. It stores vector shapes, diagrams and page layouts as XML inside a ZIP package.
How do I open an .odg file?
LibreOffice Draw opens it natively. To view it elsewhere, export to PDF, SVG or PNG from Draw.
What creates .odg files?
LibreOffice Draw is the main tool. It is the OpenDocument format for vector drawings and diagrams.
Can I open an .odg without LibreOffice?
Directly, few tools do. The reliable path is to have the sender export it to PDF or SVG, which open anywhere.
Related formats
Sources
Details on this page were checked against authoritative references: