Tool to convert numbers from/to D'ni numerals (from Myst/Riven games) that uses square symbols and a base 25.
D'ni Numerals - dCode
Tag(s) : Numeral System, 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!
D'ni numeration is a fictional number system used in the Myst and Riven series of video games which has the mathematical particularity of counting in base 25.
The D'ni numeral system uses the base 25 to count and therefore has 25 symbols.
![]() | 0 | ![]() | 1 | ![]() | 2 | ![]() | 3 | ![]() | 4 |
---|---|---|---|---|---|---|---|---|---|
![]() | 5 | ![]() | 6 | ![]() | 7 | ![]() | 8 | ![]() | 9 |
![]() | 10 | ![]() | 11 | ![]() | 12 | ![]() | 13 | ![]() | 14 |
![]() | 15 | ![]() | 16 | ![]() | 17 | ![]() | 18 | ![]() | 19 |
![]() | 20 | ![]() | 21 | ![]() | 22 | ![]() | 23 | ![]() | 24 |
To convert a number (integer, in decimal writing), start by writing it in base 25 (see writing in base N), then substitute each value (between 0 and 24) by the corresponding D'ni symbol.
The conversion begins by replacing each symbol of the base 25 D'ni by its value (between 0 and 24) then processing the number obtained as written in base 25 in order to convert it to base 10 (decimal).
The D'ni numeric symbols are square and have inside either lines (horizontal, vertical or diagonal) or arcs of circles connecting 2 adjacent corners.
Any references to Myst and Riven video games are clues.
dCode retains ownership of the "D'ni Numerals" source code. Any algorithm for the "D'ni Numerals" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "D'ni Numerals" 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 "D'ni Numerals" or any other element are not public (except explicit open source licence like Creative Commons). 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 "D'ni Numerals" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
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: D'ni Numerals on dCode.fr [online website], retrieved on 2025-04-15,