Tic Tac Toe

Free online tic tac toe — play vs computer, locally, or with friends

🤖
vs Computer
Challenge the AI — easy or unbeatable
👥
Local 2-Player
Pass & play on the same device
🌐
Online Multiplayer
Play with friends or random strangers

How to play

1
Two players take turns — one plays X, the other O.
2
Click any empty square to place your mark on the 3×3 grid.
3
First to line up three of their marks in a row, column, or diagonal wins.
4
If all nine squares fill up with no winner, the game is a draw.

About this game

TicToe.org is a free online tic tac toe game (also known as noughts and crosses or Xs and Os). Play instantly in your browser — no app to install, no account to create. Choose between three modes: a single-player match against an AI on easy or unbeatable difficulty, a local two-player pass-and-play game, and online multiplayer where you can invite a friend with a shareable room code or get matched with a random opponent.

Frequently asked questions

Can you always win at tic tac toe?

No. With perfect play from both sides the game always ends in a draw. Our unbeatable AI plays optimally using minimax — the best you can do is force a tie.

Who goes first in tic tac toe?

X goes first by convention. On TicToe.org the starting player alternates each round so both sides get an equal first-move advantage.

How do I play with a friend online?

Pick Online Multiplayer → Invite a Friend. We'll generate a 6-character room code; share the invite link and your friend joins automatically. Read the full multiplayer guide →

Is the game free?

Yes. TicToe.org is 100% free, has no sign-up, and works on phones, tablets, and computers.

What's the difference between Easy and Hard mode?

Easy plays random legal moves, so you can win by paying attention. Hard runs the full minimax algorithm and plays perfectly — it never loses.

X0
Draws0
O0

Player X's turn

Online Multiplayer
How do you want to play?
🔗 Invite a Friend
Create a room — share the link or code
🎯 Join a Room
Enter a room code from a friend
🎲 Random Opponent
Match with someone playing now

Online
You0
Draws0
Opponent0

Your turn