Puzzles & Party

Rubik's Cube Simulator

A 3D Rubik's Cube you can actually turn. Drag the background to look around, drag a sticker to turn its layer, or type moves like R U R' U'.

Drag the background to look around · drag a sticker to turn its layer · arrow keys spin the view

Moves 0Time 0:00.00
Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

What it does

A Rubik's Cube simulator that works like a real cube in your browser, with nothing to install. Turn it with your mouse or finger, the move buttons, or the keyboard.

Example

Press Scramble, then type R U R' U' and press Enter: the cube plays the four moves and the move counter goes up by 4. Type the same thing five more times and the cube is back to how it started: the "sexy move" repeated 6 times always undoes itself.

How to use Rubik's Cube Simulator

  1. Pick a size and press Scramble.
  2. Turn layers by dragging stickers, pressing the buttons, or using the keyboard: U D L R F B turn that face clockwise, and with Shift counterclockwise. M E S turn the middle slices on a 3×3, and X Y Z rotate the whole cube.
  3. Use the arrow keys or drag the background to look at the back.
  4. When every face is one color, the timer stops and shows your time and move count.

Notation

Each letter is a face: Up, Down, Left, Right, Front, Back. A letter on its own means a clockwise quarter turn as if you were looking at that face. An apostrophe (R') means counterclockwise, and 2 (R2) means a half turn. Rw or a lowercase r turns two layers at once, and x, y, z turn the whole cube.

Rubik's Cube Simulator FAQ

Can it solve my cube for me?

That's the Rubik's Cube Solver: enter your real cube's colors and it shows an animated solution of about 20 moves.

Does it work on a phone?

Yes. Drag a sticker with your finger to turn a layer, and drag outside the cube to spin it. The move buttons work too.

How random is the scramble?

It's a series of random moves: 25 on a 3×3, and more on bigger cubes, so the cube ends up thoroughly mixed. For official-style random-state scrambles, use the Speedcubing Timer.