Tool to code / decode with the Tic-Tac-Toe cipher. The Tic-Tac-Toe code is a grid cipher, using symbols from the famous game Tic-Tac-Toe (or noughts and crosses or Xs and Os)
Tic-Tac-Toe Cipher - dCode
Tag(s) : Symbol Substitution
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Tic-Tac-Toe, also known as noughts and crosses or oxo, is a simple strategy game played on a 3x3 grid. This grid structure is used as a visual basis to build a coding system using symbols derived from the game.
The grid is made up of 2 vertical lines and 2 horizontal lines forming 9 distinct spaces, similar to a larger # (hash) symbol.
The first 9 letters of the alphabet are placed in this grid, then the next 9 are marked with crosses, and the last 8 with circles.
Each letter is represented by a symbol describing its position in the grid: 2 to 4 line segments indicate the cell position, and a dot indicates the letter group.
Decryption consists of performing the reverse operation of encryption. The user must have access to the grid(s) used to match symbols to letters.
Each symbol is analyzed based on its shape (line segments indicating a position in the grid) and the presence or absence of a marker (none, circle, or cross).
By identifying the corresponding cell in the grid, the user retrieves the associated letter.
The symbols are very similar and resemble a Tic-Tac-Toe grid, with right angles, 2 to 4 perpendicular lines sometimes accompanied by a circle or cross in the center.
This cipher can be confused with the Pigpen cipher, of which it is a variant.
dCode retains ownership of the "Tic-Tac-Toe Cipher" source code. Any algorithm for the "Tic-Tac-Toe Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Tic-Tac-Toe Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Tic-Tac-Toe Cipher" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Tic-Tac-Toe Cipher" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Tic-Tac-Toe Cipher on dCode.fr [online website], retrieved on 2026-05-20,