3

Is there any place to download the Tanach, or at least the Torah, in plain text format, including nekudos and trop? From Mechon Mamre I can download the HTML, but aside from the html tags the text is in a weird format (that I can't directly read in a text editor).

I'd like to be able to search for trop or sequences of trop, which is easiest in text format (with grep).

4
  • 1
    Feel free to borrow some of my Node.js code to find gematriyas of Tanach - it uses Mechon Mamre's source, and filters out all of the HTML and other funny stuff.
    – Scimonster
    Commented Dec 3, 2015 at 13:59
  • @Scimonster That sounds like an answer.
    – msh210
    Commented Dec 3, 2015 at 14:26
  • @Scimonster Out of curiosity, what "funny stuff" was there besides HTML?
    – Daniel
    Commented Dec 3, 2015 at 14:29
  • Don't you have a problem with encoding or fonts by chance? Commented Jan 17, 2018 at 16:47

1 Answer 1

4

A few options depending on what you're looking for:

  • The Leningrad codex is online including teamim. You can download a zip file of everything in plain text format. Note that the teamim correspond to the WLC, and differ in some places from the commonly used ones.

  • Wikisource has the whole tanach and also has an API which can be used to download in a variety of formats, including plain text. Wiki's teamim are based on the traditional teamim.

  • Although it's not exactly what you asked for, you may also be interested in using Sefaria. It has an API and a download page for ever book which can be used to download JSON or csv. The leap from JSON or csv to plain text is not a big one and the organization may be helpful depending on what you're looking for. Sefaria's teamim are also based on the WLC.

2
  • To be more precise, Wiki's teamim are based on the [reconstructed] Aleppo Codex which still may differ (perhaps for the better!) in some ways from an average Chumash. (Not that any two Chumash editions are likely to ever be exactly the same.)
    – Double AA
    Commented Jan 17, 2018 at 17:02
  • Dovi is using Mordechai Breuer's principles, to reconstruct the missing parts of the Aleppo Codex. There are also some corrections if an error can be assumed, and he's not retaining the chataf patachs. Everything is documented there. judaism.stackexchange.com/questions/77548/… Commented Jan 18, 2018 at 9:35

You must log in to answer this question.

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