Trinket has closed: free Python platforms for schools (2026)
Trinket shut down on 31 August 2026. Compare free browser-based Python platforms for schools: class accounts, saving, auto-marking, cost and migration.
By Yuness, qualified Computer Science teacher and former Head of KS5 Computer Science · Last reviewed 21 November 2026
Trinket shut down on 31 August 2026, and its own closure notice says old trinkets, courses and accounts cannot be recovered. The Teach Computing Curriculum's programming activities have moved to a new online environment called the STEM IDE, and Craig'n'Dave's Time2Code Python course now runs on GoCodeIt (and Dodona). If you need a replacement for your own lessons, several browser-based Python platforms are free or have a free tier. They differ most on class accounts, saving and automatic marking, so the table below compares them on exactly those points, as of November 2026.
Trinket alternatives at a glance (November 2026)
Platforms are listed alphabetically. Every cell comes from the provider's own pages (for the Trinket community edition, also Trinket's closure notice); where a provider's pages did not say, the cell reads "Not stated". Prices and features change, so check the linked pages before you commit a department.
| Platform | Free for schools? | Accounts / class management | Saves work? | Auto-marking | GCSE / A Level fit |
|---|---|---|---|---|---|
| Code Classroom (Raspberry Pi Foundation) | Yes, free | Yes: classes, assigning work, progress tracking, Google Classroom import | Not stated (teachers can view students' work) | Not stated | Not stated |
| CodeHS | Free teacher plan; Pro and school licences by quote | Yes: teachers can create classes on the free plan | Not stated | Free plan: instant feedback on whether programs run; autograding controls in Pro | Not stated |
| Dodona | Free for teachers; student licences from €2 per student per month (billed annually) | Yes: course and classroom management | Not stated | Yes: automated code testing and feedback | Paid GCSE plan with GCSE-aligned content (price on request) |
| EduBlocks (Anaconda) | Yes, described as a free tool | Yes: assignments, progress tracking and grading | Not stated | Not stated | Not stated |
| GoCodeIt (home of Time2Code) | Time2Code content and self-marking problems free; teacher tools from £75 a year | Paid plans | Not stated | Yes: self-marking problems (free) and auto-marked custom projects (paid) | Not stated |
| Pickcode | Free account; teacher tools $1,000 per teacher per year | Pro only | Unlimited projects on a free account | Not stated | Not stated |
| PythonAnywhere | Basic accounts free | Students nominate a teacher, who can then see their files | Yes: work can be continued from any browser | Not stated | Not stated |
| Shuttle Learning Python platform | Yes, free for schools | Not stated (teachers get a "Summarise" view of common mistakes and where each student got stuck) | Not stated | Yes: every answer marked on submission, with feedback | Covers GCSE, A Level and IB |
| STEM IDE (Teach Computing Curriculum) | Not stated | No personal user accounts at present | No: download your file before closing the page | Not stated | Hosts Teach Computing Curriculum and Isaac Computer Science programming activities |
| Trinket community edition (Strive Math) | Yes, free | Separate accounts from trinket.io | Yes: learners can save and share projects | Not stated | Not stated |
What happened to Trinket?
According to Trinket's closure announcement, the service ran from 2013 to 2026 and shut down on 31 August 2026. Trinkets, courses, assignments and account data are no longer accessible, and the notice is blunt: "We are not able to retrieve content or accounts." Export tools were offered in the months before the shutdown, but they went offline with the service, so downloads are no longer possible.
Two things survive:
- The code. Trinket's software has been released as open source on GitHub (trinket-oss), so an organisation with technical support could run its own copy. Trinket notes that this does not restore anything that was on trinket.io.
- A community-hosted edition. Strive Math runs a free, independently operated version at trinket.strivemath.org. Its launch post describes it as free, with Python, HTML, CSS, JavaScript and p5.js. Trinket's notice makes clear that it is not supported by Trinket, uses separate accounts and did not receive any trinket.io content.
The announcement also links to three independent alternatives it has no affiliation with: Pickcode, Dodona and Kita. Trinket describes Kita as a free, browser-based collaborative platform with built-in assessment and AI, and points to a Kita migration guide. Kita's own pages could not be checked for this post, so it is not in the table; look at it yourself if those features appeal.
What replaced Trinket in the Teach Computing Curriculum?
The National Centre for Computing Education (NCCE) has moved the Teach Computing Curriculum's programming activities to the STEM IDE, an online programming environment. Its Trinket-to-IDE notice says the move also covers programming resources from NCCE CPD courses and Isaac Computer Science.
- No action needed for existing materials. The ncce.io short links in lesson slides and resources now point to the matching STEM IDE files, so you do not need to re-download anything.
- What it does. Students can view, edit, run and test code in the browser with nothing to install.
- What it does not do (yet). The NCCE says it does not currently support personal user accounts, and changes are not kept online once you leave the page. Students need to download their code file before closing the window.
- Problems. If a link is broken or a file will not load, the NCCE asks you to contact them using the details on that page.
In practice, that makes the STEM IDE a good fit for working through the curriculum's own activities in class. For homework, saved portfolios or tracking a class, you will probably want one of the platforms below alongside it.
Time2Code has moved to GoCodeIt
Craig'n'Dave announced in July 2026 that the Time2Code Python course has moved to GoCodeIt and Dodona because Trinket closed. Time2Code itself remains free. The flowcharts and Parsons problems are no longer on the Time2Code website. Craig'n'Dave says many teachers reported that students used them as a first resort rather than trying problems on their own, so they now sit in a Teacher Support Pack.
Their January 2026 post explains the split between free and paid on GoCodeIt:
- Free: Time2Code content on GoCodeIt, and the self-marking programming problems.
- Paid teacher tools: student and class management, configurable support such as Parsons problems and fill-in-the-blanks, a markbook, and custom projects with automatic marking.
GoCodeIt's plans page lists prices in pounds for 12 months: Standard £75 (2 teachers, 200 students), Small School £120 (3 teachers, 500 students), Medium School £170 (4 teachers, 1,000 students) and Large School £210 (6 teachers, 1,500 students). There is also a £2-per-student option for small groups (minimum five students), and a 30-day free trial is available on request. The GoCodeIt homepage lists Python, C#, Visual Basic, JavaScript and HTML/CSS/JS, and describes itself as built "by a teacher for teachers".
The other options in more detail
Code Classroom (Raspberry Pi Foundation)
Code Classroom is the new name for the Code Editor for Education. The Raspberry Pi Foundation's October 2026 post describes it as free, with no subscriptions. Teachers can create classes, assign work and track progress, and import classes from Google Classroom. It has a Python editor, an HTML/CSS editor and a new Scratch-based Blocks editor, which makes it useful for moving KS3 classes from blocks to text. Sign-up is at classroom.raspberrypi.org. One thing to check: the Code Editor's library list includes turtle, p5, NumPy and Matplotlib but not Tkinter or pygame, and in an October 2024 reply on its blog a Foundation team member said Tkinter was not on the short- or medium-term roadmap. Test any GUI work first.
CodeHS
CodeHS's free teacher account includes the web-based curriculum for verified teachers, the code editor, and class creation. Students get instant feedback on whether their programs run. According to its plan comparison, Pro adds autograding controls, AI grading and a customisable gradebook. Pro and school licences are priced by quote. CodeHS presents itself as a platform for K-12 (US) schools, so check how its courses map to your specification.
Dodona
Dodona grew out of research at Ghent University and has been used in schools and universities since 2016. Its Trinket page highlights automated code testing and feedback, support for more than 20 languages including Python, and an offer to help convert Trinket content. The pricing page lists teacher accounts as free, student licences from €2 per student per month billed annually, and a GCSE plan with GCSE-aligned content priced on request. It does not say clearly whether students in a free teacher's course need a licence, so ask Dodona before you plan around it. Time2Code is also hosted there.
EduBlocks
EduBlocks, from Anaconda, is a free drag-and-drop tool. Each block is one line of Python, and the text version updates as students build, which suits Year 7 and 8 classes making the jump to text. Teachers can set assignments, track progress and grade work inside the editor.
Pickcode
Pickcode gives anyone a free account with unlimited Python, Java, C++ and web projects. Teacher tools (rostering, assignments with due dates, live progress, code history and turning off copy-paste) are in Pickcode Pro at $1,000 per teacher per year, which covers all of that teacher's students. Its Trinket transition guide says it supports Python turtle and pygame, with all Python running on Python 3.
PythonAnywhere
PythonAnywhere's education page says basic accounts are free. Once a student nominates you as their teacher, you can see their files and consoles, copy starter files in and view solutions. It is closer to a real hosted Python environment than a classroom tool, which can suit A Level students. The page notes some current limitations for education use, listed on a separate help page.
Shuttle Learning's free Python platform
I built this for my own students first. Students write real Python in the browser with nothing to install. Every answer is marked as soon as it is submitted, with feedback that points to the exact mistake and suggests a next step. A "Summarise" button shows the teacher the most common mistakes and where each student got stuck. It covers GCSE, A Level and IB, it is free for schools, and schools are onboarded one at a time through the form on the schools page.
Also worth knowing: Ada Computer Science
Ada Computer Science is a partnership between the Raspberry Pi Foundation and the University of Cambridge, and it is not an IDE replacement. At its launch in March 2023 it was described as free, with topics mapped to England's GCSE and A Level specifications, automatically marked questions, assignments and a markbook for teachers, and interactive Python tasks. It works well alongside whichever editor you choose.
How to choose a Trinket replacement
The right choice depends less on which editor is "best" and more on what Trinket was actually doing for your department. These questions narrow it down quickly:
- Do you only need to run the curriculum's own activities? If you teach the Teach Computing Curriculum, the STEM IDE already sits behind your existing links. Just build a routine for downloading files, because work is not saved online.
- Do you need free class accounts? Code Classroom offers classes, assignments and progress tracking at no cost, and CodeHS's free plan and EduBlocks both include classes or assignments. If saved work matters most, PythonAnywhere and the Trinket community edition both say work is kept online.
- Is marking time the bottleneck? Look at platforms with automatic marking: GoCodeIt's free self-marking problems, Dodona, CodeHS (fuller autograding in Pro), and the Shuttle Learning platform. If you are weighing this up, our post on teaching Python to Year 9 without marking 30 scripts goes into routines that cut marking load.
- Which libraries do your lessons use? Turtle, pygame and Tkinter support varies. GoCodeIt lists turtle, NumPy, "Tkinter Lite", Matplotlib and pygame; Pickcode lists turtle and pygame; CodeHS's Trinket importer maps turtle, pygame and Tkinter programs; Code Classroom's list includes turtle but not Tkinter or pygame. Test your three most-used programs before you switch.
- Blocks first, or straight to text? For KS3, EduBlocks and Code Classroom's Blocks editor both bridge the gap to Python.
- What is the real cost? Check whether the price is per teacher (Pickcode), per school band (GoCodeIt) or per student (Dodona's student licence), and what happens if the free tier changes.
- Data protection. Every option that holds student accounts needs the usual checks with your data protection lead. Read each provider's privacy terms rather than relying on a summary.
Trinket's closure is a reminder that it helps to keep a local copy of starter code and model solutions, whatever platform you choose. For GCSE students, the programming skills they need are the same whichever editor they use; our GCSE programming guide covers them. For A Level, the guide to using an IDE is a useful reminder of the debugging features students are expected to know.
Migrating your existing Trinket resources
Here is what the providers themselves say, as of November 2026.
If you did not export before 31 August 2026
Trinket says it cannot retrieve content or accounts, and its export tools have gone. You will need to rebuild from slides, worksheets or any local copies. Embedded trinkets in your slides or VLE pages will no longer load, so it is worth searching your schemes of work for "trinket.io" links.
Teach Computing Curriculum and Isaac Computer Science links
These are handled for you. The ncce.io short links now point to the STEM IDE. Report anything broken to the NCCE using the contact details on its Trinket-to-IDE page.
Time2Code links
In January 2026 Craig'n'Dave said each Time2Code project would link to its GoCodeIt page, with the same Try, Investigate, Make and Evaluate stages but a different layout, and that knowledge organiser links and videos would move up to the level page. The course is also available on Dodona.
If you have a downloaded Trinket zip file
- Pickcode: open profile settings, choose the option to upload Trinket files, select your zip and pick which files to import. Because Pickcode runs Python 3, some older code may need changes. (Pickcode's guide)
- GoCodeIt: its homepage lists a Trinket import that converts old projects into CodeITs (short shareable code samples) or assignments.
- Dodona: its Trinket page offers help converting Trinket content, with a contact form.
- CodeHS: its Trinket importer takes a whole-account export or a single-trinket download, shows what is inside and creates programs once you confirm; it says a free account is enough. Python, turtle, pygame and Tkinter programs map to matching Python types, but block-based trinkets, R and exported courses are not converted. Its general migration article also offers help from CodeHS support with moving assignments.
If you want Trinket itself
You can use the free community edition at trinket.strivemath.org with new accounts, or ask your IT team about self-hosting the open-source code. Neither brings back anything stored on trinket.io.
FAQ
When did Trinket close?
Trinket shut down on 31 August 2026, according to its official announcement. The service had run since 2013.
Can I get my old trinkets or student work back?
No. Trinket says it cannot retrieve content or accounts, and the export tools went offline with the service. Only files you downloaded before the shutdown can be imported elsewhere.
What does the Teach Computing Curriculum use instead of Trinket?
The STEM IDE. Existing ncce.io links redirect to it automatically. It has no personal accounts at present, so students should download their code before closing the page.
Is Time2Code still free?
Yes. Craig'n'Dave says Time2Code remains free, and its content and self-marking problems are free on GoCodeIt. GoCodeIt's extra teacher tools are paid, starting at £75 for 12 months on the Standard plan.
Is Replit still an option for schools?
Not in the way it used to be. Replit's update on Teams for Education said that dedicated education product would be removed, and its data deleted, on 1 August 2024. Replit's current general product is not covered in this comparison.
Which free option marks Python work automatically?
Among the options above, GoCodeIt's self-marking problems and the Shuttle Learning platform are free and mark work automatically. CodeHS's free plan tells students whether their programs run. Dodona's automated feedback is free for teachers, but check its student licence terms.
If automatic marking and a quick view of where your class is stuck would help, you are welcome to try the free Shuttle Learning Python platform for your school. It is free, and I onboard schools one at a time. Whichever platform you pick, I hope this saves you some of the research.