Use PKHeX to Edit Pokémon Saves: It Opens Battery Saves Only, Never Save States

This guide combines a file-routing table, a dated upstream-and-fork release table, a hash-verified backup script and a recovery table, all built from the project’s own pages and release notes. PKHeX edits a decrypted battery save on a Windows PC; it cannot open an emulator save state, and it never talks to a console or cartridge. That is the whole answer to how to use PKHeX to edit Pokémon saves, and the job takes ten steps: identify the file, fetch the right build, make a verified backup, edit, export and replace. The project’s README says PKHeX expects saves that are not encrypted with console-specific keys, and the Pokémon Coders walkthrough states the first rule plainly: PKHeX “only works with battery saves.”

The project’s own repository describes a Windows Forms application which requires .NET 10. On the build question, as of 12 November 2026 the latest release in the hexbyt3/PKHeXth fork is v26.10.18-rev.3, a plugin update published on 10 November 2026 and marked Latest on that page. For the upstream project, take the newest tag on the kwsch/PKHeX releases page on the day you download.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

The file you hold decides whether PKHeX can open it

Step 1: Confirm the file is a battery save

Project Pokémon describes PKHeX as an open-source save file editor for the main series of Pokémon games. Its release notes for 25.10.26 list “Support for Legends: Z-A” among the additions. Whichever game you play, the question is the type of file. Pokémon Coders defines a save state as “a snapshot created by the emulator”, and PKHeX cannot edit one. The table sorts the files people usually end up holding.

What you holdOpens in PKHeX?What to do
A battery save (.sav) written by an emulatorYesCopy it out and back it up first (Step 5)
An emulator save stateNoFind the battery save instead; a snapshot is not a substitute
A save still on a cartridge or in a console’s memoryNo, because PKHeX never talks to hardwareExport it with a savedata manager (Checkpoint, save_manager, JKSM or SaveDataFiler); the save must not be encrypted with console-specific keys
A phone, browser or Mac as the only machineNo build is described in the READMECopy the battery save to a Windows PC and edit it there

Console players should note one more fact before editing anything: Nintendo’s Save Data Cloud list says Pokémon Scarlet and Violet, Sword and Shield and other Pokémon titles do not support Save Data Cloud (as of November 27, 2025). There is no cloud copy of those saves to fall back on, so the verified backup in Step 5 is the only safety net.

Step 2: Confirm you are on Windows with the .NET 10 runtime

Hysen Labs, summarising the README, notes that it describes no Android, iOS, browser or macOS build. If your emulator runs on a phone or a Mac, copy the battery save to a Windows PC.

On the Windows PC, install the .NET 10 Desktop Runtime from Microsoft’s .NET 10 download page, then move on to the download.

Upstream or the PKHeXth fork: the release pages as of 12 November 2026

Two repositories publish builds under the PKHeX name, and their newest pages say different things. As of 12 November 2026 the fork’s most recent release is a plugin revision from 10 November 2026; its 26.08.26 release, from 30 September 2026, is an older one. The table lines up the releases that matter for this job.

ReleaseDateWhat it added
Upstream 25.10.2627 October 2025Legends: Z-A support, with Pokédex, Trainer Info and event block editors for Z-A saves
Upstream 26.01.31January 2026Swampertite legality support, Gen 9a handling for 9,999 Mega Shards, and Showdown set parsing that recognises IVs and EVs entered in non-standard order
Upstream 26.08.2627 August 2026Batch Editor undo/redo, an affected-slot count while editing, improved reset/apply handling
Fork 26.08.26 (sysbot fork)30 September 2026Legality synced with upstream through 2026-09-29; includes AutoModPlugins (ALM) 26.08.26
Fork v26.10.18-rev.310 November 2026Plugin update, marked Latest on the fork’s releases page

Step 3: Download from a repository releases page

Download from the upstream releases page for a plain editing job. Take the fork only if you want its plugin build: its release notes describe plugin updates and the AutoModPlugins package, not a different way of editing a save. Unzip the download into its own folder and start PKHeX.exe.

A backup you can prove is identical, made before PKHeX opens anything

Step 4: Get the battery save out of its source

For an emulator, copy the battery save from wherever that emulator writes it; Pokémon Coders says that for Switch and 3DS you can right-click a game in your emulator and choose “Open Save Data Location.” For a console or cartridge, export it with one of the savedata managers the README names (Checkpoint, save_manager, JKSM or SaveDataFiler), since PKHeX expects saves not encrypted with console-specific keys. For a GameCube save, Dolphin’s ripping guide says a tool can extract a single save as a .GCI file, or dump the whole memory card as RAW or batch .GCI files, from a real memory card to the root of an SD card. If your 3DS game runs in an emulator, our Azahar guide for Pokémon covers the emulator before there is a save to export.

Step 5: Copy it, then prove the copy matches

Pokémon Coders is blunt about the backup: “Never ever skip this step. Creating a backup will let you have a failsafe in case you mess anything up.” It also advises working on a duplicate rather than the original. The PowerShell below makes both a timestamped backup and a working copy, compares file hashes, and stops with an error if anything differs. Change the first path to your save.

$ErrorActionPreference = 'Stop'

$source    = 'C:\Emulation\saves\game.sav'
$backupDir = Join-Path (Split-Path $source) 'backups'
$workDir   = Join-Path (Split-Path $source) 'work'
New-Item -ItemType Directory -Path $backupDir, $workDir -Force | Out-Null

$stamp  = Get-Date -Format 'yyyyMMdd-HHmmss'
$name   = [IO.Path]::GetFileNameWithoutExtension($source)
$backup = Join-Path $backupDir "${name}_${stamp}.sav"

Copy-Item -LiteralPath $source -Destination $backup

$srcHash  = (Get-FileHash -LiteralPath $source).Hash
$copyHash = (Get-FileHash -LiteralPath $backup).Hash
if ($srcHash -ne $copyHash) {
    Remove-Item -LiteralPath $backup
    throw "Backup hash mismatch, nothing was kept: $source"
}

Copy-Item -LiteralPath $source -Destination (Join-Path $workDir (Split-Path $source -Leaf))
Write-Host "Backup verified: $backup"

Open the file in the work folder from here on. The original and the stamped backup stay untouched until Step 10.

Open a save, view one Pokémon, change it, set it back

Step 6: Load, edit and set a Pokémon

Project Pokémon’s loading and saving tutorial gives the sequence.

  1. Choose File, then Open, and select the working copy of the save.
  2. Pick a Pokémon in the box, right-click it and choose View. In the tutorial’s words, “The tabs on the left should now show the Pokémon you chose.”
  3. Make the changes in those tabs.
  4. Right-click a slot on the right and choose Set. You do not have to choose the slot you loaded from, which the tutorial notes is also a way to clone a Pokémon.
  5. To keep just the Pokémon in the left tabs as its own file, choose File, then Save PKM.

Setting places the Pokémon in the open save; the file on disk changes only at the export in Step 9. Items are edited in the Items editor under the SAV tab, per Pokémon Coders. Legends: Z-A saves also have the Pokédex, Trainer Info and event block editors added in upstream 25.10.26.

What the red icon covers, and where Gen 3 and Gen 4 trip it

Step 7: Read the legality icon before you export

PKHeX marks whether a Pokémon is legal or hacked. Pokémon Coders: “The red danger icon indicates that a Pokemon isn’t legitimate.” The usual surprise comes from older games. Project Pokémon explains that the Personality Value is tied to a Pokémon’s IVs, gender, ability slot, nature and encounter slot, so a Gen 3 or Gen 4 Pokémon whose nature or PID has been modified can produce a PID mismatch error. When you change one of those fields by hand in those generations, expect the others to be questioned.

The icon tells you about the file; the ban warning is about where you use the Pokémon. Pokémon Coders says: “Editing online or competitive Pokemon WILL result in bans.” The project itself, in Hysen Labs’ summary of the README, “does not support or condone cheating at the expense of others” and asks that significantly hacked Pokémon stay out of battles and trades with people who are unaware. Offline and personal saves are the use the guide recommends.

Bringing in older Pokémon, Showdown sets and bulk changes

Step 8: Pick the route that matches the job

This step is optional. The PKHeX guides describe three routes beyond editing one Pokémon: dragging individual entity files, or an entire older save, into the PC Box view of the target save; pressing CTRL + T to load a Showdown set from the clipboard into the active editor tab; and the Batch Editor under Tools, Data, Batch Editor, which applies script operations to many Pokémon at once. Our guide to trading Pokémon between emulators covers moving Pokémon across emulators.

JobRouteIf it goes wrong
Fix or build one PokémonView, edit, SetEdit the slot again, or restore the backup
Bring in Pokémon from an older saveDrag the files or the older save into the PC Box viewRestore the backup
Build a team from a Showdown setCTRL + T, then SetEdit the slot again, or restore the backup
Change many slots at onceBatch EditorBatch Editor undo (added in upstream 26.08.26), otherwise the backup

The 26.08.26 release notes say: “Added: Batch Editor now supports undo/redo, shows the number of affected slots while editing, and has improved reset/apply handling.” In practice, read the affected-slot count before you apply a script, and reach for undo before the backup.

Exporting, replacing with the emulator shut, and the features that corrupt saves

Step 9: Export the save

Use File, then Export SAV, then Export main, as the Project Pokémon tutorial describes, and write the result into the work folder.

Step 10: Replace the save with the emulator closed, then reload

Pokémon Coders: “Before replacing anything, completely close your emulator. Never overwrite a save while the emulator is running.” Copy the exported save over the original, start the emulator, load the game and confirm the Pokémon you edited is there. If the game will not load the save, put the Step 5 backup back.

Which features can break the save, and the way back

FeatureDocumented consequenceRecovery
Set, then Export mainChanges only the slot you set; the file changes on exportEdit the slot again, or restore the backup
Items editor (SAV tab)Adds or modifies items in the open saveSet the item back, or restore the backup
Batch EditorApplies a script to every slot it matchesUndo (added in upstream 26.08.26), otherwise the backup
Block Data“Direct access to raw save memory blocks. Can easily corrupt your save.”Restore the backup

Keep the Step 5 backup until the edited save has loaded in the emulator and has been saved in game once. After that, archive it or delete it.

Elias Virtanen

Elias Virtanen

Games and consoles

Elias Virtanen covers games and consoles for Tech Insider: console and handheld hardware, game releases, emulators and the business of the games industry. His comparisons start from the makers' specifications and published independent results, and he says plainly what the evidence supports.

View all articles