App Icon
Syntax highlighting for Google Docs
Listing updated:February 26, 2022
Works with:
5,778,067
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
Dylan Ainsworth
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
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
Akshay Kumar
October 9, 2022
c sharp language in not present plzzz add this also, I will change it and give you 5 star then.. plsss
Is this review helpful?
Yes
No
Profile Picture
Duckki Oe
November 28, 2022
Not what I expected. This extension formats a selection of text so that it looks like code. It doesn't create a real code block that you can type like code and edit (like Markdown codeblock, etc.). As I edit, my code gets auto-corrected and tab key will jump out of the codeblock. I don't think it's any better than writing a code in an IDE and then copying/pasting it (with formatting preserved).
Is this review helpful?
Yes
No
Profile Picture
Tsumiki Miniwa
February 2, 2022
Does what it says on the tin. Works for C, C++, C#, Python, Java, etc. etc. etc. The only thing it's missing is Assembly. Somehow the "auto" setting sets up assembly (mostly) correctly, but I can't find an "asm" or "masm" setting.
Is this review helpful?
Yes
No
Profile Picture
Adam Thompson
November 15, 2022
Great for writing technical documents. Would love to see JSX/TSX support in the future!
Is this review helpful?
Yes
No
Profile Picture
Matt Hoey
October 7, 2022
I wrote some test bash/shell and it is capitalizing the first letter of my line of code. Also it seems to get rid of empty lines?
Is this review helpful?
Yes
No
Profile Picture
Cristopher Carcano
October 19, 2022
didnt use it yet but i love the way its described in the pics, pls give me fancy life using only google related stuff
Is this review helpful?
Yes
No
Profile Picture
Albert Vernon
August 25, 2022
Very helpful for when I include code snippets in specifications and blog articles.
Is this review helpful?
Yes
No
1-10 of 295
Search
Clear search
Close search
Google apps
Main menu