Blockly is a library for visual programming that uses drag-and-drop blocks. It's the engine that powers the most popular coding education programs worldwide.
Join us in-person on June 3-4 at Murray Edwards College in Cambridge, UK and discover the best of 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 is 100% client side, with no server side dependencies, and compatible with all major browsers: Chrome, Firefox, Safari, Opera, and Edge.
Blockly is the preferred choice for platforms aiming to deliver versatile and intuitive coding experiences.
The Blockly library is open-source to all. It offers a comprehensive suite of APIs and tools, empowering coding platforms to provide a customizable environment for their unique requirements.
The Blockly editor uses interlocking, graphical blocks to represent code concepts like variables, logical expressions, loops, and more. It allows users to apply programming principles without worrying about syntax.
Blockly is preferred by coding platforms seeking consistency, flexibility and convenience. Compatible with most browsers, Blockly also works on both web and mobile.
Get started building a block-based visual editor. Create unique tools, applications, and platforms with Blockly.

There are many ways to get started using Blockly. Explore the docs and guides.
Train up and get step-by-step instructions on how to use and customize Blockly for your app and use case.
Add rich functionality to your Blockly instance using plugins, including fields, themes, renderers and more.
Join the conversation in the Blockly community forum to get your questions answered and share ideas.
Blockly provides a really good entry point into computer science, without worrying about things like a missing semicolon, or a for loop that doesn’t have all of the right pieces.
MIT App Inventor would simply not be the success that it has been without Blockly, and the support of the Blockly team! They have been true partners in our success.
Blockly is the engine that powers the most popular coding education programs worldwide.





















See the latest announcements and explore tools that use Blockly.


Google.org supports Blockly to strengthen block-based coding, driving innovation and global access to computational thinking. This support aligns with Google.org's dedication to incubating educational breakthroughs and positioning them for sustainable, global impact.
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 Codelabs.
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, like Experience CS, Code.org, Scratch and others.
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 MIT App Inventor.
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.
Yes. Blockly’s core library is free and open source under the Apache 2.0 license. The Raspberry Pi Foundation is committed to the long-term growth of Blockly’s open code base and developer community.
The Blockly team actively monitors and responds to the Community Forum. If you need to reach the team directly, email support@blockly.com. You can learn more about the team here.