Pinyin is the official system to transcribe Chinese characters into the Roman alphabet to learn Mandarin Chinese. It is also often used as an input method to enter Chinese characters (汉字 / 漢字, hànzì) into computers.