Pig Latin Translator

Words—
Characters—

How Pig Latin Translator is calculated: Words starting with a vowel get -way or -yay added; other words move their opening consonants to the end and add -ay.

What is Pig Latin?

Pig Latin is a playful language game: you take an English word, move its opening sounds to the end, and add a new ending. Hello becomes ellohay, world becomes orldway, and fun becomes unfay. The result sounds like English but is hard to understand unless you know the trick, which is exactly the point: it is a secret code for children, and a joke for everyone else.

The game is at least a century old in America, and probably older. Children used it on playgrounds to talk without adults understanding, and it has survived into the internet age as a party trick, a programming exercise and a way to make a boring sentence funny. It is not a real language: it has no grammar of its own, only a rule for changing English words.

This tool applies the rule instantly to any text you paste, with two choices for words that start with a vowel. A word counter tells you how long the result is, and a case converter can change its capitalisation after.

How Pig Latin works

The rule has two parts. If a word starts with a vowel, a, e, i, o or u, you leave the word as it is and add an ending: is becomes isway, apple becomes appleway, and egg becomes eggway. If a word starts with consonants, you move the opening consonants to the end and add ay: hello becomes ellohay, world becomes orldway, and this becomes isthay.

The consonant rule moves the whole opening cluster, not just the first letter. String starts with str, so it becomes ingstray, not tringsay. Chair starts with ch, so it becomes airchay. A word with no vowel at all, like rhythms, just adds ay: rhythmsay. The tool follows the same rule for every word, so the result is consistent.

Capitalisation is preserved: Hello becomes Ellohay, not ellohay. Punctuation is never touched: commas, full stops and apostrophes stay exactly where they were, so "Hello, world!" becomes "Ellohay, orldway!" The word count and character count are shown so you can see the text did not grow or shrink unexpectedly.

A worked example: five words, two endings

The default text is "Hello world, this is fun". It has 5 words and 24 characters. In the default -way mode the result is "Ellohay orldway, isthay isway unfay". Hello loses its H to the end, world loses its w, this loses its th, is gains way, and fun loses its f. Five words in, five words out, and the sentence is unreadable to anyone who does not know the rule.

Switch the mode to -yay and the vowel words change: is becomes isyay instead of isway, so the result is "Ellohay orldway, isthay isyay unfay". The consonant words are identical in both modes, because the -way and -yay choice only affects words that start with a vowel. That is the only difference between the two modes.

Try a longer sentence and the pattern holds: every word follows the same two rules, and the result can be decoded by reversing them. To decode ellohay, take the ay off the end, take the h from before it, and put it back at the front: ello plus h is hello. The game is only a code if both sides know the rule.

The two vowel endings: -way vs -yay

There are two traditions for vowel words. The older one adds way: is becomes isway, apple becomes appleway. The newer one adds yay: is becomes isyay, apple becomes appleyay. Both are correct, and both are used by different groups of players, which is why this tool offers both.

The -way ending is the one most Americans learned as children, and it is the default here. The -yay ending is common in some regions and in some online communities, and it has the advantage of being shorter to say. Neither is more official than the other: Pig Latin has no academy, no dictionary and no standard, so the choice is a matter of taste.

If you are playing with friends, agree on one ending first, or the code will not work: a player expecting isway will not understand isyay. If you are writing for fun, pick the one that sounds better to you. The tool remembers your choice while the page is open, and switches instantly when you change the dropdown.

Children learn the rule in minutes, and that is the point: the code is only a code until everyone knows it, and then it is a game. A playground full of children speaking Pig Latin is not hiding anything, because any child who listens for a minute can work out the rule. The fun is in the speaking, not in the secrecy.

Pig Latin in code and classrooms

Pig Latin is a favourite first exercise in programming classes, because the rule is simple to state but has enough edge cases to be interesting: vowels, consonant clusters, capital letters, punctuation, and words with no vowels. A student who can translate a sentence correctly has practised strings, loops and conditionals without noticing.

It is also used in language teaching. A child who can move the sounds in hello to make ellohay is practising phonics: hearing the first sound of a word and separating it from the rest. Teachers use it as a game, not a lesson, which is why it works: the child is playing, and the learning happens by accident. A text-to-speech reader can read the Pig Latin aloud, which is the fastest way to hear whether the translation sounds right.

And it appears in popular culture, from children's books to comedy sketches, wherever a secret language is needed. It is never a serious code: anyone who knows the rule can read it, and anyone who does not can learn it in a minute. Its charm is that it is just hard enough to be fun, and just easy enough to be shared.

The two vowel endings are a reminder that Pig Latin has no official standard. Some regions add -way, some add -yay, and some add -ay to vowel words with no extra letter at all, so is becomes isay. This tool offers the two most common endings, and the choice is yours: pick the one your friends use, and the code will work.

What Pig Latin cannot do

Pig Latin cannot hide a message from anyone who knows the rule, and it cannot hide it for long from anyone who does not: the pattern is obvious after a few words, because the ay endings give it away. It is a game, not encryption, and it should never be used for anything that must stay private.

It cannot translate meaning. It changes the sound of words, not what they mean, and it cannot turn English into another language. A Pig Latin sentence is still English, just rearranged, and a speaker of another language will understand it no better than the original.

It also cannot handle every word cleanly. Words with silent letters, like knight, become ightknay, which loses the silent k in a confusing way. Words with apostrophes, like don't, are split by the tool into don and t, which is a reasonable choice but not the only one. These are edge cases, and they do not matter for a game, but they are worth knowing.

Common Pig Latin mistakes

The most common mistake is moving only the first letter instead of the whole cluster: string should become ingstray, not tringsay. The rule moves every consonant before the first vowel, and stopping early gives a different, wrong word that cannot be decoded back.

Second: forgetting the ending on vowel words. Is on its own is not Pig Latin: it needs way or yay. Third: adding ay to a vowel word as well, giving iswayay, which is neither tradition. Fourth: moving the consonants but forgetting to add ay, giving ello h instead of ellohay.

Fifth: changing the capitalisation. A sentence that starts with Hello should start with Ellohay, not ellohay, or the sentence looks wrong. The tool preserves capitals automatically, but if you translate by hand, keep the capital on the new first letter of each word.

How to use this Pig Latin translator

Type or paste English text into the box: a word, a sentence, or a paragraph. Choose -way or -yay for words that start with a vowel. The Pig Latin version appears below instantly, with the word count and the character count. There is no button to press and no form to submit.

Copy the result with the copy button when you are happy with it, and share it with friends who know the rule. To decode a Pig Latin sentence, run the same steps in reverse: take ay off the end, take the consonants before it, and put them back at the front.

Everything runs in your browser. No sign-up, no account, no data sent anywhere: the text you typed never leaves your device. It works offline once the page has loaded. And remember what it is: a game, not a code. It will make your friends laugh, but it will not keep a secret.

The best way to learn Pig Latin is to speak it, not to read about it. Pick a sentence you know well, translate it word by word, and say it aloud. The first few tries will be slow, because you have to think about each word, but after a dozen sentences the rule becomes automatic, and the words come out in Pig Latin without thinking.

Frequently Asked Questions

Hello becomes ellohay: move the opening h to the end and add 'ay'. With a capital it is Ellohay. The same rule gives world as orldway and fun as unfay. Words that start with a vowel add -way or -yay instead: is becomes isway or isyay.

Both are traditions for words that start with a vowel. The older one adds -way, so is becomes isway; the newer one adds -yay, so is becomes isyay. Consonant words are identical in both modes. Agree on one ending with your friends before you play, or the code will not work.

No. It is a game, not encryption: anyone who knows the rule can read it, and anyone who does not can learn it in a minute, because the -ay endings give the pattern away. Never use it for anything that must stay private.

Because the rule moves the whole opening consonant cluster, not just the first letter. 'String' starts with str, so all three letters move to the end: ing plus str plus ay is ingstray. Moving only the s gives tringsay, which is wrong and cannot be decoded back.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.