Pencil Code

A useful intro to block-based coding for motivated learners

Learning rating

Community rating

Based on 5 reviews

Privacy rating

Not yet rated
Expert evaluation by Common Sense



Great for

Coding, Creating Media

Price: Free
Platforms: Web

Pros: Easy to jump in and start tinkering. Blends code and art. Good supporting resources and templates.

Cons: Not as structured as competitors. Debugging can be tough. Small community of users.

Bottom Line: Teachers will need to do some scaffolding and act as tech support, but if that works for you, this can be a good beginner coding sandbox.

How Can I Teach with This Tool?

Pencil Code is a block-based coding platform where students join different coding blocks together in a sequence, tweak variables of the blocks, and then run them to do things on the screen. Code can do things like display text, move a character, or draw objects. With Pencil Code's tools and supporting resources, teachers can introduce concepts like functions, loops, conditionals, and arrays. To get started, teachers will want to do some work up front, getting familiar with the tools and curating the most important resources for students. Teachers will also need to do some instruction; there's no onboarding or scaffolding. However, there's a Teacher's Manual with lessons and sample projects that can be adapted. If you want to do something more comprehensive, this would be a good option. Note that Pencil Code recommends the lessons in the manual for ninth grade and up.

Teachers could also use the site more ad hoc. Once students get the hang of the site and the basic uses of the blocks, teachers could create lessons or assignments that challenge students to use concepts and blocks to accomplish things. For instance, teachers could challenge students to use two conditionals and one function in a project that has a sprite make a geometric pattern. One issue though: There's no assignment system built into the tool, so these lessons and assignments will need to live outside Pencil Code. With accounts, students can create links to their projects for assessment. Students can also use a built-in screenshot feature to share work.

Teachers could also have students use existing shared projects for remixing, first making small changes and then moving on to use them as the basis for something more complex. Students might analyze a project's code to make predictions about the program's function before running it. 

Though most students would want to start with block-based coding, Pencil Code makes it easy to toggle between blocks and text. This can be a good extension opportunity to help demystify text-based coding. Students could use this text-based code as a foundation for projects outside of Pencil Code. Since every Pencil Code project is also a web project -- i.e., the right panel where programs run is a webpage -- this is especially well-suited to students interested in web development.

Learning Rating

Overall Rating

Sample projects can help ease students in. Lacks the vibrant communities of competitors. The site's design is spare and a little frustrating.


This is a tool that's all about learning through experimentation, remixing, and creation. The focus on using code for storytelling and music fuses subject areas.


There's a range of downloadable and online materials for reference. Sample remixable projects offer great starters. No onboarding, and help with coding issues is limited.

Common Sense reviewer
James Denby
James Denby Educator/Curriculum Developer

Community Rating

Beginner-Friendly Coding Platform for Creative Exploration

Pencil Code is a beginner-friendly coding platform that allows students to explore code and art. It offers flexibility for students to start with block-based coding and transition to text-based coding. However, it lacks the structure and scaffolding found in competitor platforms, which may require additional effort from teachers. Debugging can be challenging, and the small user community limits opportunities for collaboration and learning from others.

Continue reading

Privacy Rating

This tool has not yet been rated by our privacy team. Learn more about our privacy ratings