Skip to main content
← All Guides
Server & Commands

How to Use the /clone Command

The /clone command copies a whole region of blocks from one place to another in a single line. Give it two source corners and one destination corner, pick a mask mode, and the server stamps an exact copy wherever you point it.

world, survival
> /clone 100 64 200 110 70 210 -50 64 200
SOURCE 100,64,200
DEST −50,64,200
[Server] Cloned 1331 blocks
> 11×7×11 region copiedmode: replace normal
The two-corner rule
  1. 1
    Stand near the region
    Be within range of both the source and destination, or run it from a command block. /clone only works on already-loaded chunks.
  2. 2
    Get the two source corners
    Note the X Y Z of two opposite corners of what you want to copy, e.g. 100 64 200 and 110 70 210. F3 shows your coordinates.
  3. 3
    Pick a destination corner
    Choose one corner for the copy. It maps to the lowest source corner: /clone 100 64 200 110 70 210 -50 64 200.
  4. 4
    Choose a mask mode
    Append replace (default), masked to copy only solid blocks, or filtered <block> to copy just one block type.
  5. 5
    Run and verify
    Hit enter. The server reports Cloned N blocks. Use force if source and destination overlap.

What you need

Coordinates (F3)
Source region
Destination corner
Command block (optional)

Quick answers

?

What is the basic /clone syntax?

/clone <x1 y1 z1> <x2 y2 z2> <dest x y z>. The first two sets are opposite corners of the source box; the third is where the copy's lowest corner lands.
?

How do I copy without the air blocks?

Add masked at the end: /clone 100 64 200 110 70 210 -50 64 200 masked. Only non-air blocks are written, so the copy drops onto existing terrain without punching holes.
?

What does filtered mode do?

filtered <block> copies only that one block type, e.g. ...filtered minecraft:redstone_lamp. Everything else in the region is ignored.
?

Can the source and destination overlap?

Yes, but you must add force as the clone mode (e.g. ...replace force). Without it the command fails to avoid corrupting the copy.
?

Is there a size limit?

Vanilla caps /clone at 32,768 blocks per call. Both the source and destination chunks must be loaded, so it will not work on unexplored areas.
?

Can I move a build instead of copying it?

Use move as the mask mode after the coordinates to clone then clear the source, effectively cutting the region: ...replace move.

/clone at a glance

Syntax

/clone [from <sourceDimension>] <begin> <end>…

Who may run it

OP (L2)

What it does

Copies blocks from one region to another. Supports cross-dimension cloning in 1.19.4+ and various filtering…

Three things /clone is actually used for

/clone 100 64 100 110 70 110 200 64 200
Copies an eleven by seven by eleven region to a new spot, keeping every block and its state.
/clone ~-5 ~ ~-5 ~5 ~5 ~5 ~20 ~ ~ masked
Copies the region twenty blocks along but leaves the air blocks out, so the copy drops into existing terrain.
/clone 100 64 100 110 70 110 200 64 200 replace move
Moves the region instead of copying it: the original is replaced with air.

/clone sits with the world commands in Minecraft, 9 of them in total. The ones with a guide here: /fill, /locate, /setblock, /summon.

Every command with its full argument list lives in the command reference.

Blocks and items in this guide

Redstone in MinecraftRedstoneDiamond in MinecraftDiamond

All 2 of these are named in the guide above, starting with Redstone. Look them up in the item database.

More guides on this site

Guides that go with this one

How to Use the /fill Command in Minecraft
Fill any region with one block using /fill x y z x2 y2 z2 block. Learn solid, hollow, outline and...
How to Use the /setblock Command in Minecraft
Place any block at exact coordinates with /setblock. Learn relative ~ and absolute syntax, block states,...
How to Use the /give Command in Minecraft
Spawn any item with /give @p diamond 64, selectors, counts, and 1.20.5+ item components for custom...
How to Use the /summon Command in Minecraft
Spawn any mob with /summon, set exact coordinates with ~ ~ ~, and customize it using NBT tags like...
How to Use the /execute Command in Minecraft
<> /execute is the most powerful command in Minecraft because it reshapes the context for any other...
How to Use the /gamemode Command in Minecraft
<> One command swaps a player between Survival, Creative, Adventure and Spectator. Learn the full...
Database
Command Reference
Syntax, arguments and examples for every command.
Hosting
Managed Hosting
Skip the setup: a managed server online in minutes.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Guides
More Server & Admin guides
Run a server: setup, hosting, permissions, worlds and crossplay.