Syntax highlighting for Google Docs
Listing updated:February 26, 2022
Works with:
6M+
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
Dean Weinert
October 14, 2025
I always wait to use a tool for a a few months before writing a review. I've used this across several platforms/browsers, with big, ugly complex code in page-less mode and it's tackled it like a champ. Plenty of language and customization options, but the default templates are great so I barely needed to spend any time configuring it. An easy 5/5, thanks Alex.
Is this review helpful?
Yes
No
Profile Picture
Jack Bartlett
July 29, 2025
Is incredibly useful, only thing that could be improved, would be an option to automatically add line numbers, as sometimes copied cope doesn't supply this.
Is this review helpful?
Yes
No
Profile Picture
Akintewe Oluwarotimi
September 28, 2025
Great job folks. I really wish I can have some automatic indentation for my code.
Is this review helpful?
Yes
No
Profile Picture
Danelson Rosa
August 4, 2025
Good, needs more language support -- add Ruby please.
Is this review helpful?
Yes
No
Profile Picture
Kowshik Dontu
April 13, 2025
could you please tell me a way to remove the default shortcut of "tab" key form shifting between blocks , its annoying for python coding as indentation is all we have to do with.
Is this review helpful?
Yes
No
Profile Picture
youms
June 8, 2025
As long as one uses the tool in single cell tables, all works pretty well. Documentation is easier to produce now. Good work.
Is this review helpful?
Yes
No
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
Mubeen Qawi
October 2, 2025
I know its free, but it took me atleast 10 mins to figure out, how to use it. No seriously. And I build software for living. Jokes on me!
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
1-10 of 167
Search
Clear search
Close search
Google apps
Main menu