Tooldit
BlogAboutContact
Browse Tools
Back to Games

Tic Tac Toe

Get three in a row. Beat the computer or play with a friend.

X
0
Draws
0
O
0
Your turn

Progress is saved automatically in your browser.

Play Tic Tac Toe Online — Free, Instant, In Your Browser

This free online tic tac toe game is the classic three-in-a-row duel, rebuilt to play instantly in any browser. You pick the mark X, take turns dropping symbols on a 3×3 grid, and race to line up three of your marks in a row before your opponent does. Play head-to-head with a friend on the same screen, or take on a computer opponent that ranges from harmlessly random to genuinely unbeatable. There's nothing to install, no account to create, and no wait — the board is ready the moment the page loads.

How to Play

The rules are the ones everyone already knows, and the controls map directly to them:

  • The goal— get three of your marks in a straight line: across a row, down a column, or along either diagonal. The first player to do it wins, and the winning line is highlighted and struck through automatically.
  • Making a move— click or tap any empty square to place your mark. Squares that are already filled, or the whole board once the game is over, are locked so you can't play out of turn.
  • Choosing a mode— switch between vs Computer and Two Players at the top. In two-player mode you and a friend share one device and alternate X and O.
  • Difficulty— in vs-computer mode, pick Easy, Medium, or Hard. The computer plays as O and takes a short moment to "think" before responding.
  • Scoring— the scoreboard tracks wins for X, wins for O, and draws across every round you play. A draw happens when all nine squares fill up with no winning line.
  • Starting over— use New Round or New Game to clear the board, and Reset Scores to wipe the tally back to zero.

The Three Computer Difficulties

The vs-computer mode is built around three genuinely different opponents, so the challenge scales with your skill:

  • Easy— the computer simply picks a random open square. Great for younger players or a quick confidence win, since it won't spot your threats or set up its own.
  • Medium— a sensible middle ground. It completes its own three-in-a-row when one is available, blocks you when you're one move from winning, and otherwise plays randomly. Beatable, but you have to pay attention.
  • Hard— powered by the minimax algorithm, this opponent looks at every possible continuation of the game and always plays the optimal move. It cannot lose. Against perfect play, the best result you can earn is a draw — which is exactly what makes it a satisfying practice partner.

Tips and Strategy

Tic tac toe is a "solved" game — two players who never make a mistake will always draw — but humans slip up, so a little strategy goes a long way:

  • Take the center first. The middle square belongs to four of the eight possible winning lines, more than any other cell. Grabbing it early gives you the most ways to win.
  • Corners beat edges. If the center is taken, a corner is your best play. Corners each sit on three winning lines; the edge squares only sit on two.
  • Create a fork.The winning idea is to set up two threats at once so your opponent can only block one. The Hard computer is an expert at both making and shutting down forks — study how it responds to learn the pattern.
  • Always block. If your opponent has two in a row with the third square open, you must take that square immediately, even if it means delaying your own attack.
  • Use the first-move edge. Because the starting mark alternates each round, make the most of the games where you move first — the opener has a real advantage if played well.

Why Play Here

  • Completely free— no paywall, no trial, no "unlock difficulty" upsell. Easy, Medium, and Hard are all open.
  • No sign-up or download — nothing to install and no account to make. The page is the game.
  • Runs in your browser— everything happens on your device, so there's nothing to upload and no data sent anywhere.
  • Keeps your score— your win, loss, and draw tally is stored locally and survives a refresh.
  • Works offline— once loaded, a dropped connection won't stop your match.

When People Reach for a Quick Game

  • A coffee-break breather. Office workers fire up a round or two against the Hard computer to reset between tasks — short enough to finish before the kettle boils.
  • Keeping kids busy. Parents hand a phone to a child waiting at a restaurant or in a car, with Easy mode giving a fair chance at winning.
  • Teaching game logic. Teachers and tutors use the Hard opponent to demonstrate optimal play and why the game always ends in a draw between two careful players.
  • A friendly desk rivalry. Two coworkers settle a tiny bet over who buys lunch with one quick two-player round on a shared laptop.

Frequently Asked Questions

+Is this Tic Tac Toe game free to play?

Yes. The game is completely free with no sign-up, no download, and no ads interrupting your match. Open the page and start playing right away — both the two-player and vs-computer modes are unlocked from the start.

+How does the computer opponent decide its moves?

It depends on the difficulty you pick. Easy plays a random open square. Medium looks one move ahead — it completes its own three-in-a-row when it can, blocks yours when it must, and otherwise plays randomly. Hard uses the minimax algorithm to evaluate every possible outcome, which means it plays perfectly and can never be beaten — the best you can manage is a draw.

+Does the game save my score if I refresh the page?

Yes. Your running scoreboard, the selected mode, and the chosen difficulty are saved automatically in your browser's local storage. Refresh or come back later and your X, O, and draw totals are still there. Use the Reset Scores button to clear them when you want a clean slate.

+Does Tic Tac Toe work on a phone and offline?

Yes. The board is responsive and tap-friendly, so it works on iPhone, Android, and tablets in any modern browser. Because the game runs entirely on your device with no server calls, it keeps working even if your connection drops mid-match.

+Who goes first, and does it change between rounds?

X always plays first in the very first game. After each round, the starting mark alternates so X and O take turns going first — that keeps things fair, since the player who moves first has a small advantage. In vs-computer mode you are X (the human) and the computer is O.

Looking for another quick break? Try more free browser games on the Tooldit Games hub — every one runs right in your browser with nothing to install.

Footer

Tooldit

Free, private, browser-based PDF, image, and AI tools. No sign-up, no uploads — your files never leave your device.

info@tooldit.com
  • Private
  • Fast
  • Offline
  • Free Forever

PDF Tools

  • Merge PDF
  • Split PDF
  • Compress PDF
  • PDF to Images
  • Image to PDF

Image Tools

  • Image Editor
  • Image Cropper
  • Image Merge
  • PNG Converter
  • JPG Converter

Calculators

  • Age Calculator
  • Percentage Calculator
  • BMI Calculator
  • Tip Calculator
  • GPA Calculator

Text & Dev

  • Word Counter
  • Character Counter
  • Case Converter
  • Lorem Ipsum Generator
  • Text Diff Checker

AI & Utility

  • Background Remover
  • Object Remover
  • Internet Speed Test
  • Typing Speed Test
  • Stopwatch & Timer
  • Games

Company

  • Blog
  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Tooldit. All tools run locally in your browser.