Hanyu Pinyin (simplified Chinese: 汉语拼音; traditional Chinese: 漢語拼音; : Hànyǔ Pīnyīn), often abbreviated to pinyin, is the official romanization system for Standard Chinese in mainland China, and to some extent in Taiwan. It is often used to teach Standard Mandarin Chinese, which is normally written using Chinese characters. The system includes four diacritics denoting tones. Pinyin without tone marks is used to spell Chinese names and words in languages written with the Latin alphabet and also in certain computer input methods to enter Chinese characters.

The pinyin system was developed in the 1950s by many linguists, including Zhou Youguang,[1] based on earlier forms of romanizations of Chinese. It was published by the Chinese government in 1958 and revised several times.[2] The International Organization for Standardization (ISO) adopted pinyin as an international standard in 1982,[3] and was followed by the United Nations in 1986.[1] Attempts to make pinyin standard in Taiwan occurred in 2002 and 2009, but "Today Taiwan has no standardized spelling system" so that in 2019 "alphabetic spellings in Taiwan are marked more by a lack of system than the presence of one." [4][5] [6] Moreover, "some cities, businesses, and organizations, notably in the south of Taiwan, did not accept [efforts to introduce pinyin], as it suggested that Taiwan is more closely tied to the PRC", so it remains one of several rival romanization systems in use.[7]

The word Hànyǔ (simplified Chinese: 汉语; traditional Chinese: 漢語) means 'the spoken language of the Han people', while Pīnyīn (拼音) literally means 'spelled sounds'.[8]

When a foreign writing system with one set of coding/decoding system is taken to write a language, certain compromises may have to be made. The result is that the decoding systems used in some foreign languages will enable non-native speakers to produce sounds more closely resembling the target language than will the coding/decoding system used by other foreign languages. Native speakers of English will decode pinyin spellings to fairly close approximations of Mandarin except in the case of certain speech sounds that are not ordinarily produced by most native speakers of English: j [tɕ], q [tɕʰ], x [ɕ], z [ts], c [tsʰ], zh [ʈʂ], ch [ʈʂʰ], sh [ʂ], h [x], and r [ɻ] exhibiting the greatest discrepancies.

In this system, the correspondence between the Roman letter and the sound is sometimes idiosyncratic, though not necessarily more so than the way the Latin script is employed in other languages. For example, the aspiration distinction between b, d, g and p, t, k is similar to that of these syllable-initial consonants English (in which the two sets are however also differentiated by voicing), but not to that of French. Letters z and c also have that distinction, pronounced as [ts] and [tsʰ] (whilst reminiscent of both of them being used for the phoneme /ts/ in the German language and Latin script-using Slavic languages respectively). From s, z, c come the digraphs sh, zh, ch by analogy with English sh, ch. Although this introduces the novel combination zh, it is internally consistent in how the two series are related, and reminds the trained reader that many Chinese people pronounce sh, zh, ch as s, z, c (and English-speakers use zh to represent /ʒ/ in foreign languages such as Russian anyway). In the x, j, q series, the pinyin use of x is similar to its use in Portuguese, Galician, Catalan, Basque, and Maltese; and the pinyin q is akin to its value in Albanian; both pinyin and Albanian pronunciations may sound similar to the ch to the untrained ear. Pinyin vowels are pronounced in a similar way to vowels in Romance languages.

The pronunciation and spelling of Chinese words are generally given in terms of initials and finals, which represent the segmental phonemic portion of the language, rather than letter by letter. Initials are initial consonants, while finals are all possible combinations of medials (semivowels coming before the vowel), a nucleus vowel, and coda (final vowel or consonant).

In 1605, the Jesuit missionary Matteo Ricci published Xizi Qiji (《西字奇蹟》; Xīzì Qíjī; Hsi-tzu Ch'i-chi; 'Miracle of Western Letters') in Beijing.[9] This was the first book to use the Roman alphabet to write the Chinese language. Twenty years later, another Jesuit in China, Nicolas Trigault, issued his Xī Rú Ěrmù Zī (《西儒耳目資》; Hsi Ju Erh-mu Tzu; 'Aid to the Eyes and Ears of Western Literati') at Hangzhou.[10] Neither book had much immediate impact on the way in which Chinese thought about their writing system, and the romanizations they described were intended more for Westerners than for the Chinese.[11]

One of the earliest Chinese thinkers to relate Western alphabets to Chinese was late Ming to early Qing dynasty scholar-official, Fang Yizhi (方以智; Fāng Yǐzhì; Fang I-chih; 1611–1671).[12]

The first late Qing reformer to propose that China adopt a system of spelling was Song Shu (1862–1910). A student of the great scholars Yu Yue and Zhang Taiyan, Song had been to Japan and observed the stunning effect of the kana syllabaries and Western learning there. This galvanized him into activity on a number of fronts, one of the most important being reform of the script. While Song did not himself actually create a system for spelling Sinitic languages, his discussion proved fertile and led to a proliferation of schemes for phonetic scripts.[11]

The Wade–Giles system was produced by Thomas Wade in 1859, and further improved by Herbert Giles in the Chinese–English Dictionary of 1892. It was popular and used in English-language publications outside China until 1979.[13]

In the early 1930s, Communist Party of China leaders trained in Moscow introduced a phonetic alphabet using Roman letters which had been developed in the Soviet Oriental Institute of Leningrad and was originally intended to improve literacy in the Russian Far East.[14][note 1] This Sin Wenz or "New Writing"[15] was much more linguistically sophisticated than earlier alphabets, but with the major exception that it did not indicate tones of Chinese.[16]

In 1940, several thousand members attended a Border Region Sin Wenz Society convention. Mao Zedong and Zhu De, head of the army, both contributed their calligraphy (in characters) for the masthead of the Sin Wenz Society's new journal. Outside the CCP, other prominent supporters included Dr. Sun Yat-sen's son, Sun Fo; Cai Yuanpei, the country's most prestigious educator; Tao Xingzhi, a leading educational reformer; and Lu Xun. Over thirty journals soon appeared written in Sin Wenz, plus large numbers of translations, biographies (including Lincoln, Franklin, Edison, Ford, and Charlie Chaplin), some contemporary Chinese literature, and a spectrum of textbooks. In 1940, the movement reached an apex when Mao's Border Region Government declared that the Sin Wenz had the same legal status as traditional characters in government and public documents. Many educators and political leaders looked forward to the day when they would be universally accepted and completely replace Chinese characters. Opposition arose, however, because the system was less well adapted to writing regional languages, and therefore would require learning Mandarin. Sin Wenz fell into relative disuse during the following years.[17]

In 1943, the U.S. military engaged Yale University to develop a romanization of Mandarin Chinese for its pilots flying over China. The resulting system is very close to pinyin, but does not use English letters in unfamiliar ways; for example, pinyin x for [ɕ] is written as sy in the Yale system. Medial semivowels are written with y and w (instead of pinyin i and u), and apical vowels (syllabic consonants) with r or z. Accent marks are used to indicate tone.

Pinyin was created by Chinese linguists, including Zhou Youguang, as part of a Chinese government project in the 1950s. Zhou, often called "the father of pinyin,"[1][18][19][20] worked as a banker in New York when he decided to return to China to help rebuild the country after the establishment of the People's Republic of China in 1949. He became an economics professor in Shanghai, and in 1955, when China's Ministry of Education created a Committee for the Reform of the Chinese Written Language, Premier Zhou Enlai assigned Zhou Youguang the task of developing a new romanization system, despite the fact that he was not a professional linguist.[1]

Hanyu Pinyin was based on several existing systems: Gwoyeu Romatzyh of 1928, Latinxua Sin Wenz of 1931, and the diacritic markings from zhuyin (bopomofo).[21] "I'm not the father of pinyin," Zhou said years later; "I'm the son of pinyin. It's [the result of] a long tradition from the later years of the Qing dynasty down to today. But we restudied the problem and revisited it and made it more perfect."[22]

A draft was published on February 12, 1956. The first edition of Hanyu Pinyin was approved and adopted at the Fifth Session of the 1st National People's Congress on February 11, 1958. It was then introduced to primary schools as a way to teach Standard Chinese pronunciation and used to improve the literacy rate among adults.[23]

Beginning in the early 1980s, Western publications addressing Mainland China began using the Hanyu Pinyin romanization system instead of earlier romanization systems;[24] this change followed the normalization of diplomatic relations between the United States and the PRC in 1979.[25] In 2001, the PRC Government issued the National Common Language Law, providing a legal basis for applying pinyin.[23] The current specification of the orthographic rules is laid down in the National Standard GB/T 16159–2012.[26]

Unlike European languages, clusters of letters — initials (声母; 聲母; shēngmǔ) and finals (韵母; 韻母; yùnmǔ) — and not consonant and vowel letters, form the fundamental elements in pinyin (and most other phonetic systems used to describe the Han language). Every Mandarin syllable can be spelled with exactly one initial followed by one final, except for the special syllable er or when a trailing -r is considered part of a syllable (see below, and see erhua). The latter case, though a common practice in some sub-dialects, is rarely used in official publications.

Even though most initials contain a consonant, finals are not always simple vowels, especially in compound finals (复韵母; 複韻母; fùyùnmǔ), i.e. when a "medial" is placed in front of the final. For example, the medials [i] and [u] are pronounced with such tight openings at the beginning of a final that some native Chinese speakers (especially when singing) pronounce (, clothes, officially pronounced /í/) as /jí/ and wéi (; , to enclose, officially pronounced /uěi/) as /wěi/ or /wuěi/. Often these medials are treated as separate from the finals rather than as part of them; this convention is followed in the chart of finals below.

In each cell below, the bold letters indicate pinyin and the brackets enclose the symbol in the International Phonetic Alphabet.

1 y is pronounced [ɥ] (a labial-palatal approximant) before u.
2 The letters w and y are not included in the table of initials in the official pinyin system. They are an orthographic convention for the medials i, u and ü when no initial is present. When i, u, or ü are finals and no initial is present, they are spelled yi, wu, and yu, respectively.

The conventional lexicographical order (excluding w and y), derived from the zhuyin system ("bopomofo"), is:

According to Scheme for the Chinese Phonetic Alphabet, zh, ch, and sh can be abbreviated as , ĉ, and ŝ (z, c, s with a circumflex). However, the shorthands are rarely used due to difficulty of entering them on computers and are confined mainly to Esperanto keyboard layouts.

In each cell below, the first line indicates IPA, the second indicates pinyin for a standalone (no-initial) form, and the third indicates pinyin for a combination with an initial. Other than finals modified by an -r, which are omitted, the following is an exhaustive table of all possible finals.1[27]

The only syllable-final consonants in Standard Chinese are -n and -ng, and -r, the last of which is attached as a grammatical suffix. A Chinese syllable ending with any other consonant either is from a non-Mandarin language (a southern Chinese language such as Cantonese, or a minority language of China; possibly reflecting final consonants in Old Chinese), or indicates the use of a non-pinyin romanization system (where final consonants may be used to indicate tones).

1 [aɚ̯] is written er. For other finals formed by the suffix -r, pinyin does not use special orthography; one simply appends r to the final that it is added to, without regard for any sound changes that may take place along the way. For information on sound changes related to final r, please see Erhua#Rules.
2 ü is written as u after j, q, or x.
3 uo is written as o after b, p, m, f, or w.

Technically, i, u, ü without a following vowel are finals, not medials, and therefore take the tone marks, but they are more concisely displayed as above. In addition, ê [ɛ] (; ) and syllabic nasals m (, ), n (, ), ng (, 𠮾) are used as interjections.

According to Scheme for the Chinese Phonetic Alphabet, ng can be abbreviated with a shorthand of ŋ. However, this shorthand is rarely used due to difficulty of entering them on computers.

An umlaut is placed over the letter u when it occurs after the initials l and n when necessary in order to represent the sound [y]. This is necessary in order to distinguish the front high rounded vowel in (e.g. ; ; 'donkey') from the back high rounded vowel in lu (e.g. ; ; 'oven'). Tonal markers are added on top of the umlaut, as in .

However, the ü is not used in the other contexts where it could represent a front high rounded vowel, namely after the letters j, q, x, and y. For example, the sound of the word / (fish) is transcribed in pinyin simply as , not as . This practice is opposed to Wade–Giles, which always uses ü, and Tongyong Pinyin, which always uses yu. Whereas Wade–Giles needs of using the umlaut to distinguish between chü (pinyin ju) and chu (pinyin zhu), this ambiguity does not arise with pinyin, so the more convenient form ju is used instead of . Genuine ambiguities only happen with nu/ and lu/, which are then distinguished by an umlaut.

Many fonts or output methods do not support an umlaut for ü or cannot place tone marks on top of ü. Likewise, using ü in input methods is difficult because it is not present as a simple key on many keyboard layouts. For these reasons v is sometimes used instead by convention. For example, it is common for cellphones to use v instead of ü. Additionally, some stores in China use v instead of ü in the transliteration of their names. The drawback is that there are no tone marks for the letter v.

This also presents a problem in transcribing names for use on passports, affecting people with names that consist of the sound or , particularly people with the surname (), a fairly common surname, particularly compared to the surnames (), (), () and (). Previously, the practice varied among different passport issuing offices, with some transcribing as "LV" and "NV" while others used "LU" and "NU". On 10 July 2012, the Ministry of Public Security standardized the practice to use "LYU" and "NYU" in passports.[28][29]

Although nüe written as nue, and lüe written as lue are not ambiguous, nue or lue are not correct according to the rules; nüe and lüe should be used instead. However, some Chinese input methods (e.g. Microsoft Pinyin IME) support both nve/lve (typing v for ü) and nue/lue.

Most rules given here in terms of English pronunciation are approximations, as several of these sounds do not correspond directly to sounds in English.

Y and w are equivalent to the semivowel medials i, u, and ü (see below). They are spelled differently when there is no initial consonant in order to mark a new syllable: fanguan is fan-guan, while fangwan is fang-wan (and equivalent to *fang-uan). With this convention, an apostrophe only needs to be used to mark an initial a, e, or o: Xi'an (two syllables: [ɕ]) vs. xian (one syllable: [ɕi̯ɛn]). In addition, y and w are added to fully vocalic i, u, and ü when these occur without an initial consonant, so that they are written yi, wu, and yu. Some Mandarin speakers do pronounce a [j] or [w] sound at the beginning of such words—that is, yi [i] or [ji], wu [u] or [wu], yu [y] or [ɥy],—so this is an intuitive convention. See below for a few finals which are abbreviated after a consonant plus w/u or y/i medial: wen → C+un, wei → C+ui, weng → C+ong, and you → C+iu.

The apostrophe (') (隔音符号; 隔音符號; géyīn fúhào; 'syllable-dividing mark') is used before a syllable starting with a vowel (a, o, or e) in a multiple-syllable word when the syllable does not start the word, unless the syllable immediately follows a hyphen or other dash. For example, 西安 is written as Xi'an or Xī'ān, and 天峨 is written as Tian'e or Tiān'é, but 第二 is written "dì-èr", without an apostrophe.[31] This apostrophe is not used in the Taipei Metro names.[32]

Apostrophes (as well as hyphens and tone marks) are omitted on Chinese passports.[33]

The following is a list of finals in Standard Chinese, excepting most of those ending with r.

The pinyin system also uses diacritics to mark the four tones of Mandarin. The diacritic is placed over the letter that represents the syllable nucleus, unless that letter is missing (see below).

Many books printed in China use a mix of fonts, with vowels and tone marks rendered in a different font from the surrounding text, tending to give such pinyin texts a typographically ungainly appearance. This style, most likely rooted in early technical limitations, has led many to believe that pinyin's rules call for this practice, e.g. the use of a Latin alpha (ɑ) rather than the standard style (a) found in most fonts, or g often written with a single-storey ɡ. The rules of Hanyu Pinyin, however, specify no such practice.[34](

These tone marks normally are only used in Mandarin textbooks or in foreign learning texts, but they are essential for correct pronunciation of Mandarin syllables, as exemplified by the following classic example of five characters whose pronunciations differ only in their tones:

The words are "mother", "hemp", "horse", "scold", and a question particle, respectively.

Before the advent of computers, many typewriter fonts did not contain vowels with macron or caron diacritics. Tones were thus represented by placing a tone number at the end of individual syllables. For example, tóng is written tong². The number used for each tone is as the order listed above, except the neutral tone, which is either not numbered, or given the number 0 or 5, e.g. ma⁵ for , an interrogative marker.

Briefly, the tone mark should always be placed by the order—a, o, e, i, u, ü, with the only exception being iu, where the tone mark is placed on the u instead. Pinyin tone marks appear primarily above the nucleus of the syllable, for example as in kuài, where k is the initial, u the medial, a the nucleus, and i the coda. The exception is syllabic nasals like /m/, where the nucleus of the syllable is a consonant, the diacritic will be carried by a written dummy vowel.

When the nucleus is /ə/ (written e or o), and there is both a medial and a coda, the nucleus may be dropped from writing. In this case, when the coda is a consonant n or ng, the only vowel left is the medial i, u, or ü, and so this takes the diacritic. However, when the coda is a vowel, it is the coda rather than the medial which takes the diacritic in the absence of a written nucleus. This occurs with syllables ending in -ui (from wei: (wèi-uì) and in -iu (from you: yòu-iù.) That is, in the absence of a written nucleus the finals have priority for receiving the tone marker, as long as they are vowels: if not, the medial takes the diacritic.

An algorithm to find the correct vowel letter (when there is more than one) is as follows:[36]

If the tone is written over an i, the tittle above the i is omitted, as in .

The placement of the tone marker, when more than one of the written letters a, e, i, o, and u appears, can also be inferred from the nature of the vowel sound in the medial and final. The rule is that the tone marker goes on the spelled vowel that is not a (near-)semi-vowel. The exception is that, for triphthongs that are spelled with only two vowel letters, both of which are the semi-vowels, the tone marker goes on the second spelled vowel.

Specifically, if the spelling of a diphthong begins with i (as in ia) or u (as in ua), which serves as a near-semi-vowel, this letter does not take the tone marker. Likewise, if the spelling of a diphthong ends with o or u representing a near-semi-vowel (as in ao or ou), this letter does not receive a tone marker. In a triphthong spelled with three of a, e, i, o, and u (with i or u replaced by y or w at the start of a syllable), the first and third letters coincide with near-semi-vowels and hence do not receive the tone marker (as in iao or uai or iou). But if no letter is written to represent a triphthong's middle (non-semi-vowel) sound (as in ui or iu), then the tone marker goes on the final (second) vowel letter.

In addition to tone number and mark, tone color has been suggested as a visual aid for learning. Although there are no formal standards, there are a number of different color schemes in use.

In spoken Chinese, the third tone is often pronounced as a "half third tone", in which the pitch does not rise. Additionally, when two third tones appear consecutively, such as in 你好 (nǐhǎo, hello), the first syllable is pronounced with the second tone — this is called tone sandhi. In pinyin, words like "hello" are still written with two third tones (nǐhǎo).

Pinyin differs from other romanizations in several aspects, such as the following:

Most of the above are used to avoid ambiguity when words of more than one syllable are written in pinyin. For example, uenian is written as wenyan because it is not clear which syllables make up uenian; uen-ian, uen-i-an, u-en-i-an, u-e-nian, and u-e-ni-an are all possible combinations, but wenyan is unambiguous since we, nya, etc. do not exist in pinyin. See the pinyin table article for a summary of possible pinyin syllables (not including tones).

Although Chinese characters represent single syllables, Mandarin Chinese is a polysyllabic language. Spacing in pinyin is usually based on words, and not on single syllables. However, there are often ambiguities in partitioning a word. The Basic Rules of the Chinese Phonetic Alphabet Orthography (汉语拼音正词法基本规则; 漢語拼音正詞法基本規則; Hànyǔ Pīnyīn Zhèngcífǎ Jīběn Guīzé) were put into effect in 1988 by the National Educational Commission (国家教育委员会; 國家教育委員會; Guójiā Jiàoyù Wěiyuánhuì) and the National Language Commission (国家语言文字工作委员会; 國家語言文字工作委員會; Guójiā Yǔyán Wénzì Gōngzuò Wěiyuánhuì).[40] These rules became a Guóbiāo recommendation in 1996[40][41] and were updated in 2012.[42]

Pinyin is now used by foreign students learning Chinese as a second language, as well as Bopomofo.

Pinyin assigns some Latin letters sound values which are quite different from that of most languages. This has drawn some criticism as it may lead to confusion when uninformed speakers apply either native or English assumed pronunciations to words. However, this problem is not limited only to pinyin, since many languages that use the Latin alphabet natively also assign different values to the same letters. A recent study on Chinese writing and literacy concluded, "By and large, pinyin represents the Chinese sounds better than the Wade–Giles system, and does so with fewer extra marks."[46]

Because Pinyin is purely a representation of the sounds of Mandarin, it completely lacks the semantic cues and contexts inherent in Chinese characters. Pinyin is also unsuitable for transcribing some Chinese spoken languages other than Mandarin, languages which by contrast have traditionally been written with Han characters allowing for written communication which, by its unified semanto-phonetic orthography, could theoretically be readable in any of the various vernaculars of Chinese where a phonetic script would have only localized utility.

Based on ISO 7098:2015, Information and Documentation: Chinese Romanization (Chinese: 《信息与文献——中文罗马字母拼写法》), tonal marks for pinyin should use the symbols from Combining Diacritical Marks, as opposed by the use of Spacing Modifier Letters in Bopomofo. Letters with combined tone marks are included in GB/T 2312 and the supersets, GBK and GB 18030, and thus Unicode includes all the common accented characters from pinyin.[47]

Due to The Basic Rules of the Chinese Phonetic Alphabet Orthography, all accented letters are required to have both uppercase and lowercase character as per their normal counterparts.

GBK has mapped two characters ‘ḿ’ and ‘ǹ’ to Private Use Areas in Unicode as U+E7C7 () and U+E7C8 () respectively[49], thus some Simplified Chinese fonts (e.g. SimSun) that adheres to GBK include both characters in the Private Use Areas, and some input methods (e.g. Sogou Pinyin) also outputs the Private Use Areas code point instead of the original character. As the superset GB 18030 swapped the mapping of ‘ḿ’ and ‘ǹ’, this has caused issue where the input methods and font files use different encoding standard, and thus the input and output of both characters are mixed up.[47]

Other punctuation mark and symbols in Chinese are to use the equivalent symbol in English noted in to GB/T 15834.

Single storey a in four different Kai script fonts. Notice that accented pinyin letters are different in style and width with the regular letter.

In educational usage, to match the handwritten style, some fonts used a different style for the letter a and g to have an appearance of single-storey a and single-storey g. Fonts that follow GB/T 2312 usually make single-storey a in the accented pinyin characters but leaving unaccented double-storey a, causing a discrepancy in the font itself.[47] Unicode did not provide an official way to encode single-storey a and single-storey g, but as IPA require the differentiation of single-storey and double-storey a and g, thus the single-storey character ɑ/ɡ in IPA should be used if the need to separate single-storey a and g arises. For daily usage there is no need to differentiate single-storey and double-storey a/g.

A school slogan asking elementary students to speak Standard Chinese is annotated with pinyin, but without tonal marks.

Pinyin superseded older romanization systems such as Wade–Giles (1859; modified 1892) and postal romanization, and replaced zhuyin as the method of Chinese phonetic instruction in mainland China. The ISO adopted pinyin as the standard romanization for modern Chinese in 1982 (ISO 7098:1982, superseded by ISO 7098:2015). The United Nations followed suit in 1986.[1][50] It has also been accepted by the government of Singapore, the United States's Library of Congress, the American Library Association, and many other international institutions.[51][failed verification]

The spelling of Chinese geographical or personal names in pinyin has become the most common way to transcribe them in English. Pinyin has also become the dominant method for entering Chinese text into computers in Mainland China, in contrast to Taiwan; where Bopomofo is most commonly used.

Families outside of Taiwan who speak Mandarin as a mother tongue use pinyin to help children associate characters with spoken words which they already know. Chinese families outside of Taiwan who speak some other language as their mother tongue use the system to teach children Mandarin pronunciation when they learn vocabulary in elementary school.[52][53]

Since 1958, pinyin has been actively used in adult education as well, making it easier for formerly illiterate people to continue with self-study after a short period of pinyin literacy instruction.[54]

Pinyin has become a tool for many foreigners to learn Mandarin pronunciation, and is used to explain both the grammar and spoken Mandarin coupled with Chinese characters (汉字; 漢字; Hànzì). Books containing both Chinese characters and pinyin are often used by foreign learners of Chinese. Pinyin's role in teaching pronunciation to foreigners and children is similar in some respects to furigana-based books (with hiragana letters written above or next to kanji, directly analogous to zhuyin) in Japanese or fully vocalised texts in Arabic ("vocalised Arabic").

The tone-marking diacritics are commonly omitted in popular news stories and even in scholarly works. This results in some degree of ambiguity as to which words are being represented.

Simple computer systems, able to display only 7-bit ASCII text (essentially the 26 Latin letters, 10 digits, and punctuation marks), long provided a convincing argument for using unaccented pinyin instead of Chinese characters. Today, however, most computer systems are able to display characters from Chinese and many other writing systems as well, and have them entered with a Latin keyboard using an input method editor. Alternatively, some PDAs, tablet computers, and digitizing tablets allow users to input characters graphically by writing with a stylus, with concurrent online handwriting recognition.

Pinyin with accents can be entered with the use of special keyboard layouts or various character map utilities. X keyboard extension includes a "Hanyu Pinyin (altgr)" layout for AltGr-triggered dead key input of accented characters.[55]

Taiwan (Republic of China) adopted Tongyong Pinyin, a modification of Hanyu Pinyin, as the official romanization system on the national level between October 2002 and January 2009, when it decided to promote Hanyu Pinyin. Tongyong Pinyin ("common phonetic"), a romanization system developed in Taiwan, was designed to romanize languages and dialects spoken on the island in addition to Mandarin Chinese. The Kuomintang (KMT) party resisted its adoption, preferring the Hanyu Pinyin system used in mainland China and in general use internationally. Romanization preferences quickly became associated with issues of national identity. Preferences split along party lines: the KMT and its affiliated parties in the pan-blue coalition supported the use of Hanyu Pinyin while the Democratic Progressive Party and its affiliated parties in the pan-green coalition favored the use of Tongyong Pinyin.

Tongyong Pinyin was made the official system in an administrative order that allowed its adoption by local governments to be voluntary. Locales in Kaohsiung, Tainan and other areas use romanizations derived from Tongyong Pinyin for some district and street names. A few localities with governments controlled by the KMT, most notably Taipei, Hsinchu, and Kinmen County, overrode the order and converted to Hanyu Pinyin before the January 1, 2009 national-level decision,[4][5] though with a slightly different capitalization convention than mainland China. Most areas of Taiwan adopted Tongyong Pinyin, consistent with the national policy. Today, many street signs in Taiwan are using Tongyong Pinyin-derived romanizations,[56][57] but some, especially in northern Taiwan, display Hanyu Pinyin-derived romanizations. It is not unusual to see spellings on street signs and buildings derived from the older Wade–Giles, MPS2 and other systems.

Attempts to make pinyin standard in Taiwan have had uneven success, with most place and proper names remaining unaffected, including all major cities. Personal names on Taiwanese passports honor the choices of Taiwanese citizens, who can choose Wade-Giles, Hakka, Hoklo, Tongyong, aboriginal, or pinyin. [58] Official pinyin use is controversial, as when pinyin use for a metro line in 2017 provoked protests, despite government responses that “The romanization used on road signs and at transportation stations is intended for foreigners... Every foreigner learning Mandarin learns Hanyu pinyin, because it is the international standard...The decision has nothing to do with the nation’s self-determination or any ideologies, because the key point is to ensure that foreigners can read signs.” [59]

Pinyin-like systems have been devised for other variants of Chinese. Guangdong Romanization is a set of romanizations devised by the government of Guangdong province for Cantonese, Teochew, Hakka (Moiyen dialect), and Hainanese. All of these are designed to use Latin letters in a similar way to pinyin.

In addition, in accordance to the (少数民族语地名汉语拼音字母音译转写法; 少數民族語地名漢語拼音字母音譯寫法) promulgated in 1976, place names in non-Han languages like Mongolian, Uyghur, and Tibetan are also officially transcribed using pinyin in a system adopted by the State Administration of Surveying and Mapping and Geographical Names Committee known as SASM/GNC romanization. The pinyin letters (26 Roman letters, plus ü and ê) are used to approximate the non-Han language in question as closely as possible. This results in spellings that are different from both the customary spelling of the place name, and the pinyin spelling of the name in Chinese:

Regulation of Phonetic Transcription in Hanyu Pinyin Letters of Place Names in Minority Nationality Languages

Tongyong Pinyin was developed in Taiwan for use in rendering not only Mandarin Chinese, but other languages and dialects spoken on the island such as Taiwanese, Hakka, and aboriginal languages.