Tool to solve Binairo puzzles that uses a high‑performance algorithm to instantly find your grid solutions.
Binairo Solver - dCode
Tag(s) : Number Games
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!
Binairo (also known as Takuzu or Binary Puzzle) is a logic game whose grid uses only the digits 0 and 1. The goal: fill every cell while obeying three rules:
— each row and each column holds the same number of 0s and 1s
— no more than two identical digits may appear consecutively in any row or column
— no two rows or two columns may be exactly alike.
A few clue cells are pre‑filled to start the deduction process.
Example:
| ␣ | ␣ | ␣ | 1 |
| 1 | ␣ | 0 | 1 |
| ␣ | 0 | ␣ | ␣ |
| 0 | ␣ | ␣ | 0 |
To solve a Binairo manually, first locate rows or columns that already have many clues. Then apply these basic rules:
— two adjacent identical symbols force the opposite symbol in the next cell
— a pattern like 0?0 necessarily places a 1 in the centre
— when a row already contains half of its required 0s, all remaining cells must be 1 (and conversely)
— no two rows or columns may ever become identical.
These deductions are usually enough to finish easy or medium grids without trial and error.
For difficult grids, several advanced approaches can be used:
— contradiction analysis: temporarily assume a value and check whether it leads to a rule violation
— detection of symmetrical or nearly completed patterns
— duplicate avoidance to prevent two rows or columns from becoming identical.
Automatic solvers such as dCode often combine these techniques with heuristics to drastically reduce the search space.
To improve at Binairo, regularly solve grids of increasing difficulty and learn to quickly recognise recurring patterns.
Experienced players develop visual reflexes that let them instantly spot certain constraints.
With practice, solving speed increases significantly by memorising common logical patterns.
Several variants and adaptations of classic Binairo exist. Some change the grid dimensions, others introduce new logical constraints.
Among the best‑known:
— using the symbols O and X instead of digits
— three‑dimensional versions where the rules apply across multiple planes
— hybrid puzzles that mix Binairo rules with those of other logic games.
These variants refresh the gameplay while keeping the core binary‑constraint principle.
In classic Binairo, grids are almost always even‑sized (6×6, 10×10, etc.). This requirement is essential because each row and each column must contain exactly as many 0s as 1s.
With an odd‑sized grid, this balance is impossible: a row would inevitably have more 0s or more 1s. Some variants therefore adjust the rule by allowing one extra 1 in such rows or columns.
dCode retains ownership of the "Binairo Solver" source code. Any algorithm for the "Binairo Solver" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Binairo Solver" 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 "Binairo Solver" 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 "Binairo Solver" 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: Binairo Solver on dCode.fr [online website], retrieved on 2026-05-20,