Format your code in many beautiful themes and optionally include line numbers.
Works with:
52K+
Overview
Code Blocks for Google Docs is a new and improved version of Code Blocks and helps you format code to stand out from the rest of the text in your document. All languages are supported; including HTML, CSS, JavaScript, Python, Java, C++, Swift, TypeScript, Go Golang, GraphQL, SQL, Ruby, R Programming Language, PHP, Perl, Kotlin, C#, Rust, Scheme, Erlang, Scala, Elixir, Haskell, Ruby, Rust. Advanced features include formatting indentation using Prettier and inserting line numbers (including specifying the starting line number). Insert your favorite code into your Document now!
Additional information
PricingNot available
Developer
Trader status unspecified
Privacy policy
Terms of service
Code Blocks II will ask for the permissions shown below. Learn more
Code Blocks II will need access to your Google account
This will allow Code Blocks II to :
See, edit, create, and delete all your Google Docs documents
Display and run third-party web content in prompts and sidebars inside Google applications
Connect to an external service
See your primary Google Account email address
See your personal info, including any personal info you've made publicly available
Loading
Search
Clear search
Close search
Google apps
Main menu