Popularity of text encodings
From Wikipedia, the free encyclopedia
A number of text encodings have historically been used for storing text on the World Wide Web, though by now UTF-8 is dominant, with all languages at 95% use or higher by some estimates. The same encodings are used in local files (or databases), in fact many more, at least historically. Measuring the prevalence of each are not possible, because of privacy reasons (e.g. for local files, not web accessible), but rather accurate estimates are available for public web sites, and statistics may (or may not accurately) reflect use in local files. Attempts at measuring encoding popularity may utilize counts of numbers of (web) documents, or counts weighed by actual use or visibility of those documents.
The decision to use any one encoding may depend on the language used for the documents, or the locale that is the source of the document, or the purpose of the document. Text may be ambiguous as to what encoding it is in, for instance pure ASCII text is valid ASCII or ISO-8859-1 or CP1252 or UTF-8. Tags may indicate a document encoding, but when this is incorrect this may be silently corrected by display software (for instance the HTML specification says that the tag for ISO-8859-1 should be treated as CP1252), so counts of tags may not be accurate.


UTF-8 has been the most common encoding for the World Wide Web since 2008.[2] As of April 2026[update], UTF-8 is used by 90.7% of static web pages[3] and Windows-1252 is effectively used by the rest or about 9.3% (this contrast a lot with only 0.3% declaring to use Windows-1252, for all pages, i.e. dynamic pages, that or way more numerous, and may include static sub-pages).
For all web pages, i.e. dynamic pages (what will be used for following stats), 98.9% of surveyed web sites use UTF-8 (and 99.9% of top 1,000 pages), the next-most popular encoding, ISO-8859-1, is used by 1.0% (and only 8 of the top 1,000 pages).[4] Although many pages only use ASCII characters to display content, very few websites now declare their encoding to only be ASCII instead of UTF-8.[5]
All countries (and over 97% all of the tracked languages) have at least 96% use of the UTF-8 encoding on the web. See below for the major alternative encodings:
The second-most popular encoding varies depending on locale, and is typically more efficient for the associated language. One such encoding is the Chinese GB 18030 standard, which is a full Unicode Transformation Format, still 96.5% of websites in China and territories use UTF-8[6][7][8] with it (effectively[9]) the next popular encoding. Big5 is another popular non-UTF encoding meant for traditional Chinese characters (though GB 18030 works for those too, is a full UTF), and is next-most popular in Taiwan after UTF-8 at 97.3%,[10] and it's also second-most used in Hong Kong, while there as elsewhere, UTF-8 is even more dominant at 98.5%.[11] The single-byte Windows-1251 is twice as efficient for the Cyrillic script and still 97.1% of Russian websites use UTF-8[12] (however e.g. Greek and Hebrew encodings are also twice as efficient, and UTF-8 has over 99% use for those languages).[13][14] Korean, Chinese and Japanese language websites also have relatively high non-UTF-8 use compared to most other countries, with Japanese UTF-8 use at 99.1% the rest use the legacy EUC-JP and/or Shift JIS (actually decoded as its superset Windows-31J) encodings that both are used about as much.[15][16] South Korea has 96.3% UTF-8 use, with the rest of websites mainly using EUC-KR which is more efficient for Korean text.