Solve a Rubik's cube online with your camera
rubik.page is a free Rubik's cube solver for the classic 3x3 cube. You don't have to type in the colors by hand: the solver reads them from your webcam or phone camera. Then it finds a short solution and shows each turn on a 3D cube, with a plain hint like “turn the right face clockwise”. You don't need to know cube notation, and there is nothing to install. It works as a Rubik's cube solver on a laptop webcam, a phone or a tablet.
How to solve the cube with the solver
- Press Scan my cube to open the scanner. Use the camera, choose Color by hand to enter the colors manually, or Load to open a saved cube or lesson.
- Show the faces one by one, in any order. The cube net next to the video fills in as you go.
- When all 6 faces are scanned, compare your cube with the net: each outlined pair of stickers must sit side by side on your cube. If a pair differs, either slowly turn the cube in front of the camera across that edge, as the hint shows, or click the problem face on the net. Each click rotates it 90° clockwise without scanning again.
- When all pairs match, press Solve.
- Hold the cube with white on top and red facing you, and repeat the moves from the screen.
Learn how to solve a Rubik's cube yourself
Want to solve the cube without a solver? Press Train after scanning. It teaches the beginner's layer-by-layer method on your own cube: it outlines the piece to move, shows where it goes and names the algorithm. You need only five short algorithms, and almost all of them are built from one four-move algorithm (R U R' U'). The beginner's guide explains the same seven steps with pictures:
- White cross — put the four white edges around the white center.
- White corners — finish the first layer.
- Middle layer — insert the four middle edges to solve two layers.
- Yellow cross — make a cross on the last layer.
- Yellow edges — move the edges of the cross to their places.
- Corners to their places — put the last-layer corners in the right spots.
- Twist the last corners — turn each corner until the cube is solved.
New to cube notation? The guide shows clockwise and counterclockwise turns as simple gestures, and the cheat sheet fits all algorithms on one screen.
Rubik's cube patterns, step by step
Try a checkerboard, cube in a cube, or another design from the pattern gallery. Scan your 3×3 cube or enter its colors by hand, confirm the matching cube, then choose Patterns. Pick a design to get a sequence of 3D moves from your current cube to that pattern. You can start from a scrambled or solved cube and choose another pattern in the player.
Why won't my Rubik's cube solve?
A twisted corner, a flipped edge, or swapped pieces can make a 3×3 cube impossible to solve by turning its faces. After scanning, check the colors and compare the repair variants with your real cube. If a variant matches, choose Repair: the solver guides you toward a nearly solved cube, then highlights the pieces to fix by hand. Swapped center caps can also be identified. Check the scan carefully before making any physical repair; this mode does not repair broken parts.
Rubik's cube net and colors
The scanner builds a cube net: the six faces of the cube unfolded flat, like a paper box. With white on top and red in front, green is on the left, blue on the right, yellow at the bottom and orange at the back. Each face on the net is placed by its center color, so you can scan the faces in any order. The outlined sticker pairs on the net show which stickers meet at an edge, so you can check the scan against your real cube before solving.
In-Depth Rubik's Cube Guides & Technical Articles
Read our standalone tutorials covering every layer, algorithm, mechanical rule, and computer-vision stage in detail:
- Complete 7-Step Beginner's GuideLayer-by-layer handbook with all seven stages, cheat sheet, and illustrations.
- Rubik's Cube Move Notation (R, L, U, D, F, B)What prime (') and double (2) turns mean, why clockwise depends on the face you look at, and all 18 turns compared.
- Cube Anatomy: Centers, Edges, Corners & NetWhy the 6 centers never move, how 12 edges and 8 corners interlock, and how the 2D unfolded cube net works.
- 5 Essential Beginner Algorithms & Cheat SheetHow the bottom and top four-move triggers, edge insertions, the Fish, and the corner 3-cycle work.
- Solving the First Layer: Daisy, Cross & CornersStep-by-step guide to building the Daisy, aligning side centers for the White Cross, and inserting all four white corners.
- Solving the Second Layer (Middle Edges)How to find non-yellow edges, match the upside-down T, and choose between Right and Left edge insertion.
- Solving the Last Layer in 4 StepsOrient the Yellow Cross, match Yellow Edges, cycle Last-Layer Corners into place, and twist the final corners.
- Unsolvable Cube States & Physical RepairWhy only 1 in 12 reassembled cubes is solvable, how to spot a twisted corner or flipped edge, and how Repair Mode works.
- How the Camera Solver & Kociemba Algorithm WorkInside CIELAB color calibration, glare suppression, 4,096-state 3D orientation search, and 20-move two-phase solving.
Questions
Is the Rubik's cube solver free?
Yes. You can solve your cube for free, directly in your browser.
Can I solve the cube without a camera?
Yes. In the scanner choose Color by hand, pick a color and tap the stickers on the cube net. Then press Solve.
Which cubes does it solve?
The standard 3x3 Rubik's cube with white, yellow, red, orange, blue and green stickers. 2x2, 4x4 and other puzzles are not supported.
How many moves does the solution take?
Usually about 20. The solver uses the Kociemba two-phase algorithm and never needs more than 24 moves.
How do I learn to solve a Rubik's cube myself?
Scan your cube and press Train. It teaches the beginner's layer-by-layer method in seven stages on your own cube. The beginner's guide explains the same seven rules with pictures.
Does it work on a phone?
Yes. Open the site in your phone's browser and use the back camera.
Do I need to download a Rubik's cube solver app?
No. This free online 3×3 cube solver runs in your browser on a phone, tablet, or computer. You can scan with a camera or enter the colors by hand without installing an app.