Loading...
How to use the Level.dat Editor
Upload and edit your Minecraft level.dat file directly in the browser. Modify game rules, difficulty, time of day, weather, spawn point, world border, and view active mods. Works with both vanilla and modded worlds. Up to 1.21.8 all of them are in level.dat. From 1.21.9 the spawn point and world border moved out, from 1.21.11 game rules changed format, and from 26.1 game rules, time, weather and difficulty moved out too — the editor shows which, and the command to use instead.
Quick steps
- 1Drag and drop your level.dat file onto the upload area, or click to browse
- 2Edit settings using the visual form — game rules, difficulty, time, weather, and more
- 3Review your changes in the changes panel
- 4Click Download to save the modified file
- 5Replace the original level.dat in your world folder with Minecraft fully closed
Example use cases
- Enable keepInventory or disable mobGriefing without opening the game (worlds up to 1.21.10)
- Change the world spawn point to a new location (worlds up to 1.21.8)
- Adjust the world border size and center for a server event (worlds up to 1.21.8)
Tips
Frequently asked questions
How do I edit level.dat without opening Minecraft?
Where is the level.dat file stored?
Can I change the world seed or spawn point from level.dat?
Is editing level.dat safe? Can it corrupt my world?
What is level.dat_old, and can I restore from it?
How do I turn off Villager Trade Rebalance or another experiment?
Does this editor work with modded Minecraft?
Can I edit a Bedrock Edition level.dat?
Related tools
Single Player Editor
Edit singleplayer inventory, stats, and position (before 26.1).
Server Player Editor
Edit server player data from UUID .dat files.
Nether Portal Calculator
Convert Overworld ↔ Nether coordinates and check portal linking.
Bedrock Level.dat Editor
Edit a Bedrock world's name, seed, spawn, game mode and game rules.