Tic-Tac-Toe Online

Noughts and crosses, X and O, the first game most of us ever played, free in your browser: tap a cell, get three in a row and you win. Play a friend online, two players on one device, or the computer from Easy to an unbeatable Master. No download, no sign-up.

Play Tic-Tac-Toe
Opponents
4 computer levels, Play Online, a friend by link or on one device
Boards
Classic 3×3 (three in a row) or Big 5×5 (four in a row)
Devices
Phone, tablet or computer: touch or mouse
Cost
Free vs the computer and on one device; 40 play coins online

Our tic tac toe game

A dark blue board, glowing marks in mint and coral, and a gold line that sweeps across the winning row. On the home screen choose Computer or 2 Players, then the board: Classic 3×3, the game everyone knows, where three in a row wins, or Big 5×5, where you need four in a row and there is room for real traps.

Against the computer pick Easy, Medium, Hard or Master, played by Pip, Juno, Vex and Professor Tock. Easy leaves openings everywhere, Hard blocks almost every threat, and Master plays the classic board perfectly: you can draw against it, but never beat it. The first move changes hands every game, and the home screen counts your wins and your longest winning streak at each level.

How to play

Against the computer the bulb shows a good cell and Undo takes your last move back, three of each free every game. The rules and the winning tricks are in our guide, how to win at tic tac toe.

On a computer

It plays just as well on Windows, a Mac or a Chromebook: click a cell to play it. The board grows to fill the screen, and the players sit on either side when the window is wide.

Play tic tac toe with friends

  1. On the home screen tap Play with a friend and type the name your friend will see.
  2. Choose Classic 3×3 or Big 5×5, then tap Create the invite.
  3. Send the link with Share invite, Copy link or WhatsApp, or read out the five-character room code.
  4. Your friend opens the link, or types the code under Have a code? and taps Join. The game starts when they arrive.

Each of you plays on your own screen, with 20 seconds for each move, and the server checks every move. When it ends, tap Rematch and the other player starts. For someone new, tap Play Online for a game on the Classic board. Sitting together? Choose 2 Players, type both names and pass the phone. More games for two are on our two player games page.

Tips

Questions

Is this tic tac toe game free?

Yes. Games against the computer and two players on one device are free, with no download and no account. An online game uses 40 play coins; every new player gets 800, and coins have no money value. How coins work.

Can two people play on one phone?

Yes. Choose 2 Players, type your names and take turns on the same screen.

Can I beat the Master level?

On the Classic board, no: with perfect play tic tac toe is always a draw, and Master never makes a mistake. A draw against it is a good result. On the Big board it is strong but not perfect.

Does my friend need an account?

No. The invite link opens in any browser, on a phone, tablet or computer.

More games like this

Embed Tic-Tac-Toe on your site

Put Tic-Tac-Toe on your blog, class page or website for free: copy the code and paste it into your page. The game loads from AllFun Games and works on phones and computers.

<div style="max-width:960px;margin:0 auto">
  <div style="position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#0b1020">
  <iframe src="https://allfun.games/api/embed/tictactoe/" title="Tic-Tac-Toe — AllFun Games" style="position:absolute;inset:0;width:100%;height:100%;border:0" allow="autoplay; fullscreen; gamepad; clipboard-write; web-share" allowfullscreen loading="lazy"></iframe>
  </div>
  <p style="margin:8px 0 0;font:14px/1.4 sans-serif;text-align:center">Play <a href="https://allfun.games/tictactoe/">Tic-Tac-Toe on AllFun Games</a></p>
  </div>
Free to use. Please keep the link under the game.