Where Is the Minecraft Server World Folder?
A Minecraft server's world folder follows server.properties: level-name picks it, world by default, relative to wherever you launch the server.
Last updated
The world folder is not a fixed location. server.properties lives in whatever directory you start the server from, and its level-name entry decides which folder holds the world: world by default, but it can be any relative path or an absolute one.
That makes level.dat the marker. A folder with level.dat inside it is a world, and the terrain, player data and metadata all sit under that folder rather than next to the server jar. A world backup then becomes a single folder copy, as long as you stop the server first so nothing is still writing.
Where Minecraft (Java Edition) stores this, by platform
<server folder>\world
The server folder is wherever you run java -jar from, since server.properties lands there. With the default level-name=world, the world is the world subfolder beside it.
<server folder>/world
Same rule: the working directory holds server.properties, and level-name names the world folder. Point level-name at an absolute path to keep the world somewhere else.
<server folder>/world
Identical layout. The world is the folder with level.dat in it, named by the level-name entry in server.properties.
Frequently asked questions
Where are the Nether and End stored on a server?
Inside the world folder. Releases from 26.1 on use dimensions/minecraft/the_nether and dimensions/minecraft/the_end, while worlds made before that keep DIM-1 and DIM1 at the top of the world folder.
How do I know I have found the right folder?
It has level.dat and session.lock in it. level.dat marks a level folder, and session.lock records which program holds write access, so a world backup needs both files and the folders below them.
Where did player inventories go in newer versions?
They moved. The 26.1 restructure put player data in players/data, with advancements and stats beside it in players/advancements and players/stats. Older worlds keep playerdata at the top level.
What about a Bedrock dedicated server?
Same idea, different names. The worlds live in a worlds folder, level-name still sets the name and defaults to Bedrock level rather than world, and it can be a relative or absolute path too.
Notice an outdated path? Let us know.