Where Minecraft saves worlds and .dat files

The folders that hold your Java and Bedrock worlds on Windows, macOS, Linux and mobile, and which file inside a world holds what, before and after Java 26.1.

Short answer: on Windows, Java Edition worlds are in %appdata%\.minecraft\saves. Press Windows+R, paste that path and press Enter: each folder inside is one world. On macOS it is ~/Library/Application Support/minecraft/saves, on Linux ~/.minecraft/saves. Bedrock and mobile paths are further down.

Before you can edit a file you have to find it. Java and Bedrock keep worlds in completely different places, and Java 26.1 rearranged the inside of every world folder. This page collects the current paths.

Java Edition worlds

Each world is a folder inside saves, in the game directory:

SystemFolder
Windows%APPDATA%\.minecraft\saves
macOS~/Library/Application Support/minecraft/saves
Linux~/.minecraft/saves

On Windows, paste %APPDATA%\.minecraft\saves into the File Explorer address bar. On macOS, use Finder's Go › Go to Folder; the Library folder is hidden otherwise.

The quickest route works everywhere: in the game, select the world, click Edit, then Open World Folder.

  • Custom game directory. In the launcher's Installations tab, an installation can point to another folder. Its worlds are in that folder's saves.
  • Other launchers such as Prism Launcher or CurseForge keep one game directory per instance, inside the launcher's own folder.
  • Dedicated servers keep the world next to the server jar, in a folder named by level-name in server.properties. The default is world.

Inside a Java world folder

Java 26.1 moved most of a world's files. Worlds are converted when you open them in 26.1 or later (the game asks you to Upgrade and Play), so the layout you see depends on the last version that opened the world.

Contents1.21.11 and older26.1 and later
World settingslevel.dat (and level.dat_old)
Player filesplayerdata/players/data/
Advancementsadvancements/players/advancements/
Statisticsstats/players/stats/
Overworld chunksregion/dimensions/minecraft/overworld/region/
NetherDIM-1/dimensions/minecraft/the_nether/
The EndDIM1/dimensions/minecraft/the_end/
Game rulesinside level.datdata/minecraft/game_rules.dat
Mapsdata/map_1.datdata/minecraft/maps/1.dat
Saved structuresgenerated/<namespace>/structures/generated/<namespace>/structure/

The full list of moved files and renamed tags is in Java 26.1 world format changes.

Other NBT files in the game directory

  • servers.dat: your multiplayer server list. See editing servers.dat.
  • hotbar.nbt: the hotbars saved in Creative mode with the save-toolbar keys.

options.txt and launcher_profiles.json are plain text files, not NBT. Open them in any text editor.

Bedrock Edition worlds

Bedrock keeps worlds in a minecraftWorlds folder inside com.mojang. Each world folder has a random name such as eplC8tYRD04=; open its levelname.txt to see which world it is.

PlatformFolder
Windows (current versions)%APPDATA%\Minecraft Bedrock\Users\<user ID>\games\com.mojang\minecraftWorlds
Windows (older Microsoft Store versions)%LOCALAPPDATA%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds
AndroidAndroid/data/com.mojang.minecraftpe/files/games/com.mojang/minecraftWorlds
iPhone and iPadFiles app: On My iPhone › Minecraft › games › com.mojang › minecraftWorlds

On Windows, the user ID folder is a long number, one per signed-in account. If you can't find a world after an update, check the other user folders and the older location: the folder changed when the Windows version of Bedrock moved to a new app format.

Inside a Bedrock world, only level.dat is a plain NBT file. Chunks, entities and player inventories are in the db folder, a LevelDB database. See editing Bedrock level.dat.

Make a backup before editing

Whatever you plan to change, copy the whole world folder first. A world folder is self-contained: putting the copy back restores everything.

Ready to edit?Open the file in the editor: every value keeps its NBT type and the file is saved in its original format.