Undertale save file location
%LOCALAPPDATA%\UNDERTALE\~/Library/Application Support/com.tobyfox.undertale/~/.config/UNDERTALE/Save files: file0, file9, undertale.ini. file0 is the save point data as plain text, one value per line (name, LOVE, HP, gold, items, flags...). file9 is written at the end of a route; undertale.ini holds persistent flags the game remembers across resets.
Cloud saves: Steam Cloud keeps copies in Steam\userdata\<id>\391540\remote. Turn cloud sync off while editing, or Steam may put the old file back.
What you can edit
- JSON / XML / Base64 Save Editor (ours): any value stored in the file, through the tree view and value search.
- Undertale Save Editor: every line of file0 with a description, undertale.ini flags.
- Flowey's Time Machine: name, LOVE, HP, gold, items, room, route flags.
Undertale save editors and tools
JSON / XML / Base64 Save Editor
Ours · runs in your browserPlain JSON, XML, Base64, gzip/zlib/deflate-wrapped and plain-text saves from Unity, GameMaker, LÖVE and web games: decode, edit, and save back in the same encoding.
Open the editorUndertale Save Editor
Works- every line of file0 with a description
- undertale.ini flags
Web edition at cofeiini.github.io/UndertaleSaveEditor; desktop builds on the releases page.
Flowey's Time Machine
Works- name, LOVE, HP, gold, items, room
- route flags
Web editor at crumblingstatue.github.io/FloweysTimeMachine.
We link only to the tool author's own page (GitHub, Nexus Mods or the official site). Download tools from there, never from re-uploads.
How to edit your Undertale save
- Back up the saveClose Undertale and copy the whole save folder somewhere safe before changing anything. See how to back up game saves.
- Find the save fileGo to %LOCALAPPDATA%\UNDERTALE\ (Windows) and find file0, file9, undertale.ini.
- Edit itOpen the file in our JSON / XML / Base64 editor, change the values you want and download the edited copy.
- Put it backReplace the original file with the edited one (same file name), then start Undertale and load the save.
Tips and common problems
- Line numbers matter: never add or remove lines in file0, only change values.
- Delete undertale.ini as well as file0 for a true reset; the game remembers some choices there.
- Back up file9 too if you have finished a route.
If the save won't load
- Put your backup back first; most "corrupted save" messages come from a value outside what the game accepts.
- Make sure the edited file has exactly the original name (remove
-edited). - Check the cloud-save note above: the old copy may have been downloaded again.
FAQ
Where is the Undertale save file?
Windows: %LOCALAPPDATA%\UNDERTALE\. macOS: ~/Library/Application Support/com.tobyfox.undertale/. Steam Deck / Linux: ~/.config/UNDERTALE/.
Why does Undertale undo my save edits?
Steam Cloud keeps copies in Steam\userdata\<id>\391540\remote. Turn cloud sync off while editing, or Steam may put the old file back.
Similar games

Deltarune

HoloCure - Save the Fans!
RPG Maker Games

Stardew Valley

Darkest Dungeon

Balatro
This page is unofficial and not affiliated with Toby Fox. Undertale and its trademarks belong to their owners. Edit saves only for single-player play; we don't cover online games, anti-cheat or piracy.
