The MPSZ format is a standard serialization format in Mahjong to represent the appearance of tiles.

Here are the rules:

  • For displaying sorted tiles or sets, group them together (e.g. 789s, not 7s 8s 9s).
  • For displaying unsorted tiles, provide the letter after each value, which may be optionally separated by spaces (e.g. 4p 9s 4z 8m 1m 7z 4p 6s 2p 5m 5m 7s 5p).
  • Use X in place of a number for concealed tiles (X77Xs).
  • Show called melds, bonuses, and the drawn tile by separating them from the rest of the hand with hyphens - instead of spaces (e.g. 6m 34p 2s-234p-4444s-5555z or for Japanese 6m 34p 2s-234'p-44'44s-5555'z).
  • For variants that turn tiles sideways for called tiles to make a meld, add an single quotation ' after the number (3'33z). For added kan, add a double quotation " after one number for it to appear as two stacked tiles (e.g. 55"5p).
  • MPSZ shorthand notation
    0 1 2 3 4 5 6 7 8 9
    Characters - m 🀋 🀇 🀈 🀉 🀊 🀋 🀌 🀍 🀎 🀏
    Circles - p 🀝 🀙 🀚 🀛 🀜 🀝 🀞 🀟 🀠 🀡
    Bamboos - s 🀔 🀐 🀑 🀒 🀓 🀔 🀕 🀖 🀗 🀘
    Honors - z 🀫 🀀 🀁 🀂 🀃 🀆 🀅 🀄︎
    Bonus - q 🀦 🀧 🀨 🀩 🀢 🀣 🀥 🀤 🀪

    Here are some examples:

    • 34m 1378889p 44s 12z = 🀉🀊🀙🀛🀟🀠🀠🀠🀡🀓🀓🀀🀁
    • 4p 9s 4z 8m 1m 7z 4p 6s 2p 5m 5m 7s 5p = 🀜🀘🀃🀎🀇🀄︎🀜🀕🀚🀋🀋🀖🀝
    • X77Xs = 🀫🀖🀖🀫
    • 6m 34p 2s-234p-4444s-5555z = 🀌🀛🀜🀑 🀚🀛🀜🀓🀓🀓🀓🀆🀆🀆🀆

    • 6m 34p 2s-234'p-44'44s-5555'z = 🀌🀛🀜🀑  🀜🀚🀛🀓🀓🀓🀓🀆🀆🀆🀆