.GBK

GBK File

InterBase / Firebird Database Backup
Ask a question
QUICK ANSWER

A GBK file is most often an InterBase database backup produced by the gbak utility. You restore it into a working database rather than opening it directly. The free Firebird engine and tools like IBExpert or FlameRobin handle GBK files on Windows, macOS, and Linux.

Developer: Borland / Embarcadero (InterBase); Firebird Project (gbak fork) Category: Database Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .DB · .DBF · .ACCDB · .SQL

On this page

19k+ extensions indexed
Last reviewed Jul 10, 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 GBK file format?

.gbk is the file extension for InterBase and Firebird database backups produced by the gbak command-line utility. Although .gbk files are bundled with Delphi and RAD Studio (as the sample employee.gbk InterBase database), the format belongs to the InterBase and Firebird database engines.

A .gbk backup is a portable binary dump of a complete database: its domains, tables, indexes, triggers, stored procedures, and all table data serialized by gbak. It is not a live database file and is not human-readable. To use it you must restore it into a live database with gbak -c (create) or gbak -r (replace). Firebird uses the same tool but conventionally names backups FBK.

The reason .gbk appears in Delphi documentation is that the InterBase Local example ships employee.gbk - a backup of the classic employee sample database. Restoring it gives developers a ready-made local database to prototype applications and focus on database access interface design without connecting to a production server. Delphi offers a rich library of prebuilt components and extensive support for database management systems, making it a natural environment for developing with restored .gbk databases.

Security & safety

RISK: LOW

A .gbk is passive backup data, not executable, so it can't run by itself. Real cautions: (1) it can contain an entire database of potentially sensitive records - treat it as confidential and store/transfer it securely; (2) restore only onto a trusted server, since a malicious backup could carry triggers/stored procedures that run on the restored database; (3) restore with a compatible-or-newer engine version, or the restore will fail. Keep the .gbk read-only until you have a known-good restored copy.

Format details

in a nutshell
FULL NAMEInterBase / Firebird Database Backupaka GBAK backup file, InterBase backup
DEVELOPERBorland / Embarcadero (InterBase); Firebird Project (gbak fork)since 1990s (InterBase gbak backup format)
MIME TYPEapplication/octet-stream
TYPETransportable binary database backup produced by the gbak utility
This extension is also used by…
  • GenBank sequence file (bioinformatics) - A plain-text NCBI GenBank flat file (DNA/RNA/protein with annotation) also uses .gbk (and .gb); open with SnapGene, UGENE or a text editor.
  • GBK (Guobiao Kuozhan) Chinese character encoding - GBK also names a Chinese (Simplified) character-encoding standard, not a file format - relevant when text is mojibake.
  • PFsense / config and game level backups - A few applications reuse .gbk as a generic 'backup' suffix (config or level backups), unrelated to InterBase.

Programs that open GBK files

Windows4 apps
gbak (InterBase / Firebird command-line) Free Restore, don't open: run gbak -c -user SYSDBA -password masterkey backup.gbk new.gdb then connect to new.gdb.
IBExpert Freemium Use Services > Restore Database to restore the .gbk into a live InterBase/Firebird database, then browse it.
Embarcadero InterBase Paid Use IBConsole's Backup/Restore (or gbak) to restore the .gbk; the sample employee.gbk targets this engine.
Delphi / RAD Studio Paid Delphi ships the employee.gbk sample; restore it via IBConsole/gbak, then connect from a Delphi data app.
macOS1 app
Firebird server + gbak Open-source Install Firebird, then gbak -c backup.gbk new.fdb to restore and access the data.
Linux1 app
Firebird server + gbak / FlameRobin Open-source Restore with gbak, then browse/query the restored database in FlameRobin (free admin GUI).

Technical details

deep spec
Format typeTransportable binary database backup (gbak logical dump)
DeveloperBorland / Embarcadero (InterBase); Firebird Project
EncodingBinary (engine-specific backup stream)
Byte orderPlatform-independent (gbak makes the backup transportable across platforms)
CompressionNone by default (logical, uncompressed dump; often externally zipped for storage)
EncryptionNone in the classic format; modern InterBase supports encrypted backups separately
Typical size~600 KB (employee.gbk sample) to many GB for production databases
Associated OSWindows, Linux, macOS (via InterBase or Firebird server)
ContentDomains, tables, indexes, triggers, stored procedures, and all table data (metadata + rows)
Restore commandgbak -c source.gbk target.gdb (create) or gbak -r (replace existing database)
Version compatibilityBackup ODS version must match a compatible-or-newer engine for successful restore
Firebird equivalentFirebird conventionally uses .fbk for the same role, produced by the same gbak tool
MIME typeapplication/octet-stream (no registered MIME)
Integritygbak validates record and structure integrity during restore
Released1990s (InterBase gbak backup format)
Latest versionTied to the InterBase/Firebird engine version that created it
Specificationdocwiki.embarcadero.com

GBK conversions

Community Q&A

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

Frequently asked questions

What is a GBK file?
Most often it's an InterBase database backup made by the gbak tool (Firebird's version is .fbk). It's a portable binary dump of a whole database - not the live database and not text. You restore it rather than open it.
How do I open / restore a GBK file?
Restore it into a live database: gbak -c -user SYSDBA -password masterkey backup.gbk new.gdb, or use a GUI like IBExpert/IBConsole (InterBase) or FlameRobin (Firebird). Then connect with your application.
What is employee.gbk in my Delphi folder?
It's a backup of InterBase's classic sample 'employee' database, shipped with Delphi's iblocal example. Restore it (e.g. to employee.gdb) with gbak/IBConsole, then connect to it from a Delphi data application.
Can I open a GBK without InterBase?
You need an InterBase- or Firebird-compatible engine to restore it (Firebird is free and open-source). The backup format is engine-specific; a plain text editor or generic database tool won't read it.
Is GBK the same as a GenBank sequence file?
No. The same .gbk extension is also used by NCBI GenBank biological-sequence files, which are plain text and open in SnapGene/UGENE or a text editor. They are completely unrelated to InterBase backups.
What's the difference between GBK and FBK?
Both are gbak backups. By convention .gbk comes from InterBase and .fbk from Firebird (which forked from InterBase). You can restore an InterBase .gbk onto Firebird and re-back it up as .fbk.

References

1Embarcadero - Backing Up Databases (InterBase, gbak)docwiki.embarcadero.com
2Firebird - gbak Backup and Restore Utilitywww.firebirdsql.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.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.BINCD/DVD Disc Image (BIN/CUE)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.MDBMicrosoft Access Database (97-2003, Jet engine)
.FDBFirebird Database

Free file tools

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

Open the toolbox

Browse file extensions A-Z