#1273·zoxide

Feature request: Add an export command for the database

Author: hongphong214365Created Jul 26, 2026Updated Aug 3, 2026

Problem

Currently, zoxide stores its data internally, but there is no built-in way to export the database in a portable format.

This makes it difficult to:

  • Back up my zoxide data.
  • Migrate to another computer.
  • Synchronize data between multiple machines.
  • Inspect or process the database with external tools.

Proposed solution

Add a comm

and such as:

bash
zoxide export

or

bash
zoxide export --format json

Possible output formats could include:

  • JSON
  • CSV
  • Plain text

The output could be written to stdout by default, making it easy to redirect into a file.

Examples:

bash
zoxide export > zoxide.json
bash
zoxide export --format csv > zoxide.csv

Why this would be useful

Many users periodically back up their development environment or move between machines. Having an official export command would make backup, migration, and automation much easier without relying on the internal database format.

Thanks for the great project!