Coding Education

4 min read

What Is Blockly: Visual Block-Based Coding from Google

Published: 10.07.2026·Updated: 10.07.2026
Bayu Nugraha

Bayu Nugraha

Children's Coding Specialist

What Is Blockly: Visual Block-Based Coding from Google

Blockly is an open-source library (a reusable piece of code) from Google for building visual, block-based coding editors, where you build a program by dragging and snapping blocks together like puzzle pieces instead of typing lines of code. Blockly is not an app a child uses directly — it is the "engine" behind many popular tools for learning to code.

How Blockly Works

Each Blockly block represents one command — for example "repeat 10 times" or "if ... then". Blocks only connect when their shapes match, so children can hardly make typing (syntax) mistakes like a forgotten semicolon. As the blocks are assembled, Blockly automatically translates them into text code such as JavaScript or Python in the background. This is a lot like Scratch: both use colorful blocks you drag around. The difference is that Scratch is a finished product for making animations and games, while Blockly is a component developers use to build their own coding editors. For example, a child who stacks the blocks "repeat 4 times → move forward → turn right" to move a robot on screen is really producing the same loop code a programmer would write in Python. Google released Blockly in 2012, and today the technology powers well-known platforms like Code.org and MakeCode used by tens of millions of children worldwide. Because many of these tools are free and web-based, a child can start experimenting with Blockly right in the browser without installing anything.

Why It Matters for Kids

Blockly makes the first step of learning to code child-friendly: kids can focus on logic and sequence instead of tricky typing rules. In the Algonova coding course, children start with block coding and gradually move up to text — just like stepping from blocks to a real programming language. Understanding how blocks work also helps kids grasp ideas like loops and conditions faster when they switch to text coding.

Want your child to try? Join a free coding class and watch them snap their very first block together.