Skip to main content
Menu
☎ (951) 904-2477
Tech & Machines

The Sator Square in Code

Also called Rotas square, palindrome word square, code comment ward

The Sator square is a five-by-five Latin word square that reads the same in four directions, found at Pompeii and used as a protective charm across Europe for centuries. This page explains its history and shows how to inscribe it in a code comment or on a device as a quiet ward.

TraditionRoman word square, later European folk charm
RegionRoman Empire, then Europe and the Americas
EraBefore 79 CE, used to the 19th century
Moon◐ Any moon
DaySaturday · Saturn
ElementEarth
Difficulty●○○ Simple
Time10 minutes

Tonight's moon is read when the page loads.

The working

  1. Choose where the ward goes: the top of a main source file, a README, or a sticker on the device.
  2. Write the square in five rows, one word per row: SATOR, AREPO, TENET, OPERA, ROTAS. Check that it reads the same across, down, and backward.
  3. In code, put it inside a comment block so it never runs or changes the program's behavior, and keep each row on its own line.
  4. As you write each row, read it aloud once. The square was meant to be read as well as seen.
  5. Add one plain line under it saying what you want protected, for example: guard this build and the people who run it.
  6. Commit it with a clear message, so others on the team know it is an inscription and not dead code.
  7. For a device, write it on a small label and fix it inside the case lid or under the base, away from vents.

Take care: Keep the square inside comments so it never affects how code runs. On shared or work projects, follow your team's rules about comments, and do not add it to someone else's code without asking.

Versions across time and place

i

Pompeii graffito

Roman · Before 79 CE

The square was scratched into a column near the Great Palaestra and on a house wall at Pompeii, so it was in use before the eruption of Vesuvius. Its first meaning, if any, is still argued over.

Recorded in: Sator Square, Wikipedia; finds of 1925 and 1936
ii

Fire charm on plates and walls

German and French folk magic · 16th to 19th centuries

The square was written on wooden plates and thrown into fires to put them out, and carved on buildings against fire. In 1743 Duke Ernst August of Saxe-Weimar-Eisenach ordered his towns to keep such Sator disks against fire. In France it was carved at the castles of Chinon and Jarnac.

Recorded in: Sator Square, Wikipedia
iii

Pennsylvania German charm book

Powwow · 1820

Hohman's charm book gives the square against fire and witchcraft and for cattle, written on paper and placed where needed. It carried the square into American folk practice.

Recorded in: John George Hohman, The Long Lost Friend (1820)

History

The Sator square is one of the oldest word charms in the West. Examples at Pompeii must date from before 79 CE, and others turned up at Dura-Europos in Syria and at Roman Cirencester in England. Its five words mean roughly sower, Arepo (perhaps a name), holds, works and wheels. Because its letters can be rearranged into PATER NOSTER twice with a spare A and O, many scholars once read it as a hidden Christian sign, a view the Pompeii finds made harder to hold.

Through the Middle Ages and after, it was written on amulets, bread, plates and walls against fever, fire and harm. No old source ever put it in software. Our adaptation treats a code comment the way earlier people treated a doorframe or a plate: a surface that carries words but does not change what the thing does. It is inscription, a mark of care on something you made.

Sources

  1. Sator Square · Wikipedia contributors
  2. An Early Christian Cryptogram? (CCHA Report 26) · Duncan Fishwick, 1959
  3. The Long Lost Friend · John George Hohman, 1820

Related spells

Want one made just for you?

Tell us what you need and we will craft a custom spell, charm or reading for it. Or call to book a reading or a road blessing in person.

☎ Call UsTranslate