Convert text to and from Pig Latin — the playful word game children use to disguise English.
Rules (encode):
- Words starting with a consonant move the leading consonant cluster to the end and add
ay. hello → ellohay, smile → ilesmay, school → oolschay.
- Words starting with a vowel (a, e, i, o, u) add
way (or yay) to the end. apple → appleway, egg → eggway.
- Capitalization is tracked:
Hello → Ellohay (the result starts uppercase, moved consonant goes lowercase). All-caps words (HELLO) stay all-caps (ELLOHAY).
qu is treated as a unit: the u rides along with the q. queen → eenquay, squeal → ealsquay.
Decode reverses those rules back into normal English. The first line of the result is the best-guess decoding (the most common word is chosen for each). Because Pig Latin is lossy — different words can encode to the same form, e.g. both "all" and "wall" become "allway" — any word with more than one possible origin is listed under "Possible alternatives" so you can pick the right one yourself.
Good to know:
- Only English words are transformed; numbers, punctuation, and other scripts pass through untouched.
- Word-internal apostrophes (
don't, can't) are kept with their word, and the apostrophe is treated as a consonant boundary for the cluster move.
- Pig Latin has dialects (some use
yay instead of way for vowel words). This tool uses the common way form on encode and understands both on decode.