Sometimes you need to export MongoDB to Fixed-Width Text, you can use Withdata MongoToFile as MongoDB to fixedwidth Exporter (Unloader / Extractor / Dumper).
Works GREAT on Windows, Mac and Linux.
Support Windows, Linux, and macOS.
Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Can run in GUI mode, Step by Step, just a few mouse clicks.
Can run in CLI (Command Line Interface), for Scheduled Tasks and Streams, for Automation.
Start Withdata MongoToFile, connect to MongoDB.

Click "Export From Query" at task dialog.

Select "Fixed-Width Text" file type.

1. Run a MongoDB query.

2. Set Fixed-Width Text options.

3. Set rows options.

4. Export MongoDB find result to Fixed-Width Text file.

After exporting, you can view output Fixed-Width Text file.

Click "Export From Collection" at task dialog.

Select "Fixed-Width Text" file type.

1. Choose a MongoDB collection to export.

2. Set Fixed-Width Text options.
You can export all mongodb collection columns, or select specific required columns by check/uncheck "Include" box.

3. Set rows options.

4. Export MongoDB collection to Fixed-Width Text file.
After exporting, you can view output Fixed-Width Text file.
Click "Export Similar Collections" at task dialog.

Select "Fixed-Width Text" file type.

1. Select MongoDB collections to export.

2. Set Fixed-Width Text options.

3. Set rows options.

4. Export multiple MongoDB collections to one Fixed-Width Text file.

After exporting, you can view output Fixed-Width Text file.
Click "Export All Collections" at task dialog.

Select "Fixed-Width Text" file type.

1. Select MongoDB collections to export.

2. Set Fixed-Width Text options.

3. List collections to be exported.

4. Summary.

5. Batch export MongoDB collections to Fixed-Width Text files.

After exporting, you can view output Fixed-Width Text files.
After exporting MongoDB to Fixed-Width Text in GUI, and Saving "MongoDB to Fixed-Width Text" session, then you can:
After exporting MongoDB to Fixed-Width Text in Command Line, then you can schedule and automate "MongoDB to Fixed-Width Text" conversion task by:
How long does it take to export MongoDB to Fixed-Width Text?
Is it safe to export MongoDB to Fixed-Width Text using MongoToFile?
Can I export MongoDB to Fixed-Width Text on Linux, Mac OS?
Can I export MongoDB to Fixed-Width Text in command line?
Can I batch export MongoDB collections to Fixed-Width Text files?