Turn Your turn
Black 20
White 20

Shogi: play Japanese chess free online

Shogi is a free online Japanese chess game on a warm wooden board with captured pieces you can drop back as your own. Play the computer on four levels (Easy, Medium, Hard and Master), start with a handicap, solve 60 mate puzzles, play a friend on one screen or online. It has all the standard rules, including promotion, drops, repetition and the 27-point impasse declaration, plus undo, hints, 24 badges and leaderboards. Play in any browser on a computer, tablet or phone.

▶ PLAY SHOGI

Your record on this device: no games yet
GenreBoard game, strategy
Board9x9, 20 pieces each
ModesVs computer, handicap, puzzles, two players, online
LevelsEasy, Medium, Hard, Master
Rewards24 badges, leaderboards
PriceFree, no sign-up, no download

How to play Shogi

  1. Choose Easy, Medium, Hard or Master to play the computer, or Two players for a friend on the same screen.
  2. Tap or click one of your pieces, then a highlighted square, to move it. Black moves first.
  3. Capture enemy pieces by moving onto them: they go into your hand tray.
  4. Tap a piece in your hand and then an empty square to drop it back on the board as your own.
  5. Promote pieces in the last three rows, and checkmate the enemy king to win.

Mouse and touch: click or tap a piece and then a highlighted square, or drag the piece onto the square. To drop a captured piece, tap it in your hand tray (the wooden strip next to the board) and then tap one of the highlighted empty squares. Keyboard: arrow keys move the cursor, Enter or Space picks a piece or a square, Shift + P, L, N, S, G, B or R picks that piece from your hand, U takes back a move, H shows a hint, N opens the new game menu and Esc drops the selection. Black always moves first and sits at the bottom.

The Shogi pieces

Each side starts with 20 pieces on the three nearest rows: nine pawns, a rook and a bishop, two lances, two knights, two silver generals, two gold generals and a king. Every piece shows its kanji and a small letter, and the pointed end of the wooden tile faces the way the piece moves forward.

PieceLetterHow it moves
玉 KingKOne square in any direction. Trap it and the game is won.
飛 RookRAny distance along a row or column.
角 BishopBAny distance along a diagonal.
金 Gold generalGOne square forward, sideways or straight back, and the two forward diagonals (six directions).
銀 Silver generalSOne square forward, or one square diagonally in any of the four directions.
桂 KnightNJumps two squares forward and one to the side. It can only move forward and can jump over pieces.
香 LanceLAny distance straight forward. It can never move back or sideways.
歩 PawnPOne square straight forward. It captures the same way it moves.

Drops: captured pieces join your army

This is what makes shogi special. When you capture a piece it does not leave the game: it goes into your hand and turns into one of your own pieces (a promoted piece goes back to its plain form). On any later turn you may drop a piece from your hand on any empty square instead of making a normal move. A good drop can fork two pieces, block a check or deliver checkmate. There are four rules, all enforced for you:

  • No two pawns in a file (nifu). You cannot drop a pawn on a file where you already have an unpromoted pawn.
  • No dead pieces. A pawn or lance cannot be dropped on the last row, and a knight not on the last two rows, because they could never move.
  • No pawn-drop checkmate (uchifuzume). You may check with a dropped pawn, but not checkmate. Mating with any other dropped piece, or with a pawn that moves, is fine.
  • Drops never promote. A dropped piece comes in unpromoted; it may promote later when it moves in or out of the zone.

Promotion

PiecePromoted formNew moves
飛 Rook龍 DragonRook moves plus one step diagonally
角 Bishop馬 HorseBishop moves plus one step along a row or column
銀 Silver全 Promoted silverMoves like a gold general
桂 Knight圭 Promoted knightMoves like a gold general
香 Lance杏 Promoted lanceMoves like a gold general
歩 Pawnと TokinMoves like a gold general

The promotion zone is the three rows nearest the enemy. Whenever a piece moves into the zone, inside it or out of it, you may promote it, and the game asks you with a picture of both forms (switch on "Always promote when possible" in Settings to skip the question). Promoted pieces are written in red. Promotion is permanent, but a captured promoted piece turns plain again in the enemy's hand. Pawns and lances that reach the last row and knights that reach the last two rows must promote.

Special rules

RuleHow it works here
🎲 SetupBlack (bottom) moves first. Each side has 20 pieces on its nearest three rows, with the rook and bishop on the second row.
⚠️ Check and checkmateWhen your king is attacked you must get out of check at once. Squares glow red under a king in check, and only moves that save it are allowed. If nothing can save it, the game is lost.
🔁 Repetition (sennichite)The same position four times is a draw. If one side gave check on every move of the cycle (perpetual check), that side loses instead.
🏯 Impasse (27 points)When both kings have entered the enemy camp, the side to move can declare a win if its king is not in check, ten or more of its other pieces are in the promotion zone, and its pieces there plus those in hand add up to 28 points (Black) or 27 (White). Rooks and bishops count 5, other pieces 1, kings 0. The declare button appears next to the hint button when this is possible.
🛑 Move limitA game that goes beyond 512 moves is declared a draw.
🏳️ ResigningGive up from the new game menu. Online, leaving counts as resigning.

Computer levels and handicaps

LevelPlays likeGood for
😊 EasyLooks two moves ahead and sometimes plays a careless oneLearning the pieces and your first wins
🤔 MediumThinks four moves ahead and avoids simple trapsCasual players who want a real game
🔥 HardSearches many moves deep and plays tactics and drops wellExperienced players
🐉 MasterThinks for several seconds per move with a deep searchA serious challenge

All levels play by exactly the same rules as you, and none of them cheats. A handicap makes the computer play without some of its pieces and move first, as in traditional shogi: lance, bishop, rook, rook and lance, two pieces (rook and bishop), four pieces or six pieces. A handicap on Easy is a gentle way to start, and a Master game with a lance handicap is a great test for strong players.

Mate puzzles (tsume shogi)

Tsume shogi are checkmate puzzles. You are the attacker, the defender does everything possible to escape, and every move you play must be a check. There are 60 puzzles in three groups: 20 mate in one, 20 mate in three and 20 mate in five moves. Open them from the new game menu. If your move does not force mate you are told so and can try again; use Hint for a first move and Undo to take moves back. Solved puzzles are marked with a tick and count towards two badges.

Game modes

Play the computer on any level with your own record for each, as Black or White, with an optional handicap. Two players, one screen lets two people take turns on the same device: switch on "Turn the board in two-player games" in Settings and the board turns around for each player. Mate puzzles and online play are below. Choose the level, side and players in Settings (the cog) or in the New game menu (the circular arrow).

Play Shogi online with a friend

Online shogi on Util.Ninja is a full game against another person with the same rules as the computer game, including drops, promotion and the repetition rules. Both browsers run the same shogi engine and every move is checked on both sides, so an illegal move can not be played and the position can not get out of step. Moves travel directly between the two players (peer to peer).

Prefer to watch first? The 45-second online play demo on the home page shows every step.

Start a game with a friend

  1. Open the new game menu, tap Play online (or the pink Play with a friend button), type your name and choose Invite a friend.
  2. Send the 5-character code or the invite link with Share, Copy link or Copy code, and keep the window open.
  3. Your friend opens Shogi, taps Play with a friend, then Join a friend, types the code and presses Join. The link does this for them.
  4. The game starts by itself. Colours are drawn at random: Black moves first. Your pieces are at the bottom.

No friend at hand?

Tap Random player to be paired with the next person looking for a game, or pick one of the open games in the list.

Leaving an online game

While an online game is on, an exit icon appears in the top bar. Tap it once and it turns red; tap it again to leave. Leaving counts as resigning, so your opponent wins. Colours swap on a rematch.

Leaderboards

Every even-game win against the computer can go on the Shogi leaderboard, which has This month and All time tabs, and wins on all four levels count towards the same list. A win scores a base for the level (Easy 400, Medium 600, Hard 900, Master 1300), plus 15 for each enemy piece you captured, plus up to 400 for finishing in few moves (400 minus 3 for every move you made). Handicap games, puzzles, two-player and online games are not ranked. You only pick a nickname, there is no sign-up, and you can change the name or hide your scores at any time.

Badges

There are 24 badges for beating each level, winning streaks, promotions, drops, a drop-mate, the dragon and the horse, quick and flawless wins, comebacks, handicap wins, a declared impasse, two-player and online games, and mate puzzles. Open the medal button in the game to see your progress.

BadgeHow to earn it
🏅 First WinWin a game against the computer.
😊 Easy Does ItBeat the computer on Easy.
🤔 Clever MoveBeat the computer on Medium.
🔥 Shogi ChampionBeat the computer on Hard.
🐉 Master SlayerBeat the computer on Master.
🎯 Hat-trickWin 3 games in a row.
⚡ On FireWin 7 games in a row.
⭐ Promoted!Promote a piece for the first time.
🌟 Rising RanksPromote 25 pieces.
📥 Drop InDrop a captured piece back on the board.
🎒 ReservesDrop 25 pieces.
🎯 Drop MateCheckmate the king with a dropped piece.
🐲 Dragon KingPromote a rook into a dragon.
🐎 Dragon HorsePromote a bishop into a horse.
⏱️ Quick MateWin a game in 40 moves or fewer.
💎 FlawlessWin without losing a single piece.
🔄 ComebackWin after being a rook behind.
🎁 Handicap HeroWin a handicap game against the computer.
🏯 King EntersWin by declaring a won impasse (27 points).
🥊 Big HunterCapture 200 pieces.
👥 Friendly GameFinish a two-player game.
🌐 Online WarriorWin a game against a real person online.
🧩 Puzzle SolverSolve 10 mate puzzles.
🧠 Tsume MasterSolve all 60 mate puzzles.

Shogi tips

  1. Protect your king first. Build a castle: move the king to a corner behind gold and silver generals and a wall of pawns before you attack.
  2. Trade bishops carefully. A bishop swapped for a bishop gives both sides a bishop in hand, which can be dropped anywhere, so look at what the drop could fork before you trade.
  3. Keep a pawn in hand. Pawn drops are the cheapest way to block a rook or lance, to attack a piece, or to set up a promotion.
  4. Watch for forks with knights. A knight drop two squares ahead of a king and a rook attacks both, and knights cannot be captured by the pieces they jump.
  5. Promote with a purpose. Promoting a rook or bishop is almost always strong. A promoted silver or knight is only a gold, so sometimes keeping the original move is better.
  6. Count the hand before you attack. A king with no pieces in the opponent's hand is much safer than one facing a rook, a gold and a silver ready to drop.

Frequently asked questions

Is Shogi free?

Yes. Shogi on Util.Ninja is completely free to play online, with no sign-up, no download and no in-app purchases. It runs in your browser on computers, tablets and phones, and your statistics, badges and solved puzzles are saved on your own device.

What is Shogi?

Shogi is Japanese chess, a two-player strategy game on a 9x9 board. Each side has 20 pieces and wins by trapping the enemy king (checkmate). Its big difference from western chess is that captured pieces are not removed: you keep them in your hand and can drop them back on the board as your own.

How do I play Shogi?

Tap or click one of your pieces, then one of the highlighted squares to move it, or drag the piece there. Black (the bottom player) moves first. To drop a piece you have captured, tap it in your hand tray and then tap an empty square. Win by checkmating the other king.

How does each Shogi piece move?

The king moves one square in any direction. The rook moves any distance along rows and columns and the bishop any distance diagonally. The gold general moves one square in six directions (all but the two backward diagonals), the silver general one square in five (forward, and all four diagonals). The knight jumps two squares forward and one to the side, the lance runs straight forward any distance, and the pawn steps one square forward. Pieces capture the way they move.

How does promotion work in Shogi?

The last three rows on the far side are the promotion zone. When a piece moves into, within or out of that zone it may promote: you turn it over to its red side. A rook becomes a dragon (rook plus one step in any direction), a bishop becomes a horse (bishop plus one orthogonal step), and a pawn, lance, knight or silver becomes a gold-moving piece. Golds and kings never promote. A pawn or lance on the last row and a knight on the last two rows must promote because they could not move otherwise.

What are the rules for dropping pieces?

On your turn you may drop a piece from your hand on any empty square instead of moving. A pawn may not go on a file where you already have an unpromoted pawn (nifu), a pawn or lance may not be dropped on the last row and a knight not on the last two rows, and you may not checkmate with a dropped pawn (uchifuzume). All of these rules are enforced for you, so only legal drops are highlighted.

What are the four computer levels?

Easy plays quickly and often misses tactics, so it is a friendly way to learn. Medium looks four moves ahead. Hard searches much deeper with a transposition table and sees tactics early. Master thinks for several seconds per move and is a real challenge. The levels do not cheat: they follow the same rules as you.

What is a handicap game?

In traditional shogi a stronger player removes some of their own pieces to even things out, and then moves first. Choose a handicap in the new game menu (lance, bishop, rook, rook and lance, two, four or six pieces) and the computer plays without those pieces. Handicap wins earn badges but are not ranked on the leaderboard.

Are there Shogi puzzles?

Yes. The Mate puzzles section has 60 tsume (checkmate) puzzles: 20 mate-in-one, 20 mate-in-three and 20 mate-in-five. In a puzzle you are the attacker and every move you play must be a check. Hint 💡 shows a correct first move and Undo takes back a move.

Can I play Shogi online against another person?

Yes. Tap Play online, choose Invite a friend and send the 5-character code or the link, or tap Random player for a quick match. Colours are drawn at random and swap on a rematch. Both browsers run the same shogi engine and check every move, so no illegal move can be played, and no account is needed.

What happens if my online opponent leaves?

If your opponent leaves the game or loses the connection, you win the game. Leaving yourself counts as resigning, so use the exit icon only when you mean it.

What is a Shogi game draw or repetition?

If the same position appears four times (sennichite) the game is a draw, unless one side gave check on every move of the cycle: perpetual check is forbidden and that side loses. A game that reaches 512 moves is also drawn. If both kings reach the enemy camp, the side to move may declare a won impasse when it has 28 points (Black) or 27 points (White) with at least ten other pieces in its promotion zone; the declare button appears then.

Does Shogi have a leaderboard?

Yes. Even-game wins against the computer are ranked on one leaderboard with This month and All time tabs, and wins on every level count towards it. A win scores a base for the level (Easy 400, Medium 600, Hard 900, Master 1300) plus 15 for every enemy piece you captured and a bonus of up to 400 for finishing in few moves. You only choose a nickname, with no sign-up.

Is this the same as the Shogi on other sites or apps?

Shogi is a traditional Japanese game that belongs to nobody, and the rules here are the standard Japanese rules. This version is independent and not affiliated with any shogi association, publisher or app.

Can I play on a phone?

Yes. Shogi works on phones and tablets in portrait and landscape: tap a piece and then a square, drag pieces, or tap your hand tray to drop. You can switch the piece symbols between kanji with a small letter, kanji only or letters only in Settings. On a computer you can also use the keyboard: arrows to move the cursor, Enter to pick, Shift plus a piece letter to pick from your hand, U to undo and H for a hint.

More free board games: Chess, Xiangqi, Go, Checkers and Reversi.