Fill Command Generator
Fill Command Generator
Generate /fill commands with coordinates, blocks, replace, keep, hollow, outline, and destroy.
How to use
Set the two corners and the block ID; check the affected area before running /fill.
Basic fallback generator
A simplified form is available while the main generator loads. It does not include every setting in the full tool.
Output
Fill command safety and examples
The fill command can change many blocks at once. Confirm both corners and test on a backup world before using a large area.
Examples and checks
/fill ~-5 ~ ~-5 ~5 ~5 ~5 minecraft:stone- Use
replacewhen only certain blocks should change. - Very large areas can exceed the command limit.
- Relative coordinates are useful around a command block.
Using /fill safely
/fill places blocks in the box between two corners. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:stone makes an 11 by 11 floor under you.
The mode at the end decides what happens to existing blocks: replace changes everything, keep only fills air, hollow and outline make a shell, and destroy drops the old blocks as items.
If the command does not work
- Java Edition can fill up to 32,768 blocks at once. Split large areas into several commands.
- To swap one block type only, write it after
replace, for examplereplace minecraft:dirt. - Save a backup before filling near builds. There is no undo command.