← All projects

The Psalms in Hebrew, word by word

Published

The problem

The Hebrew language fascinates me, and so does the eloquence of the Psalms. I wished there were a site that taught the Hebrew of the Book of Psalms the way Quran.com presents the Quran: the original text next to a translation, with every word explained.

What I built

In the summer of 2025 I built two things.

The first is an interlinear viewer for the Psalms. Each psalm shows the King James translation next to the Hebrew, and hovering over a Hebrew word shows its dictionary form, Strong’s number, grammar, pronunciation and meaning. Prefixes such as ו (and) or ב (in) and the pronoun suffixes are explained separately, and on phones, where nothing can be hovered, a tap opens the same information. A Python script builds the data by joining three open sources: the Hebrew text with its morphology from Open Scriptures, the King James Version, and Strong’s Hebrew dictionary. Later I extended the script to the whole Hebrew Bible and made it faster with multiprocessing.

The second is a single JSON file of the whole Hebrew Bible with its vowel and cantillation marks (the nikkud and the trope), converted from the Westminster Leningrad Codex. I needed it for the viewer and published it on its own, so that others can use it in their projects.

The viewer was never deployed, so here it is, rebuilt for this page from the same data:

Live demo

Hover over or tap a Hebrew word to see its dictionary form, grammar and meaning. With the keyboard, tab to the Hebrew and move with the arrow keys.

Hebrew text and morphology: Open Scriptures Hebrew Bible (Westminster Leningrad Codex, CC BY 4.0). English: King James Version. Dictionary: Strong’s Hebrew Dictionary, via Open Scriptures.

What went wrong

The nikkud never made it into the main text. Lining up the vowelled words with the word-by-word data was messy, because some words came out clustered together, so the vowels only appear on the dictionary forms in the tooltips. Expanding from the Psalms to the whole Tanakh stalled too: the data was ready, but the site still assumed a single book.

I wrote the viewer by hand rather than vibe coding it, and at that point it became tedious, so I stopped. It is something I might finish with Claude one day.

What I learned

A lot about Hebrew, and about the different ways the Hebrew Bible can be presented and read. Surprisingly much came from the small JSON project, because there I had to handle the data myself.