↑

Free Tic Tac Toe Online

What this tool does

Play Tic Tac Toe online against the computer right in your browser. You are X and move first — click any square and the computer replies instantly, taking winning moves and blocking yours. Track your wins, losses, draws and moves played across games, then hit New Game for an instant rematch. A perfect quick break for kids and adults alike. Free, private and no sign-up needed. Works on phones too.

You are X and always move first. The computer (O) takes winning moves and blocks yours — perfect play from both sides ends in a draw.
-
Your wins
-
Computer wins
-
Draws
-
Moves played
-
Turn
-
Status

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I play Tic Tac Toe?

You are X and you move first. Click any empty square to place your X, and the computer (O) replies immediately. Keep alternating until someone completes a line of three or the board fills up. Your wins, the computer's wins, draws and moves played are tracked across games, and the New Game button starts a fresh board instantly. Try the Sample to see an opening move in the center and the computer's reply.

Rules and winning lines

There are eight ways to win: three rows, three columns and two diagonals. The first player to fill any one of those lines with their mark wins the game; if all nine squares fill with no complete line, the game is a draw. Because X moves first, X has a small advantage — five moves to O's four — which is why experienced players alternate who starts across a series of games.

Strategy: corners, center and forks

The center is the strongest square because it belongs to four winning lines; corners belong to three, and edges to only two. The key tactic is the fork — a move that creates two separate threats at once, so your opponent can only block one. A classic fork setup is taking opposite corners: if your opponent answers in the center, the third corner often creates an unstoppable double threat. Defensively, always block an immediate two-in-a-row first.

Can Tic Tac Toe be solved?

Yes — Tic Tac Toe is a solved game. With perfect play from both sides, every game ends in a draw, which is why the computer here is hard to beat: it always takes a winning move and always blocks yours. The full game tree has only about 255,000 possible games, small enough that early computer programs in the 1950s already played it perfectly. Beating a careful opponent means hoping they make a mistake — usually by ignoring a fork.

History of the game

Three-in-a-row games are ancient: similar boards appear in Egyptian temples and in Roman ruins, where the game was called terni lapilli. In Britain it became known as noughts and crosses, and in the US as tic-tac-toe, a name borrowed from an older pencil game. It was also one of the first games ever played by a computer — the 1952 program OXO ran on a Cambridge mainframe with a telephone dial as its controller.

Is it free and private?

Yes. The game is completely free, needs no sign-up, and runs entirely in your browser. Your games and scores are never uploaded or stored. It works on phones, tablets and desktop computers.

FAQs

How do I play?

Click any empty square to place your X — the computer replies with O instantly, and the first to complete a line of three wins.

Who goes first?

You do — you are X and always make the first move of each game.

Can the computer be beaten?

It always takes winning moves and blocks yours, so perfect play draws — you win only if you set up a fork it cannot stop.

How do I start a new game?

Press New Game for a fresh board; your win, loss and draw totals carry over until you press Clear.

Is anything stored?

No. Everything runs in your browser; your games are never uploaded or stored.

Is it free?

Yes, completely free with no sign-up. Everything runs in your browser.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.