Upload your level.dat and edit your singleplayer character's health, hunger, XP, inventory, Ender Chest, and position — plus armor on worlds up to 1.21.4 (from 1.21.5 armor and offhand are shown read-only). Before 26.1, singleplayer player data is stored inside the level.dat file; from 26.1 it is a separate players/data/<uuid>.dat file, which the Server Player Editor opens.
Accepts level.dat files from singleplayer worlds saved before 26.1 (e.g., .minecraft/saves/MyWorld/level.dat). This is the same file used by the Level.dat Editor, but this tool focuses on the Player compound inside it.
Quick steps
1Drag and drop your level.dat file from your singleplayer world folder
2Edit your character's health, hunger, XP level, and game mode
3Modify your inventory and Ender Chest contents (and armor slots on worlds up to 1.21.4)
4Click Download to save the modified level.dat
5Replace the original in your world folder with Minecraft fully closed
Example use cases
Recover lost items by editing your inventory after a death in hardcore
Set your character to full health and hunger after a tough situation
Teleport your character by changing X, Y, Z coordinates
Tips
Before 26.1, singleplayer player data is inside level.dat under the Player tag, while servers give each player a separate .dat file; from 26.1 singleplayer worlds use a separate file too
Always close Minecraft before replacing level.dat, or your edits will be overwritten
Frequently asked questions
How do I edit my Minecraft singleplayer inventory?
Close Minecraft, then upload your <world>/level.dat file here (from Minecraft 26.1 the character is in <world>/players/data/<uuid>.dat instead: open that in the Server Player Editor). Use the inventory grid to add, remove, or modify items and armor (on worlds from 1.21.5, armor and offhand are shown read-only for now). Download the modified level.dat and replace the original while Minecraft is still closed. Reopen the world and your edits are live.
Where is the singleplayer character data stored?
In singleplayer, your character data (inventory, health, XP, position, etc.) lives inside the world's level.dat file, under the Player NBT compound (from Minecraft 26.1 it moved to players/data/<uuid>.dat in the world folder — open that file in the Server Player Editor). On Windows: %AppData%\.minecraft\saves\<WorldName>\level.dat. On multiplayer servers, player data instead lives in playerdata/<uuid>.dat (players/data/<uuid>.dat from 26.1).
Can I recover lost items after dying in hardcore?
Only from a backup of level.dat made before you died — dropped items despawn after about 5 minutes and the editor can't restore items that aren't in the save. You can, however, add items back to your inventory by hand.
How do I change my player position or teleport offline?
Under Player Information, edit Current world position (X, Y, Z). Download and replace level.dat — when you reload the world, your character is at the new coordinates. Rotation and dimension can't be changed here.
Is it safe to edit level.dat for player data?
Low risk. The editor preserves unknown NBT tags, so modded player data round-trips untouched. Always keep a backup copy of your world folder before editing, and always close Minecraft first — otherwise the game overwrites your edits when it next saves.
Can I edit a Bedrock Edition inventory?
No. Bedrock keeps player data inside the world's LevelDB database (the db folder), not in a .dat file, so there is no file for this editor to open. It edits Java Edition worlds.
This editor works with singleplayer worlds where player data is stored inside the level.dat file (worlds saved before 26.1). For server player data, or a world from 26.1 on (players/data/<uuid>.dat), use the Server Player Editor.