level.dat Editor — Edit Minecraft World Settings Online

Supports Minecraft Bedrock Edition and Java Edition — and every server core for both, popular or obscure: Vanilla, Paper, Spigot, Purpur, Folia, Fabric, Forge, NeoForge, Mohist, Sponge, Bedrock Dedicated Server, PocketMine-MP, Nukkit, PowerNukkitX, Cloudburst, Dragonfly, Endstone, LeviLamina and the rest. Full list.

level.dat is the file that holds everything a Minecraft world knows about itself: its name, game mode, difficulty, spawn point, game rules, weather state and the version it was last opened with. Drop it below to edit any of those values directly. Java files (gzip, big-endian) and Bedrock files (little-endian with an 8-byte header) are both handled, and the file is written back in the format it arrived in.

Java level.datBedrock level.datlevel.dat_oldgzip8-byte header

Drop level.dat here

level.dat · .nbt · .mcstructure · .schem · .schematic · .dat · chunk dumps

The tags people actually edit

A Java level.dat keeps almost everything inside a single Data compound; a Bedrock level.dat keeps its tags flat at the root. The names below are the ones worth knowing — search for any of them in the tree and the editor will jump to it.

TagTypeEditionWhat it controls
LevelNameStringBothThe world's display name. Stale after copying a world folder — the rename guide covers it.
GameType / gameTypeIntBoth0 survival, 1 creative, 2 adventure, 3 spectator.
DifficultyByte / IntBoth0 peaceful, 1 easy, 2 normal, 3 hard.
hardcoreByteBoth1 locks the world to hardcore rules.
allowCommands / commandsEnabledByteJava / BedrockWhether cheats are enabled.
SpawnX, SpawnY, SpawnZIntBothWorld spawn coordinates.
Time, DayTimeLongJavaTotal ticks and the time of day.
currentTickIntBedrockBedrock's equivalent world clock.
RandomSeed / WorldGenSettings.seedLongJavaWorld seed. Held as a real 64-bit value here, not a rounded double.
GameRules / individual gamerule tagsCompound / ByteJava / BedrockEverything /gamerule sets — see the game rules guide.
DataVersionIntJavaThe world format version. Check it before moving a world between Minecraft versions.
lastOpenedWithVersionList of IntBedrockThe Bedrock client or server build that last wrote the world.
PlayerCompoundBothSingle-player inventory, position and stats embedded in the world file.

Where level.dat lives

PlatformPath
Java server (Vanilla, Paper, Spigot, Fabric, Forge)world/level.dat, next to region/ and playerdata/
Java client, Windows%APPDATA%\.minecraft\saves\<World>\level.dat
Java client, macOS~/Library/Application Support/minecraft/saves/<World>/level.dat
Java client, Linux~/.minecraft/saves/<World>/level.dat
Bedrock Dedicated Server, PocketMine-MP, Nukkitworlds/<World>/level.dat
Bedrock on AndroidAndroid/data/com.mojang.minecraftpe/files/games/com.mojang/minecraftWorlds/<id>/level.dat
Bedrock on Windows%LOCALAPPDATA%\Packages\Microsoft.MinecraftUWP_*\LocalState\games\com.mojang\minecraftWorlds\<id>\level.dat

Minecraft also writes a level.dat_old next to it — the previous save. It opens in this editor too, and it is the first thing to try if the current file will not load.

Editing safely

  • Stop the server or close the game first. Minecraft rewrites level.dat on autosave and on shutdown, and a running server will overwrite your edit — or worse, write over a half-copied file.
  • Keep the original. This editor never modifies the file you dropped in; it produces a new download. Keep the old copy until the world has loaded once.
  • Do not change tag types. Changing Difficulty from Byte to Int, or renaming a tag Minecraft expects, is how a world stops loading. Edit values, not the structure, unless you know why.
  • Keep the Bedrock header intact. The 8-byte header carries the storage version and payload length. The editor rewrites the length automatically and preserves the version; hand-edited files that lose it will not load.

Frequently Asked Questions

Can I edit level.dat without downloading software?

Yes — that is what this page is. The parser runs in your browser, so there is nothing to install and no operating system requirement beyond a current browser.

Why does my world still show the old name?

Because the name in the world list comes from LevelName inside level.dat, not from the folder name. Copying or renaming a folder leaves the tag untouched. Edit the tag and the list updates.

Does this work with level.dat_old?

Yes. level.dat_old is the previous save in the same format. If the current file is corrupt, open the _old copy, confirm it looks sane, and restore it under the original name.

Can I change the world seed here?

You can edit the seed tag, but it only affects terrain generated after the change — chunks already on disk keep the shape they were generated with, so the join between old and new terrain will be visible.

Will editing level.dat get me banned or corrupt my world?

It is your own save file, so there is nothing to ban. Corruption comes from editing while the server is running, or from changing tag types and names rather than values. Stop the server, edit values, keep a backup.

Related tools