Torah codes are "a purported set of secret messages encoded within the Hebrew text of the Torah" (Wikipedia).

For instance, a well known code suggests that counting 3 intervals of 12111 letters from the first regular mem before the only word whose letters spell the name "Esther" in Chumash (Bereshit 4:14) result in the word "Megilat" (12111 being the number of letters in Megilat Esther).

Similar codes were suggested skipping 12196 letters to find Mordechai and Esther, while others write this doesn't work.

Are there open access tools to validate such codes in the Torah or Tanakh? An ideal validation tool would generate words from a starting letter and an interval. Bonus would be to count the letters in a part of Tanakh.

Note that I am not asking about the overall issues with Torah codes (on which much was written), nor am I asking if the above codes are correct.

  • 2
    Good point. I find it strange how great the discrepancies in counts are (though I guess I shouldn't considering the evidence we've seen of how hard counting can be, and variations and k'ri uch'siv, etc. When you say "validate" you just mean to take a starting letter, interval and length as input and return the string produced, not calculate the likelihood of the target string emerging from those parameters against the null hypothesis, right?
    – WAF
    Mar 22, 2019 at 6:32
  • 3
    Exactly. The simpler version. Ideally it would be user friendly for non rocket scientists
    – mbloch
    Mar 22, 2019 at 6:33
  • 1
    I suppose only k'ri would be taken into account and that nobody would count spaces as characters. Are there conventions about which spellings/which m'sora to use where for code finding?
    – WAF
    Mar 22, 2019 at 6:42
  • Note there are different traditions for how many letters are in Esther, so you should also use your tool to see which text it used.
    – Double AA
    Mar 22, 2019 at 14:26
  • FWIW, anyone who wants to talk about the validity of Torah codes can take it here. IMO Torah codes are only useful for PTIJ.
    – DonielF
    Mar 22, 2019 at 15:59

1 Answer 1


TorahBibleCodes is a Free, Open-Source Python Project that enables you to search for hidden Torah Bible Codes in the Hebrew Torah and Bible. We offer a simple and intuitive App (and API) that is both free and open-source.

Please visit our web site, GitHub, StackOverflow, YouTube, Rumble, Twitter, and GiveSendGo.

HOMEPAGE URL: https://TorahBibleCodes.com

GITHUB: https://github.com/torahbiblecodes

READTHEDOCS (this page): https://torahbiblecodes-sphinx.readthedocs.io/en/latest/index.html

ACADEMIA: https://www.academia.edu/104334275

STACKOVERFLOW: https://stackoverflow.com/users/8911652/torahbiblecodes

TWITTER: @TorahBibleCodes https://twitter.com/TorahBibleCodes

YOUTUBE: @TorahBibleCodes https://www.youtube.com/@TorahBibleCodes

YOUTUBE: @TorahBibleCodes https://www.youtube.com/channel/UCNsvtMx4JJRpNzzPq57HCqg

GIVESENDGO: @TorahBibleCodes https://www.givesendgo.com/torahbiblecodes

  • 1
    Does the code let you adjust the text you are searching through?
    – Double AA
    Jun 2, 2023 at 20:12
  • It depends what you mean by "adjust". The code lets you choose the text(s) you wish to search; The code is free and open-source, so certainly if you know Python you can "adjust" and develop in any way you intend. [link] (torahbiblecodes-sphinx.readthedocs.io/en/latest/usage.html) Jun 4, 2023 at 5:59
  • Link to academic paper dropped that explains the TorahBibleCodes software (and research data) available - thank you in advance for your patience as I will update the GitHub with the most current software version with ELS Search Capabilities to share with the world asap: academia.edu/104334275 Jul 13, 2023 at 12:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .