.GGB

GGB File

GeoGebra Document
Ask a question
QUICK ANSWER

A GGB file is a GeoGebra worksheet that stores an interactive math construction -- geometry, algebra, graphs, or calculus. Open it with GeoGebra Classic (free, Windows/macOS/Linux/Android/iOS) or in any browser at geogebra.org/classic without installing anything. The file is safe to open: it is a ZIP archive containing XML data, not an executable.

Developer: GeoGebra (International GeoGebra Institute) Category: Data Files Open standard MIME: application/vnd.geogebra.file
OPENS ON Windows macOS Linux Android iOS Web
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

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

A file with the .ggb extension contains a GeoGebra worksheet document compressed using the ZIP algorithm. .ggb is a mathematical project format used mainly in education for teaching geometry, algebra, statistics, and mathematical analysis. Because it is a ZIP archive, you can rename any .ggb file to .zip to inspect or extract its contents. A typical .ggb archive consists of files such as:

  • geogebra.xml - stores complete information in XML-based format about the given GeoGebra project
  • geogebra_thumbnail.png - a small preview image of the construction
  • geogebra_javascript.js - global JavaScript definitions for the .ggb file
  • geogebra_defaults2d.xml, geogebra_defaults3d.xml - definitions for default elements of 2D and 3D constructions

.ggb constructions can be exported into HTML5 applets and image files - .png, .jpg, and others. XML files that are part of a .ggb file can be edited outside of GeoGebra, but this should be done by following the specification included in ggb.xsd to avoid corrupting the file and making it unreadable. GeoGebra was developed in 2001 by Markus Hohenwarter as his master's thesis project and is maintained by the International GeoGebra Institute. GeoGebra software is available for PC systems (Windows, macOS, and Linux) and mobile devices (Android and iOS). The free GeoGebra HTML5 web platform is also available, requiring no installation.

Security & safety

RISK: LOW

A .ggb is data (XML in a ZIP), not an executable, so opening one is safe. The only active content is optional worksheet JavaScript that runs inside GeoGebra's sandbox; open files from unknown sources in the latest GeoGebra version. No known malware uses this format.

Format details

in a nutshell
FULL NAMEGeoGebra Document
DEVELOPERGeoGebra (International GeoGebra Institute)since 2001 (GeoGebra 1.0, originated as Markus Hohenwarter's master's thesis)
CATEGORYData Files
MIME TYPEapplication/vnd.geogebra.file
TYPEZIP-based container holding XML construction data plus a preview image (binary container, text payload)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
A .ggb is a ZIP archive; identify it by the internal geogebra.xml entry (other ZIPs lack it). Rename .ggb to .zip to inspect.

Programs that open GGB files

Windows1 app
GeoGebra Classic Free Install GeoGebra Classic, then File → Open and pick the .ggb (or just double-click it).
macOS1 app
GeoGebra Classic Free Open GeoGebra Classic and choose File → Open, or drag the .ggb onto the app.
Linux1 app
GeoGebra Classic Free Install via the GeoGebra .deb/.rpm/AppImage/Snap, then open the .ggb.
Android1 app
GeoGebra Classic (Android) Free Install the GeoGebra Classic app and open the .ggb from your files or a shared link.
iOS1 app
GeoGebra Classic (iOS) Free Install GeoGebra Classic from the App Store and open the .ggb file.
Web1 app
GeoGebra Classic (web app) Free Open geogebra.org/classic, use the menu → Open, and upload or drag the .ggb - no install needed.

Technical details

deep spec
MIME typeapplication/vnd.geogebra.file
Container formatZIP archive; magic bytes 50 4B 03 04 ("PK") at offset 0
Primary data filegeogebra.xml - XML document encoding the full construction
Preview imagegeogebra_thumbnail.png - embedded PNG snapshot of the construction
Scripting filegeogebra_javascript.js - optional global JavaScript definitions for dynamic behavior
Default settings filesgeogebra_defaults2d.xml and geogebra_defaults3d.xml - default element properties for 2D and 3D views
XML schemaggb.xsd defines the valid structure of geogebra.xml; hand-editing must conform to this schema
Subject areasGeometry, algebra, calculus, statistics, spreadsheet, and 3D graphics in a single file
Export targetsHTML5 applet, PNG, JPEG, SVG, PDF, and animated GIF
Identification tipRename .ggb to .zip to open in any archive tool; presence of geogebra.xml entry distinguishes it from generic ZIPs
Platform supportWindows, macOS, Linux (desktop); Android, iOS (mobile); web browser (HTML5, no installation)
Related formats.ggt (GeoGebra Tool file), .ggs (GeoGebra Script file)
Internal encodingXML payload stored as UTF-8 text; PNG thumbnail stored as binary; both compressed with ZIP Deflate
App compatibilityGeoGebra Classic, GeoGebra Geometry, GeoGebra 3D Calculator, GeoGebra Graphing Calculator
Released2001 (GeoGebra 1.0, originated as Markus Hohenwarter's master's thesis)
Open standardYes · royalty-free
Specificationgeogebra.github.io

GGB conversions

Community Q&A

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

Frequently asked questions

How do I open a .ggb file?
Use GeoGebra Classic - free on Windows, macOS, Linux, Android, iOS, and as a web app at geogebra.org/classic where you can open it without installing anything.
Can I open a .ggb file without installing GeoGebra?
Yes. Go to geogebra.org/classic in any browser and open or drag your .ggb file into the web app.
Is a GGB file a ZIP file?
Yes - internally a .ggb is a ZIP archive containing geogebra.xml (the construction) and a thumbnail. Rename a copy to .zip to look inside.
How do I turn a GGB into a picture or PDF?
Open it in GeoGebra and use File → Export to save the view as PNG, SVG, or PDF. The export is static - the math is no longer interactive.
Can I edit a GGB file in a text editor?
You can unzip it and edit geogebra.xml, but GeoGebra may overwrite or reject unexpected changes when it re-saves. For normal edits, change the construction inside GeoGebra.
Why won't my .ggb open / says it's corrupted?
It may have been truncated in download/transfer, or made in a much newer GeoGebra version. Re-download it and use the latest GeoGebra Classic.

References

1GeoGebra Manual - File Format referencegeogebra.github.io
2GeoGebra - Download / appswww.geogebra.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.RPMSGRestricted Permission Message
6.BINCD/DVD Disc Image (BIN/CUE)
7.M4AMPEG-4 Audio File
8.EXEWindows Executable (Portable Executable)
9.JSONJavaScript Object Notation file
10.MDMarkdown Document

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

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

Open the toolbox

Browse file extensions A-Z