Syntax highlighting for Google Docs
Listing updated:February 26, 2022
Works with:
4M+
Overview
Code Blocks makes it easy to put your code into Google Docs. Simply select some text, click the "Format" button, and it will be formatted with the color theme of your choice.

Features:
• One-click syntax highlighting
• Automatic language detection (or choose it yourself)
• Lots of color themes
• Format code inline or as blocks (1x1 tables)
• Preview changes before updating your document
• More to come...

Enjoy!

NOTE: Code Blocks does not provide real-time syntax highlighting or code formatting. To get these features, you will need to use a separate editor.
Additional information
PricingFree of charge
Developer
Trader status unspecified
Privacy policy
Terms of service
Code Blocks will ask for the permissions shown below. Learn more
Code Blocks will need access to your Google account
This will allow Code Blocks to :
View and manage documents that this application has been installed in
Allow this application to run when you are not present
View and manage data associated with the application
See your primary Google Account email address
See your personal info, including any personal info you've made publicly available
Reviews
Language:
Sort by:
Google doesn't verify reviews or ratings. Learn more about reviews
Profile Picture
Eugene Kardasis
May 24, 2023
With some more work, this could turn Google Docs into a viable code editor, great for collaborating. But right now, its a bit too slow and it can't format multiple pages at once (making the option Ctrl+A, Format unviable).
Is this review helpful?
Yes
No
Profile Picture
Shreya Mishra
December 6, 2023
should have shortcut to launch otherwise very good
Is this review helpful?
Yes
No
Profile Picture
Bishwajeet Biswas
June 1, 2023
1-Din't work after installing 2- If the user has logged-in with multiple gmail accounts, it gives bad request while installing.
Is this review helpful?
Yes
No
Profile Picture
Heather Piper
July 19, 2023
Best solution for formatting code blocks that I've found. Simple to use and works almost seamlessly.
Is this review helpful?
Yes
No
Profile Picture
Dylan - Web Developer
January 20, 2023
The permissions this addon ask for are incredibly terrifying seeing that sharing confidential information in such Docs would breach many a workplace NDA for example. Otherwise.... Functionally its perfect!
Is this review helpful?
Yes
No
Profile Picture
Kerry Staley
August 30, 2023
doesn't preserve indentation and when using the pageless view for docs (which makes editing/viewing internal docs that will never be printed out much nicer), it looks horrible.
Is this review helpful?
Yes
No
Profile Picture
Dhruv Erry
November 29, 2023
Fantastic.
Is this review helpful?
Yes
No
Profile Picture
Kuba S.
January 25, 2023
Doesn't preserve indentation, which is essential. This alone renders this otherwise nice add-on useless.
Is this review helpful?
Yes
No
Profile Picture
Page Russet
November 30, 2022
Would have loved to have used this but because it puts the code into a table I can't paste it into the program I'm using at the other end. Would be great if that was a setting I could turn off.
Is this review helpful?
Yes
No
Profile Picture
Odhy Pradhana
October 9, 2023
This is amazing!
Is this review helpful?
Yes
No
1-10 of 300
Search
Clear search
Close search
Google apps
Main menu