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
Ingo von Gossler
December 14, 2023
Missing quite a bit of work. No proper indentation and doesn't even display JSON format in a readable manner as far as I can tell.
Is this review helpful?
Yes
No
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
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
Kevin Yang
January 24, 2024
No indentation, which was the whole point of getting such an extension.
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
Dhruv Erry
November 29, 2023
Fantastic.
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
Odhy Pradhana
October 9, 2023
This is amazing!
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
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
1-10 of 223
Search
Clear search
Close search
Google apps
Main menu