Skip to content
Minecraft Circle Generator

Minecraft Circle Command

Vanilla Minecraft has no command that draws a circle. There are two practical ways to place one with commands: the WorldEdit cylinder commands, and the built-in /fill command used one row at a time.

This site does not generate commands for you. It is a block-by-block circle generator, and this page shows how to turn its row list into commands yourself.

Method 1: WorldEdit cylinder commands

WorldEdit is a separate tool, so you cannot use it unless it is installed. On Java Edition it is available as a plugin for servers and as a mod, and you need permission to use its commands (operator status on a basic setup). It is not part of the base game, and it is not available in the same form on Bedrock Edition.

With WorldEdit installed, these commands build a circle on the layer where you stand:

//hcyl stone 10        (hollow ring, height 1)
//cyl stone 10         (solid disc, height 1)
//hcyl stone 10 5      (hollow cylinder, 5 blocks tall)

The first value after the command is the block pattern, the second is the radius and the optional third is the height. WorldEdit centres the shape on the block you are standing on, so its circles have an odd width: a radius of 10 gives a circle about 21 blocks wide. Because it uses its own rounding rule, the exact pattern may differ from the one in this generator. Use one or the other for a given build, and do not combine them.

Method 2: /fill, one row at a time

The /fill command places a box of blocks between two corners, so a circle can be built from one command for each run of blocks in a row. The row-by-row list in the generator gives exactly those runs.

The pattern is /fill <from> <to> <block>. It works on Java Edition and Bedrock Edition. Use relative coordinates, written with ~, so the circle is built around the position you are standing at.

Converting a row to a command

  1. Pick the circle in the generator and switch on Show numbers. Note the centre column and row.
  2. For a run of columns in a row, the x offset of each end is the column number minus the centre column. The z offset is the row number minus the centre row. Rows above the centre are north, which is negative z.
  3. Keep the y value as ~ to build on your current layer.

For an even diameter there is no centre block, so the circle is centred on the north-west corner of the block you stand on. In that case the offset of a column is its number minus 1 minus half the diameter, and the same applies to rows. An 8-block circle, for example, uses offsets from -4 to 3.

Example: a 9-block outline

These 16 commands build the one-block outline of a 9 × 9 circle (24 blocks) using stone, centred on the block you are standing on. They match the 9-block outline in the generator and in the how-to guide.

/fill ~-2 ~ ~-4 ~2 ~ ~-4 stone
/fill ~-3 ~ ~-3 ~-3 ~ ~-3 stone
/fill ~3 ~ ~-3 ~3 ~ ~-3 stone
/fill ~-4 ~ ~-2 ~-4 ~ ~-2 stone
/fill ~4 ~ ~-2 ~4 ~ ~-2 stone
/fill ~-4 ~ ~-1 ~-4 ~ ~-1 stone
/fill ~4 ~ ~-1 ~4 ~ ~-1 stone
/fill ~-4 ~ ~ ~-4 ~ ~ stone
/fill ~4 ~ ~ ~4 ~ ~ stone
/fill ~-4 ~ ~1 ~-4 ~ ~1 stone
/fill ~4 ~ ~1 ~4 ~ ~1 stone
/fill ~-4 ~ ~2 ~-4 ~ ~2 stone
/fill ~4 ~ ~2 ~4 ~ ~2 stone
/fill ~-3 ~ ~3 ~-3 ~ ~3 stone
/fill ~3 ~ ~3 ~3 ~ ~3 stone
/fill ~-2 ~ ~4 ~2 ~ ~4 stone

A few things to know before you run them:

Which method should I use?

Use WorldEdit if you already run it and want a quick cylinder without caring about the exact pattern. Use /fill if you want to match a specific blueprint or you do not have WorldEdit. If you would rather build by hand, the generator has a build mode that tracks which blocks you have placed.