You can move any singleplayer world to your server. Zip the world folder, upload it, and tell the server to load it.
Copy the entire world folder, including dimensions/ and players/. Current Paper uses this unified layout too. The DIM-1/DIM1 moves below apply to older layouts. See Mojang's storage changes and Paper's migration notes.
%appdata%\.minecraft\saves on Windows or ~/Library/Application Support/minecraft/saves on Mac.saves. Each folder is one world..zip. Zip the folder itself, not just the files inside it.level.dat. Older worlds have a top-level region folder; 26.1+ worlds store terrain under dimensions/minecraft/.session.lock from inside the world folder if it's there.Open server.properties and set level-name to the exact folder name, for example level-name=MyWorld. Alternatively, delete the server's existing world folder(s) and rename your folder to world. Then start the server.
Older Paper, Purpur and Spigot releases (1.21.x and earlier) keep dimensions in separate folders. A singleplayer world keeps the Nether and the End inside the main folder. These servers expect them next to it. To keep your Nether and End progress:
| Singleplayer location | Move it to |
|---|---|
MyWorld/DIM-1 | MyWorld_nether/DIM-1 |
MyWorld/DIM1 | MyWorld_the_end/DIM1 |
Create the _nether and _the_end folders yourself if they don't exist. Vanilla, Fabric, Forge and NeoForge servers don't need this step.
Match the version. Run the server on the same Minecraft version you last played the world on, or newer. Never older (see "How do I change my server's Minecraft version?").
Modded worlds need the exact same mods on the server, or modded blocks and items will disappear.