Updated:

1. Turn on cheats

  1. In the world list, select the pencil (edit) icon next to your world. New worlds have the same setting on the create screen.
  2. Under the game settings, turn on Activate Cheats in the Cheats section.
  3. Confirm with Continue.

During play, open the same screen from Settings in the pause menu.

Before you turn cheats on

On Bedrock, a world that has ever had cheats on can no longer earn achievements, even if you turn them off again. Copy the world first if achievements matter to you.

2. Open chat and type a command

DeviceHow to open chat
Switch, PlayStation, XboxD-pad right
Phone or tabletThe speech bubble button at the top of the screen
Windows (keyboard)T, or / to open chat with the slash typed

Type / and the game lists available commands. Keep typing and it suggests what comes next; picking suggestions avoids most mistakes.

Commands to try first

/time set day
/weather clear
/gamerule showcoordinates true

Day, clear weather, and coordinates on screen. More in 15 useful survival commands.

Typing long commands

Multiplayer and Realms

Watch out for Java commands

Commands found online are often for Java and fail on Bedrock. For example, [ ] or { } after an item in /give are almost always Java syntax. Check Java vs Bedrock commands, and choose Bedrock in our generators.

Common problems

Common questions

Check your command

The Command Error Doctor checks common syntax mistakes in your browser.