Syntax highlighting for Google Docs
Listing updated:February 26, 2022
Works with:
5M+
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
Brian Janiszewski
September 19, 2024
The color themes are absolutely bonkers to me. I would have preferred to have it themed based on an IDE that I use. For example, IDLE or Sublime Text color schemes. Other than that, to everyone one complaining about the app. Ya'll programmers too. Make a better mouse trap
Is this review helpful?
Yes
No
Profile Picture
Andreas Chatzopoulos
August 30, 2024
Works with single-cell tables which haves the effect that Python indentation doesn't work. All pasted code becomes left-aligned, and you cannot use tab to indent. This makes Code Blocks essentially unusuable.
Is this review helpful?
Yes
No
Profile Picture
Rohan Ledger
January 8, 2025
You have to use four spaces instead of tabs like a psychopath, otherwise seems good
Is this review helpful?
Yes
No
Profile Picture
Paul Raes
August 11, 2024
Doesn't work the start option is not available in the extions menu. Only help is showing
Is this review helpful?
Yes
No
Profile Picture
Vardan Hakobyan
July 19, 2024
Does its job great! Just one feature that I would like to suggest (if that's technically possible) is the "preview", so you don't have to click "Format" every time you play with themes. The rest is awesome, thanks for the extension!
Is this review helpful?
Yes
No
Profile Picture
Andrew Gary
December 27, 2024
Should be installed by default, this is great!
Is this review helpful?
Yes
No
Profile Picture
Khatami Onik
November 12, 2024
Awesome
Is this review helpful?
Yes
No
Profile Picture
Veronika Tsykunova
October 28, 2024
Great does what I need so many themes wish there was the ability to add a custom/upload
Is this review helpful?
Yes
No
Profile Picture
Asrar Mir
August 5, 2024
Great! Thanks for making it free!! A Small Suggestion would be to automatically preview the code by default when opening it instead of clicking preview everytime when the extension is called.
Is this review helpful?
Yes
No
Profile Picture
DZ Liergaard
July 18, 2024
Works well, but one feature request: a hotkey I could hit to just format the text I have highlighted with the current language selection.
Is this review helpful?
Yes
No
1-10 of 178
Search
Clear search
Close search
Google apps
Main menu