TurnX Your turn
Game1/5
You–draw–rival0–0–0

Tic-Tac-Toe: play noughts and crosses online free

Tic-Tac-Toe, also known as noughts and crosses, is a free online version of the classic paper-and-pencil game, with a bright candy-pink board and chunky X and O marks. Play a match of five games against the computer on four levels (Easy, Medium, Hard and Expert) on the classic 3x3 board or a big 5x5 board, try the daily challenge where everyone starts from the same openings, or challenge a friend in two-player mode on the same screen. It has hints, undo, 18 badges and leaderboards. Play in any browser on a computer, tablet or phone.

▶ PLAY TIC-TAC-TOE

Your record on this device: no games yet
GenreBoard game, strategy
Board3x3 or 5x5
ModesVs computer, daily, two players
LevelsEasy, Medium, Hard, Expert
Rewards18 badges, leaderboards
PriceFree, no sign-up, no download

How to play Tic-Tac-Toe

  1. Choose Easy, Medium, Hard or Expert to play the computer, take on the daily challenge, or pick Two players to play a friend on the same screen.
  2. Choose the 3x3 board for the classic game or the 5x5 board where you need four in a row.
  3. Tap a square to preview your X, then tap it again to place it. On a computer just click.
  4. Get three in a row (four on 5x5) across, down or diagonally. Block your opponent when they have two in a row.
  5. A match is five games. Wins score 100 points and draws 40, and the match score goes on the leaderboard.

Mouse: click a square to place your mark, and point at it first to see a preview. Touch: tap a square to preview, then tap it again to place your mark. Keyboard: arrow keys move the cursor, Enter places a mark, the number keys 1 to 9 pick a square on the 3x3 board, Esc cancels, U takes back a move, H shows a hint and N opens the new match menu.

Tic-Tac-Toe rules

RuleHow it works here
✖️ The marksYou are X and your rival is O. In two-player games the first player is X.
🚦 Who startsYou move first in games 1, 3 and 5 of a match, and the rival moves first in games 2 and 4.
👟 PlacingOn your turn put one mark in an empty square. Marks never move once placed.
🎯 Winning a gameThree in a row on the 3x3 board, or four in a row on the 5x5 board, across, down or diagonally.
🤝 DrawIf the board fills up with no line, the game is a draw.
🏁 The matchFive games are played in a row. Wins are worth 100 points and draws 40.

Computer levels

LevelPlays likeGood for
😊 EasyMostly random moves, sometimes sees a win or a blockLearning the game and your first wins
🤔 MediumAlways takes a win and blocks yours, otherwise plays by feelCasual players who want a real game
🔥 HardPlans ahead, but slips about one move in four on 3x3Experienced players
🧠 ExpertPerfect on 3x3, searches deeply on 5x5A proper challenge: on 3x3 a draw is the best you can get

All levels play by exactly the same rules as you and none of them cheats. You can take back moves with Undo or ask for a Hint any time it is your turn.

Game modes

Play the computer against Easy, Medium, Hard or Expert, with your own match record for each level. The Daily challenge is a 5x5 match against the Hard computer where every game starts from the same four marks each day. Two players, one screen lets two people take turns on the same device. Choose the level, the board and the players in Settings (the cog), then press the New match button (the circular arrow) to start.

Leaderboards

Every finished match against the computer in which you won at least as many games as you lost can go on the leaderboard, which has This month and All time panels. A match scores 100 points for every game won and 40 for every draw, plus a level bonus (Easy 0, Medium 100, Hard 250, Expert 450, Daily 250), plus 150 on the 5x5 board. So a clean sweep on a high level and a big board is worth the most, and five perfect draws against Expert still make a good score. You only pick a nickname, there is no sign-up, and you can change the name, hide your scores or delete them at any time. Lost matches and two-player matches are not ranked.

Badges

There are 18 badges for winning matches on each level, clean sweeps, winning streaks, quick wins, double threats, blocks, draws, the big board, the daily challenge, two-player matches and number of games played. Open the medal button in the game to see your progress.

BadgeHow to earn it
🏅 First WinWin a game against the computer.
😊 Easy MatchWin a match on Easy.
🤔 Medium MatchWin a match on Medium.
🔥 Hard MatchWin a match on Hard.
🧠 Expert StandoffFinish a match on Expert without losing a game.
🏆 Giant SlayerWin a single game on Hard or Expert.
🧹 Clean SweepWin all 5 games of a match.
🛡️ Never LostFinish 3 matches without losing a game.
🎯 Hat-trickWin 3 games in a row.
⚡ Quick WinWin a 3x3 game in 3 moves.
🍴 Double ThreatMake a move that creates two winning threats at once.
🗺️ Big BoardWin a game on the 5x5 board.
🕊️ PeacemakerDraw 10 games.
✋ BlockerBlock 10 winning moves of the computer.
☀️ Daily PlayerFinish a daily challenge.
👥 Friendly MatchFinish a two-player match.
🎲 RegularPlay 25 games.
🌟 VeteranWin 25 games against the computer.

Tic-Tac-Toe tips

  1. Start in the centre or a corner. On 3x3 the centre is part of four lines, a corner of three, and an edge of only two.
  2. Answer a corner with the centre. If your opponent opens in a corner and you play an edge, they can force a win.
  3. Block two in a row. If the rival has two marks in a line with the third square empty, fill it at once.
  4. Build a fork. Aim for a move that makes two lines of two at the same time, so one block is never enough.
  5. Going second? Take the centre if it is free, otherwise a corner, and play for the draw.
  6. On the 5x5 board a line of three open at both ends is already a winning threat, so block it early.

Frequently asked questions

Is Tic-Tac-Toe free to play here?

Yes. Tic-Tac-Toe 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 and badges are saved on your own device.

How do you play Tic-Tac-Toe?

Two players take turns putting their mark, X or O, in an empty square of a 3 by 3 grid. The first player to get three of their marks in a row, across, down or diagonally, wins. If the grid fills up with no line, the game is a draw. Here you are always X and the rival is always O, and the player who starts alternates every game.

Is it the same as Noughts and Crosses?

Yes. Noughts and Crosses is the British name for the same traditional paper-and-pencil game, and it is also known as Xs and Os. It is a very old game that nobody owns. This is an independent version made for this site, with its own board, marks and artwork.

What is a match?

A match is five games in a row against the same opponent. You win a game, draw it or lose it, and your five results make the match score: 100 points for every win and 40 for every draw. The starting player alternates, so you move first in games 1, 3 and 5.

Can the computer be beaten on the 3x3 board?

Tic-Tac-Toe is a solved game: with perfect play from both sides it is always a draw. Expert plays perfectly on the 3x3 board, so the best you can do against it is draw. Hard plays very well but slips about one move in four, and Easy and Medium make plenty of mistakes you can punish.

What is the big 5x5 board?

The 5x5 board is a bigger game: you need four in a row to win. There is much more room for tricks and double threats, and games are harder to draw. A win or a draw on the big board earns a bonus of 150 points on the leaderboard.

What is a double threat?

A double threat, also called a fork, is a move that makes two winning lines at once. The opponent can block only one of them, so you win next move. Making one earns the Double Threat badge.

What are the four computer levels?

Easy plays mostly random moves and only sometimes sees a win or a block. Medium always takes a win or blocks yours and otherwise plays by feel. Hard thinks ahead but can slip on the 3x3 board. Expert searches the whole game on 3x3 and many moves deep on 5x5. None of them cheats.

What is the daily challenge?

Every day everybody plays the same match on the 5x5 board against the Hard computer, and each of the five games starts with two X and two O already on the board, the same for everyone. Come back tomorrow for new openings.

Can I play against a friend?

Yes. Choose "Two players, one screen" in the game menu and take turns on the same phone, tablet or computer. X is the first player in game 1 and the starting player alternates.

Can I take back a move or get a hint?

Yes. The undo button takes back your last move, and the light-bulb button marks a good square with a flashing red dashed ring. Both are just for fun, so use them whenever you are stuck.

Does Tic-Tac-Toe have a leaderboard?

Yes. Matches against the computer are ranked on a leaderboard with This month and All time panels, and the daily challenge has its own board. A match scores 100 points for every game won and 40 for every draw, plus a bonus for the level (Easy 0, Medium 100, Hard 250, Expert 450), plus 150 on the 5x5 board. Only matches where you won at least as many games as the computer are ranked. You only choose a nickname, with no sign-up, and you can delete your scores at any time.

Can I play on a phone?

Yes. Tic-Tac-Toe works on phones and tablets in portrait and landscape. The first tap on a square shows a preview and the second tap places your mark. On a computer you can click, or use the keyboard: arrow keys and Enter, the number keys 1 to 9 on the 3x3 board, U to undo and H for a hint.

More free board and puzzle games: Four in a Row, Reversi, Go, Mancala and Checkers.