Skip to main content
🧙‍♂️ Kris Kowal 🐘 🐙 🧛 📌 📬 Book Store

In the Making of the Tengwar Transcriber

The Tengwar Transcriber: Elvish letters in glowing yellow, in a flowing italic, across a golden gradient, above a text box at the bottom of the page that holds the English letters, Mae govannen, Arda! Links to Select Mode and About sit at either side of the box.
Figure 1. The Tengwar Transcriber.

In 2011, I undertook a project to create a modern web-based tool for transcribing the Tengwar. The Tengwar is an alphabet, or rather, an abugida, invented by the linguist and author J.R.R. Tolkien, that exists as an understated backdrop for all of his legends.

The Elvish languages use tengwar (letters, typically reserved for consonants) and tehtar (diacritics, typically reserved for vowels). There are many Elvish languages and each of them assigns slightly different values to each symbol, and combines them in various “modes”. For example, there is the classical mode, suited particularly to the language Quenya, in which the tehtar appear over the tengwa they are spoken after. There is the mode for general use, with a richer but less specific set of phonemes suitable for most other languages, in which the tehtar typically appear over the tengwar they are spoken before. There is also the mode of Beleriand, which, like English, uses letters for both consonants and vowels and uses diacritics only to alter their values.

The map #

In 2010, I published a map of Middle-earth, with labels in both English and Elvish. The map is assembled from hand-drawn scans. Each layer (geography, toponyms in the Latin alphabet, and Sindarin toponyms in the Tengwar) renders an image at 7 scales, the largest of which has more than 4 million pixels. Every label on the map renders opaque at only one scale, and diminishes in opacity on neighboring layers.

Not every place in Middle-earth has an attested Elvish name, though most of the names you read are indeed Sindarin. For example, Mordor is a Sindarin word that means “Dark Land” or idiomatically “Land of Shadow”. Gondor in turn means “Land of Stone”. Eriador (the distant land from which the Hobbits originate) means “Lone Land”, whereas the Dwarf fortress desecrated by Smaug is called Erebor, which means “Lonely Mountain”. Each of these words in turn shares some common Elvish root word. “Dor” means “Land”. “Ereb” means “Lone”. “Orod” means “Mountain”.

The word Erebor in the Tengwar, brushed in bold red calligraphy on white paper: a row of tall, slanting letters whose long strokes sweep up and to the right.
Figure 2. Erebor, from “Ereb Orod”, literally “Lonely Mountain”.

Learning Elvish #

Ye, children of an enlightened age, now benefit from the slavish efforts of an army of lost souls who have created incredible interactive reference material for Tolkien’s language. Elfdict is a comprehensive reference of much that is known about Tolkien’s languages. Tolkien Gateway is the definitive wiki, though there are many similar references. There have even been multiple attempts to create an Elvish transcriber tool. A transcriber takes letters and rewrites them in other writing systems. A transcriber is a complementary tool to a translator.

A spreadsheet of place names in Middle-earth. Each row is a place: a lower-case canonical key such as ennorath, belegaer or eriador, then its Sindarin name, then columns of page references and status marks, then its names in English, German, Khuzdul and French. Ennorath is Middle-earth, Belegaer the Great Sea, Forodwaith the Northern Waste.
Figure 3. Locations of Middle-earth.

I had received a great deal of assistance and review for my map of Middle-earth from Måns Björkman Berg, a Swedish typographer of renown in the Elvish linguistics community for creating Amanyë Tenceli, “The Writing Systems of The World”, a rather thorough reference about the Elvish languages. From this experience, my understanding of Elvish went from casual to amateur.

Elvish in mortal fonts #

I had previously attempted to implement a transcriber using Python and the PIL’s font rendering. At that time, a transcriber could not have been interactive. You would need to submit a form with some text and get an image back. I attempted to do this in a scrolling chat.

Elvish resists treatment in our mortal fonts. Most Elvish fonts descend from a system devised by Dan Smith around 1997. In Dan’s scheme, the four columns of the Elvish alphabet are transposed into the four rows of the QWERTY keyboard. The bulk of keys produce tengwar. Holding shift produces tehtar. However, the tehtar do not advance the cursor and are drawn over the preceding tengwa. This allows multiple diacritics to be superimposed over those letters. For example, “allys” renders with the Dan Smith text:

j#°iÙ

The j produces the tengwa for the L sound. The # produces the A diacritic over the L. The degree sign ° produces the somewhat less obvious under-bar inside the L, which doubles the value of the L. The i produces the tengwa for the S sound, turned, as it is written under a diacritic, and the Ù produces the Y diacritic over it.

Two tengwar in black ink on parchment, each with a tehta above it: on the left, a letter like a backward three with a crossbar inside, under three dots; on the right, a letter like a question mark, under a small check mark.
Figure 4. “allys”, as the Dan Smith text above draws it.

Notably, not every diacritic can be written the same distance before the cursor to be kerned appropriately over the preceding tengwa, so Dan Smith fonts have four representations of every tehta, so you can draw them four different distances before the cursor. The Y diacritic, for example, is any of Ø, Ù, Ú and Û.

If this was not complex enough, the kerning is not the same in every Dan Smith compatible font. The two fonts I use most are Tengwar Parmaitë by the aforementioned Måns Björkman and Tengwar Annatar by Johan Winge, designed to resemble Sauron’s own cursive as it appears on the One Ring.

Emboldened by Måns’s kind mentorship and the newly viable browser support for web fonts, I made my Tengwar Transcriber, weaving JavaScript and Elvish into a whole. And thus it has been online since, and almost a decade has passed. The about page tells how the transcriber works around those fonts.

Rings and tattoos #

So it transpires that Jens Hansen Jewelers were contracted to make props for the One Ring for Peter Jackson’s epic interpretation of The Lord of the Rings and the tragically comic Hobbit trilogy. Jens has since been producing replicas for fans, many of whom wear Sauron’s wedding band with a less evil inscription.

One ring to show our love,
One ring to bind us,
One ring to seal our love,
And forever to bind us.

As such, Halfdan son of Jens son of Han incorporated my transcriber as a library on the Jens Hansen site, to assist aspiring ring bearers in creating custom inscriptions, and every mistake I made has been etched in metal since.

I’ve recently received reports that the same transcription error was seen on multiple tattoos, and the linguist Fiona Jallings traced those errors back to the Tengwar Transcriber.

Moving house #

I am endeavoring to focus on other projects, but I feel a certain obligation to at least enable this community to contribute fruitfully to the project in my absence. To that end, I’ve spent some time over the last few weeks updating the infrastructure for the 3rin.gs sites.

I moved the static content from Dreamhost to Amazon S3, which is inexpensive. This was tedious and cumbersome. For one, there are about 150,000 tiles, weighing about 5GB total, and they can’t be transferred directly. I downloaded them to my archive and uploaded them again. Promisingly, the upload was considerably faster.

I then set up CloudFlare, with the free plan. This gives 3rin.gs TLS secure connections that are terminated in one of 150 data centers around the world, whichever is nearest to you. These edge caches considerably improve the speed of delivering commonly accessed tiles. Once this was set up, I was able to redirect the DNS from Dreamhost name servers to CloudFlare name servers. It took about a day for the name resolution to settle and for the TLS certificate to become authoritative.

Then, I started using Zeit (now Vercel) to automatically deploy changes from the project on GitHub. This makes it possible for anyone to go on GitHub and propose a change. The change is automatically deployed and then you can use the editor on a special subdomain or review the test cases visually. When those changes get accepted on the GitHub website, they then automatically deploy to the public site!

This required moving the transcriber from 3rin.gs/tengwar to tengwar.3rin.gs. The DNS entry is served from CloudFlare for the subdomain, and it points to the Zeit name server with an alias. I put a redirect in the subdirectory so traffic gets forwarded.

This creates an opportunity to give the map a similar treatment and breathe some life into that project again. However, until someone’s offering to modernize that user experience, I’m content to leave it as the minimalist jQuery single page application it is.

Please enjoy the updated Tengwar Transcriber, now with fewer bugs!

Since #

As of October 2026, 3rin.gs is served from Amazon S3 behind CloudFlare, and tengwar.3rin.gs from Vercel, which deploys it from GitHub. The transcriber has since taken fixes to the classical mode (unque and nwalme, December 2020) and moved its tests to GitHub Actions (March 2026).

The community has not been very active, but the invitation is open. I did eventually give 3rin.gs a refresh, which fixed some bugs and removed its superfluous dependency on jQuery for modern browsers. I would love to do more.


First published on Patreon, October 30, 2019.