Minecraft Fill Command Generator Java & Bedrock
Use this Fill Command Generator to quickly create the Fill command in Minecraft Java and Bedrock Edition 1.21+ and 26+. Define both points of the area, choose the block and block states, select the fill mode, and see in real-time how many blocks will be used. Ideal for builds, maps, and datapacks.
Select your Minecraft edition:
Point 1 — From
Point 2 — To
Block
Fill Mode
Automatically Generated Fill Command 1,331 blocks
fill 0 0 0 10 10 10 minecraft:stone replaceWant to create a cheap Minecraft server with no lag?
I recommend Sparked Host: affordable plans, great performance, easy panel, and fast support.
🚀 Create server on Sparked HostHow to Use the Fill Command in Minecraft
The Fill command allows you to fill an entire rectangular area with a block all at once, defining two opposite points (from/to) that form the region to be filled.
In Java Edition, the basic format is:
/fill 0 0 0 10 10 10 minecraft:stone replace
This command fills the area between coordinates 0,0,0 and 10,10,10 with stone, replacing everything that already exists.
Fill Command Examples (Java)
Fill with Glass
/fill ~-5 ~ ~-5 ~5 ~10 ~5 minecraft:glass replace
Create Hollow Walls
/fill ~-5 ~ ~-5 ~5 ~5 ~5 minecraft:stone_bricks hollow
Clear an Area with Air
/fill ~-8 ~ ~-8 ~8 ~15 ~8 minecraft:air replace
Replace Only a Specific Block
/fill 0 0 0 10 10 10 minecraft:stone replace minecraft:dirt
Frequently Asked Questions
What does the fill command do in Minecraft?
It fills a rectangular area between two points with the chosen block all at once.
What is the difference between replace, hollow, outline, keep, and destroy?
Replace replaces everything, Hollow fills only the walls leaving the inside empty, Outline fills only the walls keeping the inside intact, Keep only fills air, and Destroy destroys existing blocks, dropping items before filling.
Is there a block limit for the fill command?
Yes, the fill command has a default limit of 32,768 blocks per execution.
Does the fill command work on Bedrock Edition?
Yes, but there are minor syntax differences between Java and Bedrock.
How do you use relative coordinates in fill?
Use the tilde (~) before the number to indicate a coordinate relative to the position of the execution source.