Free code playground
HTML, CSS & JavaScript playground
Build a web page and see it change as you type. Your JavaScript runs when you press Run, with a console underneath.
Free, no sign-up, nothing to install. Your code runs in your browser and stays on your device.
A free code editor for computing students
Made by computing teachers for GCSE and A Level, and for anyone learning to code. Write a program, run it, change it and run it again, all in one place.
Python
input() and print(), loops, lists and functions, random numbers, turtle drawings and tkinter windows. Examples from times tables to a Caesar cipher.
SQL
Ready-made school, shop and cinema databases to query, with every table and field shown, or an empty one for your own tables. Real SQLite.
HTML, CSS & JavaScript
Three files side by side, a live preview that changes as you type, and a console for your JavaScript's messages and errors.
Questions
Is it free?
Yes. The playground is free for anyone to use, with no account and no adverts.
Where does my code go?
Nowhere: it runs in your browser, on your own device, and is never sent to Learn Computing. It is kept in this browser so it is still there next time, and you can share it with a link.
Does it work on Chromebooks and iPads?
Yes. It works in any up-to-date browser, including on school Chromebooks, iPads and laptops, with nothing to install.
Which Python is it?
Python 3, running in the browser. The core language, input(), random, math, time, turtle and tkinter all work. Libraries that need installing, such as pandas, are not available here.
Which SQL is it?
SQLite, the database used in most GCSE and A Level teaching. Each run starts from a fresh copy of the database you choose, so you can try INSERT, UPDATE and DELETE without breaking anything.
Can teachers set coding tasks with tests?
Yes, in Learn Computing lessons: code tasks in Python, SQL and web pages, with tests that check students' code, AI feedback, and every student's code live on the teacher's screen. There is a free trial lesson on every course.
For teachers
Set coding tasks that mark themselves
In Learn Computing lessons, code tasks in Python, SQL and web pages come with tests that check students' code, instant AI feedback, and every student's code live on your screen as they type.