{"id":93622,"date":"2026-08-20T11:31:34","date_gmt":"2026-08-20T10:31:34","guid":{"rendered":"https:\/\/www.raspberrypi.org\/?p=93622"},"modified":"2026-08-20T11:31:35","modified_gmt":"2026-08-20T10:31:35","slug":"offline-support-in-the-code-editor","status":"publish","type":"post","link":"https:\/\/www.raspberrypi.org\/blog\/offline-support-in-the-code-editor\/","title":{"rendered":"Keep coding when your internet drops: Offline support in the Code Editor"},"content":{"rendered":"\n

Our free, browser-based Code Editor<\/a> now keeps working when your internet connection doesn’t. If your connection breaks in the middle of a lesson or a project, you can carry on writing and running your code without disruption, even if the page is reloaded.<\/p>\n\n\n

\n
\"Learners<\/figure>\n<\/div>\n\n\n

Why we built this<\/h2>\n\n\n\n

An unstable internet connection is a minor annoyance when you’re reading a web page, but it’s a much bigger problem when you’re 20 minutes into creating a program.<\/p>\n\n\n\n

Until now, losing your connection while using the Code Editor could mean losing your work: if you refreshed the page at the wrong moment, you might have seen a blank screen or a browser error instead of your program.<\/p>\n\n\n

\n
\"A
Better offline support means the Code Editor can be more useful for learning and teaching.<\/figcaption><\/figure>\n<\/div>\n\n\n

When we wanted to understand better what learners and educators around the world need from the Code Editor, we carried out research in countries including India<\/a>, Kenya<\/a>, and South Africa<\/a>. One topic we explored was the availability and reliability of internet connections in metropolitan and rural areas. While it was no surprise that internet access is often slow, unreliable, or expensive in rural areas, we learned that issues related to electricity supply, such as load-shedding and brownouts, are also prevalent in metropolitan areas. All this shapes what is realistically possible in a programming activity using an online editor.<\/p>\n\n\n\n

And connectivity issues can occur in any school computing lab where 30 learners are all accessing the same WiFi at once, or for a Code Club running off a mobile hotspot in a community centre, or for someone finishing their homework on patchy mobile data.<\/p>\n\n\n\n

That’s why it became a priority for us to improve the Code Editor’s offline support by making it resilient to disconnection.<\/p>\n\n\n\n

As we describe in our recently shared draft principles for safe and responsible education technology<\/a>, one of our commitments is to design for diverse needs, abilities, and contexts \u2014 including not to assume constant internet connectivity. This Code Editor update is a small, practical piece of that commitment.<\/p>\n\n\n\n

What this means for learners and teachers<\/h2>\n\n\n\n

The Code Editor was built with resilience in mind from the start, for example running code in your browser rather than on a server, and saving your project locally on your device as you go.<\/p>\n\n\n\n

Our recent additions ensure that once you’ve opened the Code Editor while online, your browser holds on to even more of the parts you need to keep coding without a connection. Now if you go offline midway through using the Editor:<\/p>\n\n\n\n