Try Blockly

The Blockly library adds a customizable editor to your app that presents coding concepts as interlocking blocks. It produces clean code in your desired language and allows for custom blocks tailored to your application.

Blockly for Web

Blockly is 100% client side, with no server side dependencies, and compatible with all major browsers: Chrome, Firefox, Safari, Opera, and Edge.

Why Blockly

Blockly is the preferred choice for platforms aiming to deliver versatile and intuitive programming experiences

Developer Resources

Everyone’s invited

Block-based coding is for all programmers, of any field or level. Explore the latest from Blockly and connect with other developers at our Blockly Summits.

Proven and reliable

100+

partners

94+

translations

Trusted by developers

Blockly is the engine behind some of the largest and most loved block-based coding products.

  • Teach with Blockly

    Code a hero with Scratch for CS First

  • Use the force of coding

    Build your own Star Wars game with Blockly and Code.org

  • Create a world

    Imagine a world and make it come to life with Scratch

Sign up for Blockly announcements

Your information will be used in accordance with Google’s Privacy Policy.

FAQ

How can I get started with Blockly?

If you are a software developer who wants to get started with Blockly, you should begin by reading our Get Started Docs and then try our Get Started Codelab.

If you are a teacher or student interested in block-based coding, you should check out a lesson through an educational product built on Blockly, such as CS First, Code.org, or Scratch.

Who is Blockly for?

The Blockly library is for software developers that want to add an editor to their app that represents coding concepts as interlocking blocks. From a developer's perspective, Blockly is a ready-made UI for creating a block-based language.

If you are not a developer, you most likely will want to engage with Blockly through a product that is built on Blockly, like Scratch or App Inventor. Check out the Blockly partnerships section for examples of other applications that are built on Blockly.

What are some of the benefits of block-based coding?

Block-based coding allows users to apply programming principles without having to worry about syntax or the intimidation of a blinking cursor on the command line, making the learning curve for aspiring programmers easier. By reducing the need to learn syntax, block-based coding allows users to focus entirely on the logic behind conditionals, loops, variables and other core concepts without worrying about unbalanced parenthesis or missing semicolons.