Home › Ciphers › Pig Latin

Pig Latin

Et'slay etgay isthay outway ofway ethay ayway irstfay: Pig Latin is not a cipher, and this page will not pretend otherwise. It is a language game — English with its syllables rearranged by rule — played by children to baffle adults, by adults to baffle children, and by generations of speakers who needed thirty seconds of privacy in a crowded room. It earns its place in this library honestly: it is the most widely spoken "secret language" in the English-speaking world, it is rule-bound enough to translate mechanically, and its rules have exactly the kind of edge cases — what about "yellow"? what about "rhythm"? — that deserve to be stated precisely and tested, which is what happens here.

In short

Pig Latin moves a word's opening consonant sounds to its end and adds "ay": pig → igpay. A word starting with a vowel just gains "way": apple → appleway. It is a spoken language game, not an encryption — there is no key, and anyone who knows the rules (everyone, now) can follow it at speed.

Historically also called Dog Latin in jest; a member of the family of play languages (compare Ubbi Dubbi, and French verlan, which reverses syllables instead).

Translate — English in, Pig Latin out

43 characters
Pig Latin · the rules stated below, applied exactly
Ethay ickquay ownbray oxfay umpsjay overway ethay azylay ogday

There is no "translate back" button, on purpose — Pig Latin is many-to-one, so a decoder would be guessing. The FAQ explains.

Everything runs in your browser — nothing is uploaded.

How it works

The rules, stated word for word

This translator applies the following rules, exactly, and the test suite holds it to every one. A word is a run of letters A–Z; everything else — spaces, punctuation, apostrophes, digits — stays exactly where it is and splits words around it, so "don't" is two words, "don" and "t", and translates as "onday'tay". Rule 1: if a word begins with a vowel (a, e, i, o, u), add "way": apple → appleway, over → overway. Rule 2: otherwise, move the whole opening consonant cluster to the end and add "ay": pig → igpay, string → ingstray (the whole "str" moves, not just the s). Rule 3, the letter y: y is a consonant at the start of a word and a vowel everywhere else — so yellow → ellowyay (the y moves), but rhythm → ythmrhay (the y stays and counts as the word's vowel, so only "rh" moves) and my → ymay (nothing moves; "ay" is added). Rule 4, qu: a q's u travels with it — qu is never split — so quiet → ietquay and square → aresquay. Rule 5: a word with no vowel at all (nth, hmm) simply gains "ay": nth → nthay. Capitals: an ALL-CAPS word produces an ALL-CAPS result (STOP → OPSTAY), a Capitalised word a Capitalised result (The → Ethay), and anything else comes out lowercase. Those are all the rules; dialects exist (some speakers add "yay" or "hay" to vowel words instead of "way"), and where they differ from this page, this page's statement wins inside this page.

Origin & history

Two centuries of playground Latin

Pig Latin is documented in American print from the nineteenth century — a form of it appears in The Atlantic Monthly in 1869, and "pig Latin" wordplay was a music-hall and vaudeville staple before it was a schoolyard one. The name is the joke: it is no more Latin than dog Latin, the older mock-Latin of jest books, and "pig" likely just means "bad, makeshift" — though a folk line also runs through German Hundlatein and the general barnyard of fake languages. What carried it was speech, not print: it is learned by ear, at speed, usually between the ages of seven and twelve, and fluency feels like a superpower precisely because the rules are trivial and the processing is not. Every English-speaking culture grows its own: French verlan reverses syllables (and has fed words back into standard French), Swedish rövarspråket doubles consonants with an "o" between, and American television gave Ubbi Dubbi a generation of adherents. Pig Latin is the English-speaking world's entry — the first "cipher" most of its speakers ever used, and, honestly labelled, a fine first exhibit in a library of real ones.

Reference

The rules on test words

CaseWordPig Latin
Single consonant moveshelloellohay
Whole cluster movesstringingstray
Vowel-initial: add "way"appleappleway
qu never splitquietietquay
qu inside a clustersquarearesquay
y consonant at the startyellowellowyay
y the only vowelrhythmythmrhay
y as vowel, nothing movesmyymay
No vowel at allnthnthay
Single lettersa · Iaway · Iway

Every row is produced by the translator above and pinned by this page's test suite — if a rule and a row ever disagreed, the tests would fail, which is the correct relationship between a stated rule and a tool.

Worked examples

The pangram, translated

Example 1 — every rule in one sentence

The quick brown fox jumps over the lazy dog → Ethay ickquay ownbray oxfay umpsjay overway ethay azylay ogday

Work through it: The — cluster "th" moves, capital kept: Ethay. quick — "qu" travels together, then the c joins the cluster: ickquay. brown, fox, jumps — single and double clusters: ownbray, oxfay, umpsjay. over — vowel-initial: overway. lazy — the y is mid-word, so it is a vowel and stays home: azylay. dog → ogday. Nine words, four of the five rules exercised; only the no-vowel rule sat this one out.

Example 2 — punctuation stays put

don't → onday'tay

The apostrophe is not a letter, so it splits the text into two words — "don" and "t" — and stays exactly where it was: don → onday, t → tay (a lone consonant word gains "ay" under Rule 5's logic). Hyphenated words behave the same way, each half translated on its own. Spoken Pig Latin glides over the apostrophe; written Pig Latin has to make a decision, and this page's decision is printed here rather than hidden in the code.

Breaking it

Security: it is a game — that is the point

There is nothing to break, because there is no key and no secret: the rules are the whole system, they are printed above, and a listener who knows them understands Pig Latin in real time. Its privacy has only ever been the privacy of speed and surprise — it defeats eavesdroppers for about as long as it takes them to notice that every word ends in "ay". There is also a genuine technical reason this page offers no "Pig Latin to English" button: the translation is many-to-one. "Ellohay" could only be "hello", but "ingstray" and its kin collapse distinctions — was the original "ellowyay" from "yellow", or from a word "ellow" that gained a "yay" dialect ending? Strip the "ay" and the moved cluster is ambiguous about where it reattaches in longer words, and a decoder would be guessing and presenting guesses as answers. This site does not do that, even for a game. If you need actual secrecy, the routing box points to real ciphers.

  • Security status: none — a language game with public rules.
  • What gives it away: every word ends in "ay" or "way". It is the least stealthy transformation in this library.
  • Why no decoder: the mapping is many-to-one; decoding would require guessing, and guesses are labelled or not offered.
Variants

Dialects and cousins

VariantHow it differsSolve it with
"Way / yay / hay" dialectsVowel-initial words gain "yay" or "hay" instead of "way" in some regions and familiesThis page uses "way" and states it; the consonant rules are unchanged
Ubbi Dubbi"ub" inserted before every vowel sound — a cousin popularised by the TV show ZoomNot offered here
VerlanFrench play language reversing syllables rather than moving clustersNot offered here
Real ciphersTransformations with keys, where secrecy actually livesThe cipher library
Uses & culture

Ixnay on the upidstay

Pig Latin's cultural footprint is out of all proportion to its complexity: "ixnay" (from "nix") and "amscray" (from "scram") slipped into general slang; the game turns up in songs, sitcoms and a century of playgrounds; and adults still deploy it, half-joking, whenever a small person who must not understand is in the room — a use that expires the day the small person cracks it, usually mid-sentence, to general delight. Linguists take it more seriously than its players do: Pig Latin is evidence that speakers carry an unconscious knowledge of syllable structure — onset, nucleus, coda — precise enough to move onsets around by rule, years before they could name one. It is, in the end, phonology wearing a false nose, and this library is glad to host it.

Practice

Say it first

Practice 1 — translate, then check

pig latin is fun

Four words: one cluster word, one two-cluster word, one vowel word, one single-consonant word. Say your version aloud before revealing.

Reveal the answer

igpay atinlay isway unfay. pig → igpay (single consonant), latin → atinlay ("l" moves), is → isway (vowel-initial), fun → unfay. If yours matches, you are fluent enough to be understood by any ten-year-old in the English-speaking world.

Practice 2 — the y trap

Translate: yellow rhythm

Both words contain a y, and the two y's are playing different roles. Rule 3 decides each.

Reveal the answer

ellowyay ythmrhay. In "yellow" the y opens the word, so it is a consonant and moves with the cluster — ellowyay. In "rhythm" the y is the word's only vowel, so it stays, and only the true consonants "rh" move — ythmrhay. Same letter, opposite treatment, one stated rule.

FAQ

Frequently asked questions

Is Pig Latin a cipher?

No — cheerfully, no. A cipher transforms text by a key so that only key-holders can read it. Pig Latin has no key; its rules are public, printed on this page, and known to most of the English-speaking world by age ten. It is a language game (a "ludling", in the linguistic term) — a rule-governed rearrangement of speech sounds. It lives in this library because it is the first code-like system most people ever learn, and because its rules repay the same precise statement as any cipher's. If you came here wanting actual secrecy, the library's real ciphers start with Caesar and get serious quickly.

Why is there no Pig Latin decoder?

Because decoding would be guessing dressed as translation. The forward rules are many-to-one: different English words can land on the same Pig Latin form, and reattaching a moved cluster is ambiguous in longer words. A responsible tool shows the forward rules exactly and declines to invent a reverse. To read Pig Latin, learn the forward rules — with them, listening comprehension arrives in an afternoon, which is how every child does it.

Why does "yellow" lose its y but "rhythm" keep it?

Because Pig Latin moves sounds, and y is two sounds: the consonant in "yes" and the vowel in "my". This page's stated rule (Rule 3) makes y a consonant only at the start of a word and a vowel everywhere else — so yellow's opening y travels (ellowyay), rhythm's internal y anchors the word as its vowel (ythmrhay), and "my" moves nothing at all (ymay). Other speakers play it slightly differently; the rule here is the one printed, and the tool follows the print.

What happens to capital letters and punctuation?

Capitals follow a stated pattern: ALL-CAPS words stay ALL-CAPS (STOP → OPSTAY), Capitalised words stay Capitalised (The → Ethay), and everything else comes out lowercase. Punctuation, spaces, digits and apostrophes are not letters, so they stay exactly where they are and split words around themselves — "don't" becomes "onday'tay". Nothing is silently dropped.

Next steps