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.
Accepts level.dat files — the world settings file found in every Minecraft save folder (e.g., .minecraft/saves/MyWorld/level.dat).
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
Always close Minecraft completely before replacing the file, or the game will overwrite your edits on save
Your file is processed entirely in the browser and never uploaded — the only thing sent is the player UUID inside a singleplayer level.dat, used to look up that player's name and skin
Frequently asked questions
How do I edit level.dat without opening Minecraft?
Upload your level.dat file here, make changes with the visual editor, then download the modified file and replace the original in your world folder. Crucially, Minecraft must be fully closed when you swap the file — otherwise the game overwrites your edits when it next saves.
Where is the level.dat file stored?
Each world has its own level.dat inside the save folder. On Windows: %AppData%\.minecraft\saves\<WorldName>\level.dat. On macOS: ~/Library/Application Support/minecraft/saves/<WorldName>/level.dat. On servers the file lives in the world directory alongside the player files.
Can I change the world seed or spawn point from level.dat?
You can change the spawn point (SpawnX, SpawnY, SpawnZ) directly — just edit the Spawn Point fields in the Spawn & Border section and download. That works for worlds up to 1.21.8; from 1.21.9 the spawn is stored differently, so use /setworldspawn in-game. Changing the seed is not supported, because terrain is generated from the original seed and changing it would desync chunks that are already generated on disk.
Is editing level.dat safe? Can it corrupt my world?
Editing level.dat itself is low-risk — worst case Minecraft warns about a bad value and reverts to default. Always keep a backup copy of the whole world folder before editing. The editor runs entirely in your browser — your file is not uploaded anywhere, so you can trust the process.
What is level.dat_old, and can I restore from it?
Every time Minecraft saves, it keeps the previous level.dat as level.dat_old in the same folder, and loads it by itself if level.dat is unreadable. You can open level.dat_old here: the download is named level.dat, so putting it in place of your current level.dat (with Minecraft closed) rolls the world settings back to that earlier save. Keep a copy of the current level.dat first.
Does this editor work with modded Minecraft?
Yes — level.dat is the same binary format in vanilla and modded. Modded worlds include extra mod-specific NBT which this editor preserves untouched and displays in a read-only view. You can safely edit the vanilla fields this editor supports for the version of your world without corrupting mod data.
Can I edit a Bedrock Edition level.dat?
Not with this editor: it reads Java Edition files. A Bedrock level.dat is a different format (uncompressed, little-endian, with an 8-byte header), and the editor tells you if you open one. A .mcworld file is a Bedrock world export, so it is turned away too.