Google Code Prettify tracking and usage
Websites using Google Code Prettify over time
769,517websites on 11 Nov 2026
Download report
We track 769,517 websites using Google Code Prettify, along with their country, traffic, industry and platforms. There are 35,274 websites using Google Code Prettify in United States.
About Google Code Prettify
Google Code Prettify is a lightweight script that syntax-highlights source code snippets on web pages, supporting languages like Java, Python, HTML, and SQL.
Websites using Google Code Prettify by countrymarket share
4.6%
🇺🇸US5.6%
🇩🇪DE5.1%
🇷🇺RU4.1%
🇯🇵JP3.1%
🇮🇹IT3.1%
🇬🇧GB2.8%
🇫🇷FR2.5%
🇵🇱PLWebsites using Google Code Prettify by industrymarket share · top 6 industries
Shopping
Technology & Computing
Construction
Education
Medical & Healthcare
Real Estate
0%6.3%13%19%25%
Frequently asked
What is Google Code Prettify?›
Google Code Prettify is a Javascript library that helps to style and format code snippets, making them more readable and visually appealing in web pages. It automatically detects various programming languages and applies appropriate styling, such as syntax highlighting, to make the code look better and easier to understand.
Which programming languages are supported by Google Code Prettify?›
Google Code Prettify supports a wide range of programming languages, including but not limited to C, C++, C#, Java, JavaScript, Python, Ruby, PHP, SQL, HTML, and XML. The full list of supported languages can be found in the project's documentation.
How do I include Google Code Prettify in a web page?›
To include Google Code Prettify in a web page, you need to add a reference to the Prettify.js script file and the Prettify.css stylesheet file in the header section of the HTML file. You can either download and host the files on your server or use the hosted versions provided by Google.
How do I apply Prettify to a code block in a web page?›
Google Code Prettify can be applied to code blocks by adding the appropriate class to your code elements. The library will automatically apply syntax highlighting to make your code more readable.
Can I customize the appearance of the code snippets styled by Google Code Prettify?›
Yes, you can customize the appearance of the code snippets by modifying the Prettify.css stylesheet file to suit your preferences. You can change the colors of various elements, such as keywords, strings, and comments, and adjust font sizes, line spacing, and other style properties to fit your website's design.