Introduction
The Standard Galactic Alphabet (SGA) is a 26-letter substitution cipher that Tom Hall created for Commander Keen IV: Secret of the Oracle, released by id Software in 1991. Each English letter swaps for a unique alien-looking glyph. Markus "Notch" Persson later reused the same script in Minecraft for the enchanting table, which introduced it to millions of players two decades later. Type your text above and the translator converts it instantly. Toggle the direction to decode SGA glyphs back to English. The Minecraft enchanting mode checkbox wraps the output in the purple glow of the enchanting table for fun.
What this tool does
- Encodes English text into Standard Galactic Alphabet glyphs using a fixed 1:1 mapping over A through Z.
- Decodes SGA back to English by reversing the same lookup table.
- Includes a Minecraft enchanting mode toggle that styles the output with the enchanting table aesthetic.
- Passes spaces, numbers, and punctuation through unchanged. Only A-Z characters are substituted.
- Runs entirely in your browser. No text is uploaded to a server.
How this tool works
The translator holds a lookup table that maps each uppercase letter A through Z to a Private Use Area codepoint (U+E100 through U+E119). A web font bound to the CSS variable --font-sga draws the actual glyph shapes for those codepoints. When you type, each character is uppercased and checked against the table. If it matches, the corresponding glyph replaces it. Everything else, spaces, digits, punctuation, passes through untouched. Decode mode flips the table: each PUA glyph maps back to its original letter. The Minecraft enchanting mode toggle is purely visual. It wraps the output area in a styled container that mimics the purple glow of the in-game enchanting table. The words shown on the actual enchanting table in Minecraft are drawn randomly from a 62-word list and have no effect on the resulting enchantment, as documented on the Minecraft Wiki.
How the cipher or encoding works
Tom Hall designed the Standard Galactic Alphabet for Commander Keen IV: Secret of the Oracle, the first episode of the Keen series released by id Software in 1991. The game's story involves Billy Blaze, an eight-year-old genius who travels to Mars. The alien letters appear on signs and terminals throughout the levels. Players who decoded the script could read hidden messages from the developers. The Commander Keen Wiki documents the full mapping and its appearances across the series.
The alphabet is a simple monoalphabetic substitution cipher. Each of the 26 English letters corresponds to exactly one SGA glyph. There are no separate lowercase forms. The cipher has a keyspace of exactly 1, since the mapping is fixed and publicly known. This makes it trivially reversible by anyone with the table, which is the point. SGA was designed as a puzzle element, not as a security mechanism.
In 2011, Markus "Notch" Persson added the enchanting table to Minecraft Beta 1.9 Prerelease 2. The table displays Standard Galactic Alphabet glyphs floating toward the bookshelf. According to TheGamer and Beebom, the words are pulled from a 62-word list that includes Lovecraft references like "cthulhu," "fhtagn," and "rlyeh." The words are decorative. They have zero effect on which enchantment you receive. SGA also appears as easter eggs in Quake 4, Wolfenstein 3D, and Doom, all id Software properties. The Wikipedia article on the Standard Galactic Alphabet covers these crossover appearances.
How to use this tool
- Pick a mode: "Text to SGA" to encode English into glyphs, or "SGA to Text" to decode glyphs back to English.
- Type or paste your text in the input field. The output updates as you type.
- In encode mode, each A-Z letter is replaced with its SGA glyph. In decode mode, each glyph is converted back to its letter.
- Check the Minecraft enchanting mode box to wrap the output in the enchanting table's purple glow styling.
- Use the swap button to flip between encode and decode without retyping.
- Copy the result with the "Copy result" button.
Real-world examples
Reading a Minecraft enchanting table
A player sees glowing purple glyphs above an enchanting table and wants to know what they say. They type the glyphs into decode mode. The translator reverses the SGA mapping and reveals a word from the 62-word list, such as "cthulhu" or "fhtagn." The word is cosmetic and does not determine the enchantment applied to the tool or weapon.
Writing a Commander Keen-style secret message
A retro gaming fan wants to hide a message in a fan project the way Tom Hall hid messages in Commander Keen. They type their text in encode mode and copy the SGA glyphs into their level signage. Anyone who knows the SGA mapping can decode it. The mapping table is displayed in the settings panel for reference.
Decorative social media post
Someone wants alien-looking text for a gaming community post. They type a short phrase in encode mode and copy the glyph output. Spaces and punctuation pass through unchanged, so the text stays readable in structure while the letters become SGA symbols. The glyphs render through a web font, so they display consistently across devices.
Comparison with similar methods
| Method | Complexity | Typical use |
|---|---|---|
| Standard Galactic Alphabet | Low | Game easter eggs, decorative alien text, Minecraft enchanting table |
| Caesar cipher | Low | Basic letter-shifting cipher with a variable key |
| Atbash cipher | Low | Fixed reverse-alphabet substitution (A to Z, B to Y) |
| Wingdings | Low | Pictographic symbol font for decorative output |
Limitations or considerations
SGA is a fixed monoalphabetic substitution with a keyspace of 1. It provides no encryption. Anyone with the mapping table can read every message. The translator only substitutes A through Z. Lowercase input is uppercased before lookup, so "a" and "A" produce the same glyph. Numbers, spaces, and punctuation pass through unchanged. The glyphs render through a web font bound to the --font-sga CSS variable, so the font must be loaded for the symbols to display correctly. Without the font, the PUA codepoints show as blank boxes or fallback characters. For actual encryption, use the Caesar cipher or Atbash cipher.
Frequently asked questions
What is the Standard Galactic Alphabet?
It is a 26-letter substitution cipher over the English alphabet, designed by Tom Hall for Commander Keen IV (id Software, 1991). Each letter A through Z maps to a unique alien-looking glyph. Markus Persson reused the same script in Minecraft for the enchanting table in 2011.
Do the Minecraft enchanting table words affect the enchantment?
No. The words are randomly drawn from a 62-word list that includes Lovecraft references like cthulhu and fhtagn. They are purely decorative. The enchantment you receive is determined by the item type, material, enchantment level, and the slot you choose, not by the displayed words.
Is the Standard Galactic Alphabet a real cipher?
It is a monoalphabetic substitution cipher with a fixed, publicly known mapping. Its keyspace is exactly 1, so it offers no security. It was designed as a puzzle element in Commander Keen, not as an encryption method.
Why do the glyphs show as blank boxes?
The glyphs use Private Use Area codepoints (U+E100 through U+E119) that require a custom web font to render. If the font is not loaded, browsers display fallback boxes. The translator loads the font automatically through the --font-sga CSS variable.
Can I use this for other id Software games?
Yes. SGA appears as easter eggs in Quake 4, Wolfenstein 3D, and Doom. The mapping is the same across all appearances, so this translator decodes glyphs from any of those games.
Conclusion
The Standard Galactic Alphabet translator converts text to and from the alien script that Tom Hall created for Commander Keen and Notch later brought to Minecraft. Type your message, toggle the direction, and copy the glyphs. For more substitution ciphers, try the Hieroglyphics translator or the Wingdings translator. For actual cipher tools, see the Caesar cipher and Atbash cipher.