Help & Support
Send Feedback
Code Blocks
Syntax highlighting for Google Docs
Alex Forsythe
413,264 users
Works with
Install
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 automatic language formatting. To get these features, you will need to use a separate editor.
Reviews
A User of Code Blocks
June 25, 2019
exactly what i wanted
Submit reply
Cancel
A User of Code Blocks
June 24, 2019
Simply do not work for me, not sure why.
Submit reply
Cancel
Yiu Yu Ho
June 21, 2019
Decent, but needs improvement. One critical feature is not to wipe out hyperlinks in existing text.
Submit reply
Cancel
A User of Code Blocks
June 13, 2019
It is a good insert to notes code in google documents and including many programming language.
Submit reply
Cancel
A User of Code Blocks
June 6, 2019
Very cool how the code blocks scroll horizontally on the android google docs app! Thanks Alex for the most excellent utility!
Submit reply
Cancel
A User of Code Blocks
May 29, 2019
This is perfect for me. I'm learning code on my own time, and I use google docs to take notes. This program is super easy to use and makes code look exactly like examples shown in my lessons. The only drawbacks are, if you have two windows split on your computer (typing notes on the write and taking a lesson on your left, like I do) the code blocks tab takes up a good majority of the screen. Not enough to make taking notes unbearable, but a good chunk. Secondly, to format the text takes a few seconds, so sometimes your not sure if the command went through. But that's barely noticeable after a while. Overall, pretty good app.
Submit reply
Cancel
A User of Code Blocks
May 23, 2019
great tool , works really well with many of the languages
Submit reply
Cancel
A User of Code Blocks
May 17, 2019
Exactly what I was looking for, it even works when exported as HTML
Submit reply
Cancel
A User of Code Blocks
May 11, 2019
Very helpful, thanks
Submit reply
Cancel
A User of Code Blocks
April 17, 2019
Super helpful!
Submit reply
Cancel
1-10 of 14
Additional information
Search
Clear search
Close search
Google apps
Main menu