Back to all tools

Tic Tac Toe

Classic X and O. Play against a friend or challenge the AI on Easy, Medium or Hard.

No files are stored on our servers

X

0

Draws

0

O

0

X's turn

How to use

  1. 1

    Choose Player vs Player or Player vs AI mode.

  2. 2

    Click any square to place your mark — X always goes first.

  3. 3

    Get three in a row to win. Beat the AI on Hard if you can!

Tic Tac Toe — Play Online Free vs Friend or AI

Play Tic Tac Toe online for free. Challenge a friend in local multiplayer or play against AI with Easy, Medium and Hard difficulty.

Tic Tac Toe (also known as Noughts and Crosses) is the timeless 3×3 strategy game that takes seconds to learn and a lifetime to master. Our free online version runs entirely in your browser — no sign-up, no ads, no downloads — and works equally well on desktop, tablet and mobile.

Sharpen your skills against the AI opponent powered by the classic Minimax algorithm. Easy mode plays random moves so beginners can win, Medium mixes smart and random play, and Hard never loses — the best you can do is force a draw. Or grab a friend and play locally in Player vs Player mode with a running scoreboard that tracks wins and draws for the session.

Frequently Asked Questions

Can I beat the AI on Hard difficulty?

No — Hard mode uses a perfect Minimax algorithm, so the best result you can get is a draw. If you ever lose to the AI on Hard, it means you missed a forced win or block.

Is there a two-player local mode?

Yes. Switch to Player vs Player and take turns on the same device. X always moves first; the scoreboard tracks wins and draws until you reset it.

Does it work on mobile?

Absolutely. The board is touch-friendly and scales to your screen size, so you can play on phones and tablets without any app install.

Are my scores saved?

Scores reset when you reload the page, keeping each session clean. Use the New Game button to start a fresh round while keeping your current scoreboard.

You might also like

Other tools you might find useful.