Skip to content

Importing and Exporting

andre-carbajal edited this page Oct 20, 2026 · 1 revision

Importing and exporting

Import an existing pack

Packwiz can convert a local CurseForge pack or a Modrinth .mrpack file into packwiz metadata:

packwiz curseforge import /path/to/pack.zip
packwiz modrinth import /path/to/pack.mrpack

CurseForge also accepts an instance's manifest.json or minecraftinstance.json file. Imports are applied to the current packwiz directory: they create or modify metadata, versions, and indexes, and may copy configuration files included in the pack. Import into a new folder or make a backup first if you do not want existing files to be replaced.

Export to a platform

From the pack folder, run the appropriate command:

packwiz modrinth export
packwiz curseforge export

This creates a Modrinth .mrpack or a CurseForge .zip. Choose the output location with -o <file-or-directory>. CurseForge export includes client files by default; use --side server for a server pack.

Before exporting, packwiz checks the metadata and updates the index. In strict mode, each managed mod must have a valid file reference on the destination platform. If a reference is missing, packwiz stops the export and tells you what needs to be resolved.

Link the same file across CurseForge and Modrinth

If a pack has references on only one platform, try to find and add the missing references for all mods:

packwiz link --all

You can also specify the file on the other platform for a particular mod:

packwiz link sodium --curseforge https://www.curseforge.com/minecraft/mc-mods/sodium/files/ID
packwiz link sodium --modrinth https://modrinth.com/mod/sodium/version/ID

Linking verifies that the file has exactly the same contents on both platforms. A matching name or version number is not enough. Searches may require access to the CurseForge API; if a lookup fails, check the error message and the configuration of the packwiz build you are using.

Export files without a platform reference

You can explicitly allow files without a platform reference to be packaged as overrides:

packwiz curseforge export --allow-overrides
packwiz modrinth export --allow-overrides

The destination platform may reject those files. Use this option only if you understand that limitation; local configuration and resource overrides are not the same as allowing mods without a platform reference.