AGZ Converter

Extract text from MongoDB backups (AGZ)


Drop or upload your .AGZ file

How to extract text from your AGZ file

  1. Click the "Select File" button above, and choose your AGZ file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert AGZ to another file type

To convert AGZ backups to another format, you need mongodump or other Backup software.

Convert a file to AGZ

To convert other file formats to the "Database Dump Archive" file type, you need software like mongodump or a similar tool.


About AGZ files

The .AGZ file format is primarily used as a compressed database archive created by the mongodump utility for MongoDB. It contains binary representations of database collections, metadata, and indexes, all compressed using the GZIP algorithm. System administrators use these files to back up data, migrate clusters, or restore databases to a previous state safely.

The main disadvantage of the .AGZ format is its strict dependency on the MongoDB ecosystem. You cannot natively read the contents in a standard text editor or a web browser. Opening the file normally requires running the mongorestore command-line tool against an active MongoDB instance. This is highly inconvenient if you simply need to inspect a few records, extract a specific table, or audit the data without deploying a full database server environment.

Users frequently need to convert .AGZ files to raw BSON (Binary JSON) or readable JSON formats for data analysis or importing into alternative database systems. Extracting the archive often yields a standard GZ file or a folder structure containing binary files.

Because this is a specialized, binary-packed archive, standard online converters fail to process it. The internal data uses BSON serialization, which drops specific MongoDB data types (like ObjectIds or ISODates) if converted poorly to basic JSON. If our analysis detects a supported underlying GZIP structure, viewing the internal files or direct conversion may still be possible.

Convert.Guru analyzes your AGZ file, detects the exact format, and lets you read the text inside.

Users also converted BSON, S2, ZIP, PBIX and JSON files.


FAQ

If you want to convert AGZ file to JSON, you can use mongodump or similar software from the "Database Backup Archive" category. In the File menu, look for Save As… or Export….

To convert files to AGZ, try mongodump or another comparable tool in the "Database Backup Archive" category.



The AGZ Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our AGZ converter.