Rubik’s Cube Solver
Hold the cube with white on top and green in front. Match the labeled faces, then solve locally and step through the turns. This tool is not affiliated with Rubik’s.
Runs in your browser — nothing is uploadedEach sticker includes its color letter. Centers are fixed. Tab to stickers and press Enter/Space to paint with the selected color.
Solved starting layout. Paint your cube’s stickers or apply a scramble.
Advanced facelet import
54 letters: nine stickers for each face, row by row in U R F D L B order. Centers must match this orientation.
Verified solution
Turn notation: U up, R right, F front, D down, L left, B back. Clockwise is viewed directly at the face being turned, not from the front. A 2-turn counts as one move.
How to use Rubik’s Cube Solver
- Orient white up and green front. Paint stickers to match each face; centers stay fixed.
- Validate or solve. Each color needs nine stickers and the cubies must form a physically possible state.
- Follow the solution: no suffix means clockwise while looking at that face, apostrophe means counterclockwise, and 2 means a half-turn.
Questions
Is the solution optimal?
No. The MIT cube.js solver uses Kociemba’s two-phase search with a 22-move search bound. Each returned sequence is applied to the entered state and verified before display. It does not promise a minimum-move solution.
Which impossible states are detected?
Invalid counts/centers, invalid or duplicate cubies, single edge flips, corner twists and mismatched permutation parity are rejected before search. Check your face orientation if an error appears.
Does solving use a server?
No. The small model is page-only; the solver code and search tables load in a local worker only after Solve. Cancel stops the worker. No cube state is uploaded, persisted or included in analytics.
How do I orient faces in the net?
U is up (white), D down (yellow), F front (green), B back (blue), L left (orange), R right (red). The net shows faces unfolded from the front. Keep the cube’s orientation fixed between moves. Back’s top edge touches U when unfolded; it is viewed from behind, not through the cube.