
Chunks & world size · Java & Bedrock · Beginner
How to Regenerate a Single Ruined or Griefed Chunk Back to Natural Terrain
Dealing with a huge crater, lag machine, or griefed landscape right next to your base can feel frustrating, especially if you don't want to restore an old backup and lose recent build progress. Fortunately, Minecraft builds and saves worlds in individual 16x16 vertical columns called chunks. By deleting the data for just the ruined chunk using our browser-based tool, you can force the game to cleanly rebuild that specific square of natural terrain from your world seed.
What you need
- Your Minecraft world save folder (or an exported .zip or .mcworld file) for either Java or Bedrock Edition
- The block or chunk coordinates of the damaged area
- A safe backup copy of your world folder stored on your device
- Access to our Chunk Trimmer tool in your web browser (files stay local and never upload)
Step by step
1Back Up Your World and Find the Coordinates
Before getting started, launch Minecraft, stand right inside the griefed or ruined area, and write down your X and Z block coordinates. In Java Edition, press F3 (or Fn + F3) to open the debug screen, which lists both your exact Block coordinates and your Chunk coordinates directly. In Bedrock Edition, enable 'Show Coordinates' in your world settings to view your X, Y, and Z position, then completely save and close the game so no world files remain locked in memory. Finally, make a complete duplicate copy of your world folder on your device so you can easily restore everything if you accidentally delete the wrong square.
Tip: If you only have block coordinates (like X: 145, Z: -310), divide each number by 16 and round down to the nearest whole number to get the chunk coordinates (145 / 16 = Chunk X: 9; -310 / 16 = Chunk Z: -20).
2Load Your World into the Chunk Trimmer
Open our Chunk Trimmer tool in your browser and click Open world folder or .zip (for Bedrock players, you can also select an exported .mcworld archive). Because the tool runs entirely inside your browser, your files are read directly from your device without ever uploading to a server. Wait a few seconds for the tool to scan your world structure and render the overhead 2D map of your explored terrain.
Tip: If the damaged chunk is in the Nether or the End, use the dimension switcher dropdown at the top of the map view to switch from the Overworld to the proper dimension.
3Pinpoint and Select the Ruined Chunk
Use your mouse wheel to zoom in on the map and pan over to the coordinates you wrote down earlier. As you move your cursor across the grid, the interface displays the current block and chunk X/Z coordinates for the square beneath your pointer. Visually confirm the damage on the rendered map—such as a crater, lava cast, or unnatural structure—and click that single 16x16 grid cell to select it for removal.
Tip: Make sure your selection mode is set to delete or trim ONLY the highlighted chunk, rather than keeping the selection and deleting the rest of the world.
4Trim the Chunk and Replace Your Save Files
Once you have verified that only the bad chunk is highlighted, click the action button to delete the selected chunk and download your modified files. For Java Edition, the tool only needs to update the specific region file (found inside the region, DIM-1/region, or DIM1/region folders) that held that chunk, or you can export the full updated folder. For Bedrock Edition, the tool will repackage the updated db folder containing your LevelDB chunk records. Place the modified files back into your Minecraft saves directory, launch the game, and travel to the location to watch the chunk freshly generate.
How it works
Minecraft never saves a world as one single giant image or 3D model. Instead, it divides the entire world grid into 16-block wide by 16-block long columns called chunks, which stretch from the very bottom bedrock layer to the top build height limit. In Java Edition, groups of 32x32 chunks are packed together inside Anvil region files (named like r.0.0.mca) inside the region folder. Each .mca file starts with a header lookup table that tells the game exactly where each of its 1,024 possible chunks is stored inside the file.
In Bedrock Edition, chunks are stored inside the db subfolder using a fast key-value database format called LevelDB. Each chunk is broken down into smaller data records (such as subchunk block palettes, biome data, and tile entities) indexed by a binary key made from the chunk's X and Z coordinates and dimension ID.
When you use the Chunk Trimmer to delete a single chunk, it clears that specific entry from the .mca header table (in Java) or strips those specific coordinate keys from the LevelDB database (in Bedrock). The next time you walk near that spot in Minecraft, the game looks up those chunk coordinates, sees that no saved data exists, and automatically runs its terrain generator using your world seed found in level.dat to build the 16x16 column from scratch.
Common mistakes
- Leaving Minecraft open while modifying or replacing files, which causes the game to overwrite your changes or corrupt the save when you exit.
- Confusing 'Delete Selected' with 'Keep Selected (Prune Outside)' in the Chunk Trimmer, which would erase your entire world except for the one ruined chunk.
- Rounding negative coordinates toward zero instead of rounding down when calculating chunk coordinates manually (for example, block -5 divided by 16 is -0.3125, which rounds down to chunk -1, not chunk 0).
- Forgetting that regenerating a chunk created in an older game version will use your current game version's terrain rules, which can leave flat vertical cliff walls around the 16x16 border if world generation changed between updates.
FAQ
Will regenerating a chunk delete player chests and mobs inside it?
Yes. Everything inside that 16x16 vertical column—from the lowest bedrock up to the build limit, including chests, item frames, villagers, and pets saved within that chunk—will be permanently erased and replaced with fresh natural blocks.
Why did trees or generated structures on the edge of the chunk get cut off?
Natural decorations like wide oak trees, mineshafts, or village houses often cross over chunk borders. When a single chunk regenerates, it only places the blocks that belong inside its own 16x16 column, though sometimes adjacent loaded chunks may receive slight decoration updates.
Is it safe to use browser tools on huge world saves?
Yes. Because our tools run locally in your browser using your computer's own memory and never upload files over the internet, even gigabyte-sized worlds open quickly, though keeping a backup first is always required.
By locating the exact 16x16 coordinate grid in our browser-based Chunk Trimmer and removing just that single record, you can force Minecraft to seamlessly rebuild a ruined or griefed chunk back to its original seed terrain without losing the rest of your world.